Index: Dev/trunk/Gruntfile.js
===================================================================
--- Dev/trunk/Gruntfile.js	(revision 504)
+++ Dev/trunk/Gruntfile.js	(revision 505)
@@ -13,4 +13,5 @@
                                   ,'htmlhint:lint'
                                   ,'coffeelint:lint'
+                                  ,'jsonlint:lint'
                                   //,'tv4:lint'
                                   ,'less:compile'
@@ -76,7 +77,10 @@
         jshint: {
             'lint-sources': { options: { jshintrc: srcDir+".jshintrc" },
-                              files: { src: [ srcDir+'client/qed-client/**/*.js', srcDir+'server/**/*.js' ].concat(exclude(dest(coffeeMap))) }},
+                              files: { src: [ srcDir+'client/qed-client/**/*.js', srcDir+'server/**/*.js' ].concat(exclude(dest(coffeeMap))) } },
             'lint-generated': { options: { jshintrc: srcDir+".jshintrc-generated" },
-                                files: { src: dest(coffeeMap) }}
+                                files: { src: dest(coffeeMap) } }
+        },
+        jsonlint: {
+            'lint': { files: { src: [ srcDir+'client/qed-client/**/*.json', srcDir+'server/**/*.json' ] } },
         },
         less: {
@@ -140,4 +144,5 @@
     grunt.loadNpmTasks('grunt-dojo');
     grunt.loadNpmTasks('grunt-htmlhint');
+    grunt.loadNpmTasks('grunt-jsonlint');
     grunt.loadNpmTasks('grunt-tv4');
     grunt.loadTasks('./grunt-tasks');
Index: Dev/trunk/node_modules/grunt-jsonlint/.npmignore
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/.npmignore	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/.npmignore	(revision 505)
@@ -0,0 +1,3 @@
+node_modules/
+npm-debug.log
+*.gz
Index: Dev/trunk/node_modules/grunt-jsonlint/Gruntfile.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/Gruntfile.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/Gruntfile.js	(revision 505)
@@ -0,0 +1,43 @@
+module.exports = function(grunt) {
+
+  // Project configuration.
+  grunt.initConfig({
+    pkg: grunt.file.readJSON('package.json'),
+
+    jshint: {
+      gruntfile: {
+        src: [ 'Gruntfile.js' ]
+      },
+      packageJson: {
+        src: [ 'package.json' ]
+      },
+      tasks: {
+        src: [ 'tasks/*.js' ],
+        options: {
+          eqnull: true,
+          curly: true,
+          newcap: true,
+          unused: true,
+          indent: 2,
+          noempty: true,
+
+          node: true
+        }
+      }
+    },
+
+    jsonlint: {
+      sample: {
+        src: [ 'test/valid.json' ]
+      }
+    }
+  });
+
+  grunt.loadNpmTasks('grunt-contrib-jshint');
+
+  require('./tasks/jsonlint')(grunt);
+
+  // Default task(s).
+  grunt.registerTask('default', [ 'jshint', 'jsonlint' ]);
+
+};
Index: Dev/trunk/node_modules/grunt-jsonlint/LICENSE-MIT
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/LICENSE-MIT	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/LICENSE-MIT	(revision 505)
@@ -0,0 +1,7 @@
+Copyright (C) 2013 Brandon Ramirez
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Index: Dev/trunk/node_modules/grunt-jsonlint/README.md
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/README.md	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/README.md	(revision 505)
@@ -0,0 +1,42 @@
+grunt-jsonlint
+==============
+
+Validate JSON files from grunt.
+
+Requires grunt 0.4
+
+# Install
+
+    npm install grunt-jsonlint --save-dev
+
+# Configure
+
+Add the following (multi-)task to your Gruntfile:
+
+    jsonlint: {
+      sample: {
+        src: [ 'some/valid.json' ]
+      }
+    }
+
+Add the following to load the task into your Gruntfile:
+
+    grunt.loadNpmTasks('grunt-jsonlint');
+
+An error will be thrown if the JSON file contains syntax errors.
+
+# Roadmap
+
+The underlying jsonlint library has many features not yet exposed.
+Each of these would be valuable in grunt.
+
+* Schema validation
+* Sort file by key
+
+# Release History
+
+* 2013-02-20âââv1.0.0âââFirst official release
+* 2013-09-19   v1.0.1   Do not log every validated file
+* 2013-10-31   v1.0.2   Add output of count of successfully linted JSON file for issue
+* 2013-11-16   v1.0.3   Fix output of count of successfully linted JSON files.
+* 2013-11-18   v1.0.4   Updated for latest dependencies.
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/.bin/jsonlint
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/.bin/jsonlint	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/.bin/jsonlint	(revision 505)
@@ -0,0 +1,1 @@
+link ../jsonlint/lib/cli.js
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/.npmignore
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/.npmignore	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/.npmignore	(revision 505)
@@ -0,0 +1,1 @@
+node_modules
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/Makefile
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/Makefile	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/Makefile	(revision 505)
@@ -0,0 +1,17 @@
+
+all: build test site
+
+build:
+	jison src/jsonlint.y src/jsonlint.l
+	mv jsonlint.js lib/jsonlint.js
+	node scripts/bundle.js | uglifyjs > web/jsonlint.js
+
+site:
+	cp web/jsonlint.js ../jsonlint-pages/jsonlint.js
+
+deploy: site
+	cd ../jsonlint-pages && git commit -a -m 'deploy site updates' && git push origin gh-pages
+
+test: lib/jsonlint.js test/all-tests.js
+	node test/all-tests.js
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/README.md
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/README.md	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/README.md	(revision 505)
@@ -0,0 +1,63 @@
+JSON Lint
+=========
+
+A pure [JavaScript version](http://zaach.github.com/jsonlint/) of the service provided at [jsonlint.com](http://jsonlint.com).
+
+## Command line interface
+Install jsonlint with npm to use the command line interface:
+
+    npm install jsonlint -g
+
+Validate a file like so:
+
+    jsonlint myfile.json
+
+or pipe input into stdin:
+
+    cat myfile.json | jsonlint
+
+jsonlint will either report a syntax error with details or pretty print the source if it is valid.
+
+### Options
+
+    $ jsonlint -h
+
+    usage: jsonlint <file> [options]
+
+    file     file to parse; otherwise uses stdin
+
+    options:
+       -v, --version            print version and exit
+       -s, --sort-keys          sort object keys
+       -i, --in-place           overwrite the file
+       -t CHAR, --indent CHAR   character(s) to use for indentation
+       -c, --compact            compact error display
+       -V, --validate           a JSON schema to use for validation
+       -e, --environment        which specification of JSON Schema the validation file uses
+       -q, --quiet              do not print the parsed json to STDOUT
+
+
+## Module interface
+
+I'm not sure why you wouldn't use the built in `JSON.parse` but you can use jsonlint from a CommonJS module:
+
+    var jsonlint = require("jsonlint");
+
+    jsonlint.parse('{"creative?": false}');
+
+It returns the parsed object or throws an `Error`.
+
+## Vim Plugins
+
+* [Syntastic](http://www.vim.org/scripts/script.php?script_id=2736)
+* [sourcebeautify](http://www.vim.org/scripts/script.php?script_id=4079) 
+
+## MIT License
+
+Copyright (C) 2012 Zachary Carter
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/lib/cli.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/lib/cli.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/lib/cli.js	(revision 505)
@@ -0,0 +1,178 @@
+#!/usr/bin/env node
+
+var fs = require("fs");
+var path = require("path");
+var parser = require("./jsonlint").parser;
+var JSV = require("JSV").JSV;
+var formatter = require("./formatter.js").formatter;
+
+var options = require("nomnom")
+  .script("jsonlint")
+  .options({
+    file: {
+      position: 0,
+      help: "file to parse; otherwise uses stdin"
+    },
+    version: {
+      flag : true,
+      string: '-v, --version',
+      help: 'print version and exit',
+      callback: function() {
+        return require("../package").version;
+      }
+    },
+    sort : {
+      flag : true,
+      string: '-s, --sort-keys',
+      help: 'sort object keys'
+    },
+    inplace : {
+      flag : true,
+      string: '-i, --in-place',
+      help: 'overwrite the file'
+    },
+    indent : {
+      string: '-t CHAR, --indent CHAR',
+      "default": "  ",
+      help: 'character(s) to use for indentation'
+    },
+    compact : {
+        flag : true,
+        string: '-c, --compact',
+        help : 'compact error display'
+    },
+    validate : {
+        string: '-V, --validate',
+        help : 'a JSON schema to use for validation'
+    },
+    env : {
+        string: '-e, --environment',
+        "default": "json-schema-draft-03",
+        help: 'which specification of JSON Schema the validation file uses'
+    },
+    quiet: {
+        flag:  true,
+        key: "value",
+        string: '-q, --quiet',
+        "default": false,
+        help: 'do not print the parsed json to STDOUT'
+    },
+    forcePrettyPrint: {
+        flag:  true,
+        string: '-p, --pretty-print',
+        help: 'force pretty printing even if invalid'
+    }
+  }).parse();
+
+if (options.compact) {
+  var fileName = options.file? options.file + ': ' : '';
+  parser.parseError = parser.lexer.parseError = function(str, hash) {
+      console.error(fileName + 'line '+ hash.loc.first_line +', col '+ hash.loc.last_column +', found: \''+ hash.token +'\' - expected: '+ hash.expected.join(', ') +'.');
+      throw new Error(str);
+  };
+}
+
+function parse (source) {
+  var parsed,
+      formatted;
+
+  try {
+    parsed = options.sort ?
+      sortObject(parser.parse(source)) :
+      parser.parse(source);
+
+    if (options.validate) {
+      var env = JSV.createEnvironment(options.env);
+      var schema = JSON.parse(fs.readFileSync(path.normalize(options.validate), "utf8"));
+      var report = env.validate(parsed, schema);
+      if (report.errors.length) {
+        throw report.errors.reduce(schemaError, 'Validation Errors:');
+      }
+    }
+
+    return JSON.stringify(parsed,null,options.indent);
+  } catch (e) {
+    if ( options.forcePrettyPrint ) {
+      /* From https://github.com/umbrae/jsonlintdotcom:
+       * If we failed to validate, run our manual formatter and then re-validate so that we
+       * can get a better line number. On a successful validate, we don't want to run our
+       * manual formatter because the automatic one is faster and probably more reliable.
+       */
+
+      try {
+        formatted = formatter.formatJson(source, options.indent);
+        // Re-parse so exception output gets better line numbers
+        parsed = parser.parse(formatted);
+      } catch (e) {
+        if (! options.compact) {
+          console.error(e);
+        }
+        return formatted;
+        process.exit(1);
+      }
+    } else {
+      if (! options.compact) {
+        console.error(e);
+      }
+
+      process.exit(1);
+    }
+  }
+}
+
+function schemaError (str, err) {
+  return str +
+         "\n\n"+err.message +
+         "\nuri: " + err.uri +
+         "\nschemaUri: " + err.schemaUri +
+         "\nattribute: " + err.attribute +
+         "\ndetails: " + JSON.stringify(err.details);
+}
+
+function main (args) {
+  var source = '';
+  if (options.file) {
+    var json = path.normalize(options.file);
+    source = parse(fs.readFileSync(json, "utf8"));
+    if (options.inplace) {
+      fs.writeSync(fs.openSync(json,'w+'), source, 0, "utf8");
+    } else {
+      if (! options.quiet) { console.log(source)};
+    }
+  } else {
+    var stdin = process.openStdin();
+    stdin.setEncoding('utf8');
+
+    stdin.on('data', function (chunk) {
+      source += chunk.toString('utf8');
+    });
+    stdin.on('end', function () {
+      if (! options.quiet) {console.log(parse(source))};
+    });
+  }
+}
+
+// from http://stackoverflow.com/questions/1359761/sorting-a-json-object-in-javascript
+function sortObject(o) {
+  if (Object.prototype.toString.call(o) !== '[object Object]') {
+    return o;
+  }
+
+  var sorted = {},
+  key, a = [];
+
+  for (key in o) {
+    if (o.hasOwnProperty(key)) {
+      a.push(key);
+    }
+  }
+
+  a.sort();
+
+  for (key = 0; key < a.length; key++) {
+    sorted[a[key]] = sortObject(o[a[key]]);
+  }
+  return sorted;
+}
+
+main(process.argv.slice(1));
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/lib/formatter.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/lib/formatter.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/lib/formatter.js	(revision 505)
@@ -0,0 +1,92 @@
+#!/usr/bin/env node
+
+/**
+ * Manual formatter taken straight from https://github.com/umbrae/jsonlintdotcom
+**/
+
+/*jslint white: true, devel: true, onevar: true, browser: true, undef: true, nomen: true, regexp: true, plusplus: false, bitwise: true, newcap: true, maxerr: 50, indent: 4 */
+
+/**
+ * jsl.format - Provide json reformatting in a character-by-character approach, so that even invalid JSON may be reformatted (to the best of its ability).
+ *
+**/
+var formatter = (function () {
+
+    function repeat(s, count) {
+        return new Array(count + 1).join(s);
+    }
+
+    function formatJson(json, indentChars) {
+        var i           = 0,
+            il          = 0,
+            tab         = (typeof indentChars !== "undefined") ? indentChars : "    ",
+            newJson     = "",
+            indentLevel = 0,
+            inString    = false,
+            currentChar = null;
+
+        for (i = 0, il = json.length; i < il; i += 1) { 
+            currentChar = json.charAt(i);
+
+            switch (currentChar) {
+            case '{': 
+            case '[': 
+                if (!inString) { 
+                    newJson += currentChar + "\n" + repeat(tab, indentLevel + 1);
+                    indentLevel += 1; 
+                } else { 
+                    newJson += currentChar; 
+                }
+                break; 
+            case '}': 
+            case ']': 
+                if (!inString) { 
+                    indentLevel -= 1; 
+                    newJson += "\n" + repeat(tab, indentLevel) + currentChar; 
+                } else { 
+                    newJson += currentChar; 
+                } 
+                break; 
+            case ',': 
+                if (!inString) { 
+                    newJson += ",\n" + repeat(tab, indentLevel); 
+                } else { 
+                    newJson += currentChar; 
+                } 
+                break; 
+            case ':': 
+                if (!inString) { 
+                    newJson += ": "; 
+                } else { 
+                    newJson += currentChar; 
+                } 
+                break; 
+            case ' ':
+            case "\n":
+            case "\t":
+                if (inString) {
+                    newJson += currentChar;
+                }
+                break;
+            case '"': 
+                if (i > 0 && json.charAt(i - 1) !== '\\') {
+                    inString = !inString; 
+                }
+                newJson += currentChar; 
+                break;
+            default: 
+                newJson += currentChar; 
+                break;                    
+            } 
+        } 
+
+        return newJson; 
+    }
+
+    return { "formatJson": formatJson };
+
+}());
+
+if (typeof require !== 'undefined' && typeof exports !== 'undefined') {
+  exports.formatter = formatter;
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/lib/jsonlint.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/lib/jsonlint.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/lib/jsonlint.js	(revision 505)
@@ -0,0 +1,432 @@
+/* Jison generated parser */
+var jsonlint = (function(){
+var parser = {trace: function trace() { },
+yy: {},
+symbols_: {"error":2,"JSONString":3,"STRING":4,"JSONNumber":5,"NUMBER":6,"JSONNullLiteral":7,"NULL":8,"JSONBooleanLiteral":9,"TRUE":10,"FALSE":11,"JSONText":12,"JSONValue":13,"EOF":14,"JSONObject":15,"JSONArray":16,"{":17,"}":18,"JSONMemberList":19,"JSONMember":20,":":21,",":22,"[":23,"]":24,"JSONElementList":25,"$accept":0,"$end":1},
+terminals_: {2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},
+productions_: [0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],
+performAction: function anonymous(yytext,yyleng,yylineno,yy,yystate,$$,_$) {
+
+var $0 = $$.length - 1;
+switch (yystate) {
+case 1: // replace escaped characters with actual character
+          this.$ = yytext.replace(/\\(\\|")/g, "$"+"1")
+                     .replace(/\\n/g,'\n')
+                     .replace(/\\r/g,'\r')
+                     .replace(/\\t/g,'\t')
+                     .replace(/\\v/g,'\v')
+                     .replace(/\\f/g,'\f')
+                     .replace(/\\b/g,'\b');
+        
+break;
+case 2:this.$ = Number(yytext);
+break;
+case 3:this.$ = null;
+break;
+case 4:this.$ = true;
+break;
+case 5:this.$ = false;
+break;
+case 6:return this.$ = $$[$0-1];
+break;
+case 13:this.$ = {};
+break;
+case 14:this.$ = $$[$0-1];
+break;
+case 15:this.$ = [$$[$0-2], $$[$0]];
+break;
+case 16:this.$ = {}; this.$[$$[$0][0]] = $$[$0][1];
+break;
+case 17:this.$ = $$[$0-2]; $$[$0-2][$$[$0][0]] = $$[$0][1];
+break;
+case 18:this.$ = [];
+break;
+case 19:this.$ = $$[$0-1];
+break;
+case 20:this.$ = [$$[$0]];
+break;
+case 21:this.$ = $$[$0-2]; $$[$0-2].push($$[$0]);
+break;
+}
+},
+table: [{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],12:1,13:2,15:7,16:8,17:[1,14],23:[1,15]},{1:[3]},{14:[1,16]},{14:[2,7],18:[2,7],22:[2,7],24:[2,7]},{14:[2,8],18:[2,8],22:[2,8],24:[2,8]},{14:[2,9],18:[2,9],22:[2,9],24:[2,9]},{14:[2,10],18:[2,10],22:[2,10],24:[2,10]},{14:[2,11],18:[2,11],22:[2,11],24:[2,11]},{14:[2,12],18:[2,12],22:[2,12],24:[2,12]},{14:[2,3],18:[2,3],22:[2,3],24:[2,3]},{14:[2,4],18:[2,4],22:[2,4],24:[2,4]},{14:[2,5],18:[2,5],22:[2,5],24:[2,5]},{14:[2,1],18:[2,1],21:[2,1],22:[2,1],24:[2,1]},{14:[2,2],18:[2,2],22:[2,2],24:[2,2]},{3:20,4:[1,12],18:[1,17],19:18,20:19},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:23,15:7,16:8,17:[1,14],23:[1,15],24:[1,21],25:22},{1:[2,6]},{14:[2,13],18:[2,13],22:[2,13],24:[2,13]},{18:[1,24],22:[1,25]},{18:[2,16],22:[2,16]},{21:[1,26]},{14:[2,18],18:[2,18],22:[2,18],24:[2,18]},{22:[1,28],24:[1,27]},{22:[2,20],24:[2,20]},{14:[2,14],18:[2,14],22:[2,14],24:[2,14]},{3:20,4:[1,12],20:29},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:30,15:7,16:8,17:[1,14],23:[1,15]},{14:[2,19],18:[2,19],22:[2,19],24:[2,19]},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:31,15:7,16:8,17:[1,14],23:[1,15]},{18:[2,17],22:[2,17]},{18:[2,15],22:[2,15]},{22:[2,21],24:[2,21]}],
+defaultActions: {16:[2,6]},
+parseError: function parseError(str, hash) {
+    throw new Error(str);
+},
+parse: function parse(input) {
+    var self = this,
+        stack = [0],
+        vstack = [null], // semantic value stack
+        lstack = [], // location stack
+        table = this.table,
+        yytext = '',
+        yylineno = 0,
+        yyleng = 0,
+        recovering = 0,
+        TERROR = 2,
+        EOF = 1;
+
+    //this.reductionCount = this.shiftCount = 0;
+
+    this.lexer.setInput(input);
+    this.lexer.yy = this.yy;
+    this.yy.lexer = this.lexer;
+    if (typeof this.lexer.yylloc == 'undefined')
+        this.lexer.yylloc = {};
+    var yyloc = this.lexer.yylloc;
+    lstack.push(yyloc);
+
+    if (typeof this.yy.parseError === 'function')
+        this.parseError = this.yy.parseError;
+
+    function popStack (n) {
+        stack.length = stack.length - 2*n;
+        vstack.length = vstack.length - n;
+        lstack.length = lstack.length - n;
+    }
+
+    function lex() {
+        var token;
+        token = self.lexer.lex() || 1; // $end = 1
+        // if token isn't its numeric value, convert
+        if (typeof token !== 'number') {
+            token = self.symbols_[token] || token;
+        }
+        return token;
+    }
+
+    var symbol, preErrorSymbol, state, action, a, r, yyval={},p,len,newState, expected;
+    while (true) {
+        // retreive state number from top of stack
+        state = stack[stack.length-1];
+
+        // use default actions if available
+        if (this.defaultActions[state]) {
+            action = this.defaultActions[state];
+        } else {
+            if (symbol == null)
+                symbol = lex();
+            // read action for current state and first input
+            action = table[state] && table[state][symbol];
+        }
+
+        // handle parse error
+        _handle_error:
+        if (typeof action === 'undefined' || !action.length || !action[0]) {
+
+            if (!recovering) {
+                // Report error
+                expected = [];
+                for (p in table[state]) if (this.terminals_[p] && p > 2) {
+                    expected.push("'"+this.terminals_[p]+"'");
+                }
+                var errStr = '';
+                if (this.lexer.showPosition) {
+                    errStr = 'Parse error on line '+(yylineno+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+expected.join(', ') + ", got '" + this.terminals_[symbol]+ "'";
+                } else {
+                    errStr = 'Parse error on line '+(yylineno+1)+": Unexpected " +
+                                  (symbol == 1 /*EOF*/ ? "end of input" :
+                                              ("'"+(this.terminals_[symbol] || symbol)+"'"));
+                }
+                this.parseError(errStr,
+                    {text: this.lexer.match, token: this.terminals_[symbol] || symbol, line: this.lexer.yylineno, loc: yyloc, expected: expected});
+            }
+
+            // just recovered from another error
+            if (recovering == 3) {
+                if (symbol == EOF) {
+                    throw new Error(errStr || 'Parsing halted.');
+                }
+
+                // discard current lookahead and grab another
+                yyleng = this.lexer.yyleng;
+                yytext = this.lexer.yytext;
+                yylineno = this.lexer.yylineno;
+                yyloc = this.lexer.yylloc;
+                symbol = lex();
+            }
+
+            // try to recover from error
+            while (1) {
+                // check for error recovery rule in this state
+                if ((TERROR.toString()) in table[state]) {
+                    break;
+                }
+                if (state == 0) {
+                    throw new Error(errStr || 'Parsing halted.');
+                }
+                popStack(1);
+                state = stack[stack.length-1];
+            }
+
+            preErrorSymbol = symbol; // save the lookahead token
+            symbol = TERROR;         // insert generic error symbol as new lookahead
+            state = stack[stack.length-1];
+            action = table[state] && table[state][TERROR];
+            recovering = 3; // allow 3 real symbols to be shifted before reporting a new error
+        }
+
+        // this shouldn't happen, unless resolve defaults are off
+        if (action[0] instanceof Array && action.length > 1) {
+            throw new Error('Parse Error: multiple actions possible at state: '+state+', token: '+symbol);
+        }
+
+        switch (action[0]) {
+
+            case 1: // shift
+                //this.shiftCount++;
+
+                stack.push(symbol);
+                vstack.push(this.lexer.yytext);
+                lstack.push(this.lexer.yylloc);
+                stack.push(action[1]); // push state
+                symbol = null;
+                if (!preErrorSymbol) { // normal execution/no error
+                    yyleng = this.lexer.yyleng;
+                    yytext = this.lexer.yytext;
+                    yylineno = this.lexer.yylineno;
+                    yyloc = this.lexer.yylloc;
+                    if (recovering > 0)
+                        recovering--;
+                } else { // error just occurred, resume old lookahead f/ before error
+                    symbol = preErrorSymbol;
+                    preErrorSymbol = null;
+                }
+                break;
+
+            case 2: // reduce
+                //this.reductionCount++;
+
+                len = this.productions_[action[1]][1];
+
+                // perform semantic action
+                yyval.$ = vstack[vstack.length-len]; // default to $$ = $1
+                // default location, uses first token for firsts, last for lasts
+                yyval._$ = {
+                    first_line: lstack[lstack.length-(len||1)].first_line,
+                    last_line: lstack[lstack.length-1].last_line,
+                    first_column: lstack[lstack.length-(len||1)].first_column,
+                    last_column: lstack[lstack.length-1].last_column
+                };
+                r = this.performAction.call(yyval, yytext, yyleng, yylineno, this.yy, action[1], vstack, lstack);
+
+                if (typeof r !== 'undefined') {
+                    return r;
+                }
+
+                // pop off stack
+                if (len) {
+                    stack = stack.slice(0,-1*len*2);
+                    vstack = vstack.slice(0, -1*len);
+                    lstack = lstack.slice(0, -1*len);
+                }
+
+                stack.push(this.productions_[action[1]][0]);    // push nonterminal (reduce)
+                vstack.push(yyval.$);
+                lstack.push(yyval._$);
+                // goto new state = table[STATE][NONTERMINAL]
+                newState = table[stack[stack.length-2]][stack[stack.length-1]];
+                stack.push(newState);
+                break;
+
+            case 3: // accept
+                return true;
+        }
+
+    }
+
+    return true;
+}};
+/* Jison generated lexer */
+var lexer = (function(){
+var lexer = ({EOF:1,
+parseError:function parseError(str, hash) {
+        if (this.yy.parseError) {
+            this.yy.parseError(str, hash);
+        } else {
+            throw new Error(str);
+        }
+    },
+setInput:function (input) {
+        this._input = input;
+        this._more = this._less = this.done = false;
+        this.yylineno = this.yyleng = 0;
+        this.yytext = this.matched = this.match = '';
+        this.conditionStack = ['INITIAL'];
+        this.yylloc = {first_line:1,first_column:0,last_line:1,last_column:0};
+        return this;
+    },
+input:function () {
+        var ch = this._input[0];
+        this.yytext+=ch;
+        this.yyleng++;
+        this.match+=ch;
+        this.matched+=ch;
+        var lines = ch.match(/\n/);
+        if (lines) this.yylineno++;
+        this._input = this._input.slice(1);
+        return ch;
+    },
+unput:function (ch) {
+        this._input = ch + this._input;
+        return this;
+    },
+more:function () {
+        this._more = true;
+        return this;
+    },
+less:function (n) {
+        this._input = this.match.slice(n) + this._input;
+    },
+pastInput:function () {
+        var past = this.matched.substr(0, this.matched.length - this.match.length);
+        return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\n/g, "");
+    },
+upcomingInput:function () {
+        var next = this.match;
+        if (next.length < 20) {
+            next += this._input.substr(0, 20-next.length);
+        }
+        return (next.substr(0,20)+(next.length > 20 ? '...':'')).replace(/\n/g, "");
+    },
+showPosition:function () {
+        var pre = this.pastInput();
+        var c = new Array(pre.length + 1).join("-");
+        return pre + this.upcomingInput() + "\n" + c+"^";
+    },
+next:function () {
+        if (this.done) {
+            return this.EOF;
+        }
+        if (!this._input) this.done = true;
+
+        var token,
+            match,
+            tempMatch,
+            index,
+            col,
+            lines;
+        if (!this._more) {
+            this.yytext = '';
+            this.match = '';
+        }
+        var rules = this._currentRules();
+        for (var i=0;i < rules.length; i++) {
+            tempMatch = this._input.match(this.rules[rules[i]]);
+            if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
+                match = tempMatch;
+                index = i;
+                if (!this.options.flex) break;
+            }
+        }
+        if (match) {
+            lines = match[0].match(/\n.*/g);
+            if (lines) this.yylineno += lines.length;
+            this.yylloc = {first_line: this.yylloc.last_line,
+                           last_line: this.yylineno+1,
+                           first_column: this.yylloc.last_column,
+                           last_column: lines ? lines[lines.length-1].length-1 : this.yylloc.last_column + match[0].length}
+            this.yytext += match[0];
+            this.match += match[0];
+            this.yyleng = this.yytext.length;
+            this._more = false;
+            this._input = this._input.slice(match[0].length);
+            this.matched += match[0];
+            token = this.performAction.call(this, this.yy, this, rules[index],this.conditionStack[this.conditionStack.length-1]);
+            if (this.done && this._input) this.done = false;
+            if (token) return token;
+            else return;
+        }
+        if (this._input === "") {
+            return this.EOF;
+        } else {
+            this.parseError('Lexical error on line '+(this.yylineno+1)+'. Unrecognized text.\n'+this.showPosition(), 
+                    {text: "", token: null, line: this.yylineno});
+        }
+    },
+lex:function lex() {
+        var r = this.next();
+        if (typeof r !== 'undefined') {
+            return r;
+        } else {
+            return this.lex();
+        }
+    },
+begin:function begin(condition) {
+        this.conditionStack.push(condition);
+    },
+popState:function popState() {
+        return this.conditionStack.pop();
+    },
+_currentRules:function _currentRules() {
+        return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;
+    },
+topState:function () {
+        return this.conditionStack[this.conditionStack.length-2];
+    },
+pushState:function begin(condition) {
+        this.begin(condition);
+    }});
+lexer.options = {};
+lexer.performAction = function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {
+
+var YYSTATE=YY_START
+switch($avoiding_name_collisions) {
+case 0:/* skip whitespace */
+break;
+case 1:return 6
+break;
+case 2:yy_.yytext = yy_.yytext.substr(1,yy_.yyleng-2); return 4
+break;
+case 3:return 17
+break;
+case 4:return 18
+break;
+case 5:return 23
+break;
+case 6:return 24
+break;
+case 7:return 22
+break;
+case 8:return 21
+break;
+case 9:return 10
+break;
+case 10:return 11
+break;
+case 11:return 8
+break;
+case 12:return 14
+break;
+case 13:return 'INVALID'
+break;
+}
+};
+lexer.rules = [/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/];
+lexer.conditions = {"INITIAL":{"rules":[0,1,2,3,4,5,6,7,8,9,10,11,12,13],"inclusive":true}};
+
+
+;
+return lexer;})()
+parser.lexer = lexer;
+return parser;
+})();
+if (typeof require !== 'undefined' && typeof exports !== 'undefined') {
+exports.parser = jsonlint;
+exports.parse = function () { return jsonlint.parse.apply(jsonlint, arguments); }
+exports.main = function commonjsMain(args) {
+    if (!args[1])
+        throw new Error('Usage: '+args[0]+' FILE');
+    if (typeof process !== 'undefined') {
+        var source = require('fs').readFileSync(require('path').join(process.cwd(), args[1]), "utf8");
+    } else {
+        var cwd = require("file").path(require("file").cwd());
+        var source = cwd.join(args[1]).read({charset: "utf-8"});
+    }
+    return exports.parser.parse(source);
+}
+if (typeof module !== 'undefined' && require.main === module) {
+  exports.main(typeof process !== 'undefined' ? process.argv.slice(1) : require("system").args);
+}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/.project
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/.project	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/.project	(revision 505)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>JSV</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+	</buildSpec>
+	<natures>
+	</natures>
+</projectDescription>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/CHANGELOG.md
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/CHANGELOG.md	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/CHANGELOG.md	(revision 505)
@@ -0,0 +1,41 @@
+# Changelog
+
+## 4.0.2 (2012/07/11)
+
+*	Replace "then" with correct "than" in all error messages. (Identified by stefanw)
+
+## 4.0.1 (2012/05/09)
+
+*	Fixed bug with extended schemas that contain a "pattern" attribute. (Identified by DrDyne)
+
+## 4.0 (2011/08/23)
+
+*	Added referencing to JSONSchema, allows for soft-linking to other schemas.
+*	Environment option "validateReferences" now validates references at validation time for any environment.
+*	Environment option "enforceReferences" will cause invalid references to throw an error at creation time for any environment.
+*	Fixed floating point errors with "divisibleBy" attribute.
+*	Fixed typo in JSV.clone.
+*	Fixed typo in draft-03 hyper-schema.json.
+*	Updated uri.js to latest version.
+*	Fixed bug with Report#addError. (Identified by cellog)
+*	ValidationError#details is now safe to stringify.
+*	Removed JSONSchema#createEmptySchema. All empty schemas created by Environment#createEmptySchema now have the same URI (urn:jsv:empty-schema#).
+*	Added example HTML page.
+
+## 3.5 (2011/03/07)
+
+*	Links to unregistered schemas will now throw an error. This can be disabled by setting the environment option "validateReferences" to false.
+*	Environment#validate now catches errors (such as InitializationErrors) and adds them to it's returned report. 
+*	Report#addError now accepts instance/schema URI strings.
+*	Fixed bug where empty schemas would not be registered.
+*	Added private method Environment#_checkForInvalidInstances, for testing the reliability of circular schemas.
+*	Fixed bug where schemas in the "disallow" attribute would not validate. (Identified by henchan)
+
+## 3.4 (2011/03/06)
+
+*	Fixed bug with "id", "$ref", "$schema" attributes not resolving properly under the "http://json-schema.org/draft-03/schema#" schema. (Identified by dougtreder)
+*	Added dougtreder's referencing tests.
+
+## Older
+
+Older releases were not documented. See git commit history for more information.
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/README.md
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/README.md	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/README.md	(revision 505)
@@ -0,0 +1,211 @@
+JSV: JSON Schema Validator
+==========================
+
+JSV is a JavaScript implementation of a extendable, fully compliant JSON Schema validator with the following features:
+
+*	The fastest extendable JSON validator available!
+*	Complete implementation of all current JSON Schema draft revisions.
+*	Supports creating individual environments (sandboxes) that validate using a particular schema specification.
+*	Provides an intuitive API for creating new validating schema attributes, or whole new custom schema schemas.
+*	Supports `self`, `full` and `describedby` hyper links.
+*	Validates itself, and is bootstrapped from the JSON Schema schemas.
+*	Includes over 1100 unit tests for testing all parts of the specifications.
+*	Works in all ECMAScript 3 environments, including all web browsers and Node.js.
+*	Licensed under the FreeBSD License, a very open license.
+
+## It's a what?
+
+**JSON** (an acronym for **JavaScript Object Notation**) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of JavaScript/ECMA-262 3rd Edition. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages. (C, C++, C#, Java, JavaScript, Perl, Python, ...) These properties make JSON an ideal data-interchange language. \[[json.org](http://json.org)\]
+
+**JSON Schema** is a JSON media type for defining the structure of JSON data.  JSON Schema provides a contract for what JSON data is required for a given application and how to interact with it.  JSON Schema is intended to define validation, documentation, hyperlink navigation, and interaction control of JSON data. \[[draft-zyp-json-schema-02](http://tools.ietf.org/html/draft-zyp-json-schema-02)\]
+
+A **JSON validator** is a program that takes JSON data and, with a provided schema, will ensure that the provided JSON is structured in the way defined by the schema. This ensures that if validation has passed, the JSON instance is guaranteed to be in the expected format. It will also provide an explanation on why a particular instance failed validation.
+
+## Example
+
+Here's an example on how to validate some JSON with JSV:
+
+	var JSV = require("./jsv").JSV;
+	var json = {};
+	var schema = {"type" : "object"};
+	var env = JSV.createEnvironment();
+	var report = env.validate(json, schema);
+	
+	if (report.errors.length === 0) {
+		//JSON is valid against the schema
+	}
+
+Another example; for the following test:
+
+	env.validate({ a : 1 }, { type : 'object', properties : { a : { type : 'string' }} });
+
+The generated report would look like:
+
+	{
+		errors : [
+			{
+				message : "Instance is not a required type",
+				uri : "urn:uuid:74b843b5-3aa4-44e9-b7bc-f555936fa823#/a",
+				schemaUri : "urn:uuid:837fdefe-3bd4-4993-9a20-38a6a0624d5a#/properties/a",
+				attribute : "type",
+				details : ["string"]
+			}
+		],
+		validated : {
+			"urn:uuid:74b843b5-3aa4-44e9-b7bc-f555936fa823#" : ["urn:uuid:837fdefe-3bd4-4993-9a20-38a6a0624d5a#"],
+			"urn:uuid:74b843b5-3aa4-44e9-b7bc-f555936fa823#/a" : ["urn:uuid:837fdefe-3bd4-4993-9a20-38a6a0624d5a#/properties/a"],
+			//...
+		},
+		instance : [JSONInstance object],
+		schema : [JSONSchema object],
+		schemaSchema : [JSONSchema object]
+	}
+
+## Environments & JSON Schema support
+
+There is no one way to validate JSON, just like there is no one way to validate XML. Even the JSON Schema specification has gone through several revisions which are not 100% backwards compatible with each other. To solve the issue of using numerous schemas already written to older specifications, JSV provides customizable environments to validate your JSON within. 
+
+When creating an environment, you can optionally specify how you want that environment to behave. For example, this allows you to specify which version of the JSON Schema you would like the environment to behave like. JSV already provides the following environments:
+
+*	`json-schema-draft-03`
+
+	A complete implementation of the [third revision](http://tools.ietf.org/html/draft-zyp-json-schema-03) of the JSON Schema specification. This is the same as the second revision, except:
+	
+	*	"optional" has been replaced by "required"
+	*	"requires" has been replaced by "dependencies"
+	*	"minimumCanEqual"/"maximumCanEqual" has been replaced by "exclusiveMinimum"/"exclusiveMaximum"
+	*	"self"/"full"/"describedby" links have been moved to the core schema, and are provided by "id"/"$ref"/"$schema"
+	*	Adds the attributes "patternSchema" and "additionalItems"
+	*	Deprecates the attributes "root" and "alternate"
+	*	Schemas are now versioned under the URIs "http://json-schema.org/draft-XX/", where XX is the draft number
+	
+	In addition to this, all schemas from the previous versions of the JSON Schema draft are included in this environment, and are backwards compatible (where possible) with it's previous version.
+	This backwards compatibility can be disabled with the environment option `strict` is set to `true`.
+	
+	This is currently the default environment.
+
+*	`json-schema-draft-02`
+
+	A complete implementation of the [second revision](http://tools.ietf.org/html/draft-zyp-json-schema-02) of the JSON Schema specification. This is the same as the first revision, except adds:
+	
+	*	"targetSchema" attribute
+	*	slash-delimited fragment identifiers, which is now the default behavior
+	
+*	`json-schema-draft-01`
+
+	A complete implementation of the [first revision](http://tools.ietf.org/html/draft-zyp-json-schema-01) of the JSON Schema specification, which is exactly the same as the [original draft](http://tools.ietf.org/html/draft-zyp-json-schema-00).
+	
+	Users with JSON Schemas written for JSV < v2.1 should use this environment for it's dot-delimited fragment identifiers.
+
+Environments can also be customized and registered for multiple reuse. (See the section on *Extending Environments* below)
+
+## Validation API
+
+The following methods are used to validate JSON data:
+
+### JSV.createEnvironment(*environmentID?*) *->* *&lt;Environment&gt;*
+
+*	*environmentID* *&lt;String&gt;* *(optional)* The ID of the environment to clone a new Environment from
+
+Creates an new environment that is a copy of the Environment registered with the provided `environmentID`. If no ID is provided, the latest registered JSON Schema is used as the template.
+
+See the above section on *Environments* for the default available Environment IDs.
+
+### *&lt;Environment&gt;*.validate(*json*, *schema*) *->* *&lt;Report&gt;*
+
+*	*json* *&lt;Any|JSONInstance&gt;* The JSON data to validate
+*	*schema* *&lt;Object|JSONInstance|JSONSchema&gt;* The schema to validate the JSON with
+
+Validates both the schema and the JSON, and returns a report of the validation.
+
+### *&lt;Report&gt;*.errors *&lt;Array&gt;*
+
+An array of error objects from the validation process; each object represents a restriction check that failed. If the array is empty, the validation passed.
+
+The error objects have the following schema:
+
+	{
+		"type" : "object",
+		"properties" : {
+			"message" : {
+				"description" : "A user-friendly error message about what failed to validate.",
+				"type" : "string"
+			},
+			"uri" : {
+				"description" : "URI of the instance that failed to validate.",
+				"type" : "string",
+				"format" : "uri"
+			},
+			"schemaUri" : {
+				"description" : "URI of the schema instance that reported the error.",
+				"type" : "string",
+				"format" : "uri"
+			},
+			"attribute" : {
+				"description" : "The attribute of the schema instance that failed to validate.",
+				"type" : "string"
+			},
+			"details" : {
+				"description" : "The value of the schema attribute that failed to validate.",
+				"type" : "any"
+			}
+		}
+	}
+
+## API Documentation
+
+There are many more APIs available for JSV, too many to detail here. The complete API and documentation can be found in the `docs` directory.
+
+## Extending Environments
+
+JSV provides an API for extending available schemas, adding new attributes and validation to currently existing schemas, and creating whole new Environments with unique behaviors. 
+In fact, in the [eat-your-own-dog-food](http://en.wikipedia.org/wiki/Eating_your_own_dog_food) approach, all the default JSON Schema environments available are implemented using this API. 
+Details and instruction on this feature will be provided at a later date.
+
+## Installation
+
+The preferred method of installation is to download the latest copy from GitHub:
+
+	git clone git://github.com/garycourt/JSV.git
+
+If you are using JSV within Node.js, you can quickly install it using:
+
+	npm install JSV
+
+Then you can reference it within your application using:
+
+	var JSV = require("JSV").JSV;
+
+## Unit Tests
+
+Open `tests/index.html` and `tests/index3.html` in your web browser to run the unit tests.
+
+Currently, the unit tests can not be run in Node.js.
+
+## License
+
+	Copyright 2010 Gary Court. All rights reserved.
+	
+	Redistribution and use in source and binary forms, with or without modification, are
+	permitted provided that the following conditions are met:
+	
+	   1. Redistributions of source code must retain the above copyright notice, this list of
+	      conditions and the following disclaimer.
+	
+	   2. Redistributions in binary form must reproduce the above copyright notice, this list
+	      of conditions and the following disclaimer in the documentation and/or other materials
+	      provided with the distribution.
+	
+	THIS SOFTWARE IS PROVIDED BY GARY COURT ``AS IS'' AND ANY EXPRESS OR IMPLIED
+	WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+	FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR
+	CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+	CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+	SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+	ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+	NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+	ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+	
+	The views and conclusions contained in the software and documentation are those of the
+	authors and should not be interpreted as representing official policies, either expressed
+	or implied, of Gary Court or the JSON Schema specification.
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/files.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/files.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/files.html	(revision 505)
@@ -0,0 +1,235 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+		
+		<title>JsDoc Reference - File Index</title>
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<style type="text/css">
+		/* default.css */
+body
+{
+	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+	width: 800px;
+}
+
+.header
+{
+	clear: both;
+	background-color: #ccc;
+	padding: 8px;
+}
+
+h1
+{
+	font-size: 150%;
+	font-weight: bold;
+	padding: 0;
+	margin: 1em 0 0 .3em;
+}
+
+hr
+{
+	border: none 0;
+	border-top: 1px solid #7F8FB1;
+	height: 1px;
+}
+
+pre.code
+{
+	display: block;
+	padding: 8px;
+	border: 1px dashed #ccc;
+}
+
+#index
+{
+	margin-top: 24px;
+	float: left;
+	width: 160px;
+	position: absolute;
+	left: 8px;
+	background-color: #F3F3F3;
+	padding: 8px;
+}
+
+#content
+{
+	margin-left: 190px;
+	width: 600px;
+}
+
+.classList
+{
+	list-style-type: none;
+	padding: 0;
+	margin: 0 0 0 8px;
+	font-family: arial, sans-serif;
+	font-size: 1em;
+	overflow: auto;
+}
+
+.classList li
+{
+	padding: 0;
+	margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+	font-size:170%;
+	line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+	background-color: #7F8FB1;
+	color: #fff;
+	font-size:130%;
+	text-align: left;
+	padding: 2px 6px 2px 6px;
+	border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+	vertical-align: top;
+	padding: 4px;
+	border-bottom: 1px #7F8FB1 solid;
+	border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+	border-left: 1px #7F8FB1 solid;
+	width: 140px;
+	text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+	line-height: 15px;
+	color: #002EBE;
+	font-family: "Courier New",Courier,monospace;
+	font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+	text-align: left;
+	font-size: 13px;
+	line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+	line-height: 15px;
+	padding: 4px;
+	padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+	list-style: square;
+	margin-left: 20px;
+	padding-left: 0;
+}
+
+.detailList {
+	margin-left: 20px; 
+	line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+	font-weight: bold;
+	padding-bottom: 6px;
+	margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+	color: #777;
+	font-style: italic;
+}
+
+.fineprint
+{
+	text-align: right;
+	font-size: 10px;
+}
+		</style>
+	</head>
+	
+	<body>
+		<div id="header">
+</div>
+		
+		<div id="index">
+			<div align="center"><a href="index.html">Class Index</a>
+| <a href="files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+	
+	<li><a href="symbols/Environment.html">Environment</a></li>
+	
+	<li><a href="symbols/InitializationError.html">InitializationError</a></li>
+	
+	<li><a href="symbols/JSONInstance.html">JSONInstance</a></li>
+	
+	<li><a href="symbols/JSONSchema.html">JSONSchema</a></li>
+	
+	<li><a href="symbols/JSV.html">JSV</a></li>
+	
+	<li><a href="symbols/Report.html">Report</a></li>
+	
+	<li><a href="symbols/ValidationError.html">ValidationError</a></li>
+	
+</ul>
+<hr />
+		</div>
+		
+		<div id="content">
+			<h1 class="classTitle">File Index</h1>
+			
+			
+			<div>
+				<h2><a href="symbols/src/jsv.js.html">jsv.js</a></h2>
+				JSV: JSON Schema Validator
+A JavaScript implementation of a extendable, fully compliant JSON Schema validator.
+				<dl>
+					
+						<dt class="heading">Author:</dt>
+						<dd><a href="mailto:gary.court@gmail.com">Gary Court</a></dd>
+					
+					
+						<dt class="heading">Version:</dt>
+							<dd>4.0</dd>
+					
+					
+					
+				</dl>
+			</div>
+			<hr />
+			
+			
+		</div>
+		<div class="fineprint" style="clear:both">
+			
+			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
+		</div>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/index.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/index.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/index.html	(revision 505)
@@ -0,0 +1,258 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+		
+		<title>JsDoc Reference - Index</title>
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<style type="text/css">
+		/* default.css */
+body
+{
+	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+	width: 800px;
+}
+
+.header
+{
+	clear: both;
+	background-color: #ccc;
+	padding: 8px;
+}
+
+h1
+{
+	font-size: 150%;
+	font-weight: bold;
+	padding: 0;
+	margin: 1em 0 0 .3em;
+}
+
+hr
+{
+	border: none 0;
+	border-top: 1px solid #7F8FB1;
+	height: 1px;
+}
+
+pre.code
+{
+	display: block;
+	padding: 8px;
+	border: 1px dashed #ccc;
+}
+
+#index
+{
+	margin-top: 24px;
+	float: left;
+	width: 160px;
+	position: absolute;
+	left: 8px;
+	background-color: #F3F3F3;
+	padding: 8px;
+}
+
+#content
+{
+	margin-left: 190px;
+	width: 600px;
+}
+
+.classList
+{
+	list-style-type: none;
+	padding: 0;
+	margin: 0 0 0 8px;
+	font-family: arial, sans-serif;
+	font-size: 1em;
+	overflow: auto;
+}
+
+.classList li
+{
+	padding: 0;
+	margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+	font-size:170%;
+	line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+	background-color: #7F8FB1;
+	color: #fff;
+	font-size:130%;
+	text-align: left;
+	padding: 2px 6px 2px 6px;
+	border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+	vertical-align: top;
+	padding: 4px;
+	border-bottom: 1px #7F8FB1 solid;
+	border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+	border-left: 1px #7F8FB1 solid;
+	width: 140px;
+	text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+	line-height: 15px;
+	color: #002EBE;
+	font-family: "Courier New",Courier,monospace;
+	font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+	text-align: left;
+	font-size: 13px;
+	line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+	line-height: 15px;
+	padding: 4px;
+	padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+	list-style: square;
+	margin-left: 20px;
+	padding-left: 0;
+}
+
+.detailList {
+	margin-left: 20px; 
+	line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+	font-weight: bold;
+	padding-bottom: 6px;
+	margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+	color: #777;
+	font-style: italic;
+}
+
+.fineprint
+{
+	text-align: right;
+	font-size: 10px;
+}
+		</style>
+	</head>
+	
+	<body>
+		<div id="header">
+</div>
+		
+		<div id="index">
+			<div align="center"><a href="index.html">Class Index</a>
+| <a href="files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+	
+	<li><a href="symbols/Environment.html">Environment</a></li>
+	
+	<li><a href="symbols/InitializationError.html">InitializationError</a></li>
+	
+	<li><a href="symbols/JSONInstance.html">JSONInstance</a></li>
+	
+	<li><a href="symbols/JSONSchema.html">JSONSchema</a></li>
+	
+	<li><a href="symbols/JSV.html">JSV</a></li>
+	
+	<li><a href="symbols/Report.html">Report</a></li>
+	
+	<li><a href="symbols/ValidationError.html">ValidationError</a></li>
+	
+</ul>
+<hr />
+		</div>
+		
+		<div id="content">
+			<h1 class="classTitle">Class Index</h1>
+			
+			
+			<div>
+				<h2><a href="symbols/Environment.html">Environment</a></h2>
+				
+			</div>
+			<hr />
+			
+			<div>
+				<h2><a href="symbols/InitializationError.html">InitializationError</a></h2>
+				
+			</div>
+			<hr />
+			
+			<div>
+				<h2><a href="symbols/JSONInstance.html">JSONInstance</a></h2>
+				
+			</div>
+			<hr />
+			
+			<div>
+				<h2><a href="symbols/JSONSchema.html">JSONSchema</a></h2>
+				
+			</div>
+			<hr />
+			
+			<div>
+				<h2><a href="symbols/JSV.html">JSV</a></h2>
+				
+			</div>
+			<hr />
+			
+			<div>
+				<h2><a href="symbols/Report.html">Report</a></h2>
+				
+			</div>
+			<hr />
+			
+			<div>
+				<h2><a href="symbols/ValidationError.html">ValidationError</a></h2>
+				
+			</div>
+			<hr />
+			
+			
+		</div>
+		<div class="fineprint" style="clear:both">
+			
+			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
+		</div>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/Environment.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/Environment.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/Environment.html	(revision 505)
@@ -0,0 +1,955 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<title>JsDoc Reference - Environment</title>
+
+		<style type="text/css">
+			/* default.css */
+body
+{
+	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+	width: 800px;
+}
+
+.header
+{
+	clear: both;
+	background-color: #ccc;
+	padding: 8px;
+}
+
+h1
+{
+	font-size: 150%;
+	font-weight: bold;
+	padding: 0;
+	margin: 1em 0 0 .3em;
+}
+
+hr
+{
+	border: none 0;
+	border-top: 1px solid #7F8FB1;
+	height: 1px;
+}
+
+pre.code
+{
+	display: block;
+	padding: 8px;
+	border: 1px dashed #ccc;
+}
+
+#index
+{
+	margin-top: 24px;
+	float: left;
+	width: 160px;
+	position: absolute;
+	left: 8px;
+	background-color: #F3F3F3;
+	padding: 8px;
+}
+
+#content
+{
+	margin-left: 190px;
+	width: 600px;
+}
+
+.classList
+{
+	list-style-type: none;
+	padding: 0;
+	margin: 0 0 0 8px;
+	font-family: arial, sans-serif;
+	font-size: 1em;
+	overflow: auto;
+}
+
+.classList li
+{
+	padding: 0;
+	margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+	font-size:170%;
+	line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+	background-color: #7F8FB1;
+	color: #fff;
+	font-size:130%;
+	text-align: left;
+	padding: 2px 6px 2px 6px;
+	border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+	vertical-align: top;
+	padding: 4px;
+	border-bottom: 1px #7F8FB1 solid;
+	border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+	border-left: 1px #7F8FB1 solid;
+	width: 140px;
+	text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+	line-height: 15px;
+	color: #002EBE;
+	font-family: "Courier New",Courier,monospace;
+	font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+	text-align: left;
+	font-size: 13px;
+	line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+	line-height: 15px;
+	padding: 4px;
+	padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+	list-style: square;
+	margin-left: 20px;
+	padding-left: 0;
+}
+
+.detailList {
+	margin-left: 20px; 
+	line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+	font-weight: bold;
+	padding-bottom: 6px;
+	margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+	color: #777;
+	font-style: italic;
+}
+
+.fineprint
+{
+	text-align: right;
+	font-size: 10px;
+}
+		</style>
+	</head>
+
+	<body>
+<!-- ============================== header ================================= -->	
+		<!-- begin static/header.html -->
+		<div id="header">
+</div>
+		<!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+		<div id="index">
+			<!-- begin publish.classesIndex -->
+			<div align="center"><a href="../index.html">Class Index</a>
+| <a href="../files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+	
+	<li><a href="../symbols/Environment.html">Environment</a></li>
+	
+	<li><a href="../symbols/InitializationError.html">InitializationError</a></li>
+	
+	<li><a href="../symbols/JSONInstance.html">JSONInstance</a></li>
+	
+	<li><a href="../symbols/JSONSchema.html">JSONSchema</a></li>
+	
+	<li><a href="../symbols/JSV.html">JSV</a></li>
+	
+	<li><a href="../symbols/Report.html">Report</a></li>
+	
+	<li><a href="../symbols/ValidationError.html">ValidationError</a></li>
+	
+</ul>
+<hr />
+			<!-- end publish.classesIndex -->
+		</div>
+		
+		<div id="content">
+<!-- ============================== class title ============================ -->
+			<h1 class="classTitle">
+				
+				Class Environment
+			</h1>
+
+<!-- ============================== class summary ========================== -->			
+			<p class="description">
+				
+				
+			
+				
+				
+				
+					<br /><i>Defined in: </i> <a href="../symbols/src/jsv.js.html">jsv.js</a>.
+				
+			</p>
+
+<!-- ============================== constructor summary ==================== -->			
+			
+			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class Environment.">
+				<caption>Class Summary</caption>
+				<thead>
+					<tr>
+						<th scope="col">Constructor Attributes</th>
+						<th scope="col">Constructor Name and Description</th>
+					</tr>
+				</thead>
+				<tbody>
+					<tr>
+						<td class="attributes">&nbsp;</td>
+						<td class="nameDescription" >
+							<div class="fixedFont">
+								<b><a href="../symbols/Environment.html#constructor">Environment</a></b>()
+							</div>
+							<div class="description">An Environment is a sandbox of schemas thats behavior is different from other environments.</div>
+						</td>
+					</tr>
+				</tbody>
+			</table>
+			
+
+<!-- ============================== properties summary ===================== -->
+			
+
+<!-- ============================== methods summary ======================== -->
+			
+				
+				
+				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class Environment.">
+					<caption>Method Summary</caption>
+					<thead>
+						<tr>
+							<th scope="col">Method Attributes</th>
+							<th scope="col">Method Name and Description</th>
+						</tr>
+					</thead>
+					<tbody>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Environment.html#clone">clone</a></b>()
+								</div>
+								<div class="description">Returns a clone of the target environment.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Environment.html#createEmptySchema">createEmptySchema</a></b>()
+								</div>
+								<div class="description">Creates an empty schema.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Environment.html#createInstance">createInstance</a></b>(data, uri)
+								</div>
+								<div class="description">Returns a new <a href="../symbols/JSONInstance.html">JSONInstance</a> of the provided data.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Environment.html#createSchema">createSchema</a></b>(data, schema, uri)
+								</div>
+								<div class="description">Creates a new <a href="../symbols/JSONSchema.html">JSONSchema</a> from the provided data, and registers it with the environment.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Environment.html#findSchema">findSchema</a></b>(uri)
+								</div>
+								<div class="description">Returns the schema registered with the provided URI.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Environment.html#getDefaultFragmentDelimiter">getDefaultFragmentDelimiter</a></b>()
+								</div>
+								<div class="description">Returns the default fragment delimiter of the environment.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Environment.html#getDefaultSchema">getDefaultSchema</a></b>()
+								</div>
+								<div class="description">Returns the default schema of the environment.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Environment.html#getOption">getOption</a></b>(name)
+								</div>
+								<div class="description">Returns the specified environment option.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Environment.html#setDefaultFragmentDelimiter">setDefaultFragmentDelimiter</a></b>(fd)
+								</div>
+								<div class="description">Sets the default fragment delimiter of the environment.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Environment.html#setDefaultSchemaURI">setDefaultSchemaURI</a></b>(uri)
+								</div>
+								<div class="description">Sets the URI of the default schema for the environment.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Environment.html#setOption">setOption</a></b>(name, value)
+								</div>
+								<div class="description">Sets the specified environment option to the specified value.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Environment.html#validate">validate</a></b>(instanceJSON, schemaJSON)
+								</div>
+								<div class="description">Validates both the provided schema and the provided instance, and returns a <a href="../symbols/Report.html">Report</a>.</div>
+							</td>
+						</tr>
+					
+					</tbody>
+				</table>
+				
+				
+				
+			
+<!-- ============================== events summary ======================== -->
+			
+
+<!-- ============================== constructor details ==================== -->		
+			
+			<div class="details"><a name="constructor"> </a>
+				<div class="sectionTitle">
+					Class Detail
+				</div>
+				
+				<div class="fixedFont">
+						<b>Environment</b>()
+				</div>
+				
+				<div class="description">
+					An Environment is a sandbox of schemas thats behavior is different from other environments.
+					
+				</div>
+				
+				
+				
+				
+					
+					
+					
+					
+					
+					
+					
+
+			</div>
+			
+
+<!-- ============================== field details ========================== -->		
+			
+
+<!-- ============================== method details ========================= -->		
+			
+				<div class="sectionTitle">
+					Method Detail
+				</div>
+				
+					<a name="clone"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/Environment.html">Environment</a>}</span>
+					<b>clone</b>()
+					
+					</div>
+					<div class="description">
+						Returns a clone of the target environment.
+						
+						
+					</div>
+					
+					
+					
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{<a href="../symbols/Environment.html">Environment</a>}</span> A new <a href="../symbols/Environment.html">Environment</a> that is a exact copy of the target environment</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="createEmptySchema"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/JSONSchema.html">JSONSchema</a>}</span>
+					<b>createEmptySchema</b>()
+					
+					</div>
+					<div class="description">
+						Creates an empty schema.
+						
+						
+					</div>
+					
+					
+					
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>}</span> The empty schema, who's schema is itself.</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="createInstance"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/JSONInstance.html">JSONInstance</a>}</span>
+					<b>createInstance</b>(data, uri)
+					
+					</div>
+					<div class="description">
+						Returns a new <a href="../symbols/JSONInstance.html">JSONInstance</a> of the provided data.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/JSONInstance.html">JSONInstance</a>|Any}</span> <b>data</b>
+									
+								</dt>
+								<dd>The value of the instance</dd>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>uri</b>
+									<i>Optional</i>
+								</dt>
+								<dd>The URI of the instance. If undefined, the URI will be a randomly generated UUID.</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{<a href="../symbols/JSONInstance.html">JSONInstance</a>}</span> A new <a href="../symbols/JSONInstance.html">JSONInstance</a> from the provided data</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="createSchema"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/JSONSchema.html">JSONSchema</a>}</span>
+					<b>createSchema</b>(data, schema, uri)
+					
+					</div>
+					<div class="description">
+						Creates a new <a href="../symbols/JSONSchema.html">JSONSchema</a> from the provided data, and registers it with the environment.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/JSONInstance.html">JSONInstance</a>|Any}</span> <b>data</b>
+									
+								</dt>
+								<dd>The value of the schema</dd>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>|Boolean}</span> <b>schema</b>
+									<i>Optional</i>
+								</dt>
+								<dd>The schema to bind to the instance. If <code>undefined</code>, the environment's default schema will be used. If <code>true</code>, the instance's schema will be itself.</dd>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>uri</b>
+									<i>Optional</i>
+								</dt>
+								<dd>The URI of the schema. If undefined, the URI will be a randomly generated UUID.</dd>
+							
+							</dl>
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Throws:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/InitializationError.html">InitializationError</a>}</span>  <b></b>
+								</dt>
+								<dd>If a schema that is not registered with the environment is referenced</dd>
+							
+							</dl>
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>}</span> A new <a href="../symbols/JSONSchema.html">JSONSchema</a> from the provided data</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="findSchema"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/JSONSchema.html">JSONSchema</a>|undefined}</span>
+					<b>findSchema</b>(uri)
+					
+					</div>
+					<div class="description">
+						Returns the schema registered with the provided URI.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>uri</b>
+									
+								</dt>
+								<dd>The absolute URI of the required schema</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>|undefined}</span> The request schema, or <code>undefined</code> if not found</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="getDefaultFragmentDelimiter"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{String}</span>
+					<b>getDefaultFragmentDelimiter</b>()
+					
+					</div>
+					<div class="description">
+						Returns the default fragment delimiter of the environment.
+						
+						
+					</div>
+					
+					
+					
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Deprecated:</dt>
+							<dt>
+								Use <a href="../symbols/Environment.html#getOption">Environment#getOption</a> with option "defaultFragmentDelimiter"
+							</dt>
+							</dl>
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{String}</span> The fragment delimiter character</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="getDefaultSchema"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/JSONSchema.html">JSONSchema</a>}</span>
+					<b>getDefaultSchema</b>()
+					
+					</div>
+					<div class="description">
+						Returns the default schema of the environment.
+						
+						
+					</div>
+					
+					
+					
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>}</span> The default schema</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="getOption"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{Any}</span>
+					<b>getOption</b>(name)
+					
+					</div>
+					<div class="description">
+						Returns the specified environment option.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>name</b>
+									
+								</dt>
+								<dd>The name of the environment option to set</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Any}</span> The value of the environment option</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="setDefaultFragmentDelimiter"> </a>
+					<div class="fixedFont">
+					
+					
+					<b>setDefaultFragmentDelimiter</b>(fd)
+					
+					</div>
+					<div class="description">
+						Sets the default fragment delimiter of the environment.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>fd</b>
+									
+								</dt>
+								<dd>The fragment delimiter character</dd>
+							
+							</dl>
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Deprecated:</dt>
+							<dt>
+								Use <a href="../symbols/Environment.html#setOption">Environment#setOption</a> with option "defaultFragmentDelimiter"
+							</dt>
+							</dl>
+						
+						
+						
+						
+						
+						
+
+					<hr />
+				
+					<a name="setDefaultSchemaURI"> </a>
+					<div class="fixedFont">
+					
+					
+					<b>setDefaultSchemaURI</b>(uri)
+					
+					</div>
+					<div class="description">
+						Sets the URI of the default schema for the environment.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>uri</b>
+									
+								</dt>
+								<dd>The default schema URI</dd>
+							
+							</dl>
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Deprecated:</dt>
+							<dt>
+								Use <a href="../symbols/Environment.html#setOption">Environment#setOption</a> with option "defaultSchemaURI"
+							</dt>
+							</dl>
+						
+						
+						
+						
+						
+						
+
+					<hr />
+				
+					<a name="setOption"> </a>
+					<div class="fixedFont">
+					
+					
+					<b>setOption</b>(name, value)
+					
+					</div>
+					<div class="description">
+						Sets the specified environment option to the specified value.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>name</b>
+									
+								</dt>
+								<dd>The name of the environment option to set</dd>
+							
+								<dt>
+									<span class="light fixedFont">{Any}</span> <b>value</b>
+									
+								</dt>
+								<dd>The new value of the environment option</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+						
+						
+
+					<hr />
+				
+					<a name="validate"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/Report.html">Report</a>}</span>
+					<b>validate</b>(instanceJSON, schemaJSON)
+					
+					</div>
+					<div class="description">
+						Validates both the provided schema and the provided instance, and returns a <a href="../symbols/Report.html">Report</a>. 
+If the schema fails to validate, the instance will not be validated.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/JSONInstance.html">JSONInstance</a>|Any}</span> <b>instanceJSON</b>
+									
+								</dt>
+								<dd>The <a href="../symbols/JSONInstance.html">JSONInstance</a> or JavaScript value to validate.</dd>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>|Any}</span> <b>schemaJSON</b>
+									
+								</dt>
+								<dd>The <a href="../symbols/JSONSchema.html">JSONSchema</a> or JavaScript value to use in the validation. This will also be validated againt the schema's schema.</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{<a href="../symbols/Report.html">Report</a>}</span> The result of the validation</dd>
+							
+							</dl>
+						
+						
+						
+
+					
+				
+			
+			
+<!-- ============================== event details ========================= -->		
+			
+			
+			<hr />
+		</div>
+
+		
+<!-- ============================== footer ================================= -->
+		<div class="fineprint" style="clear:both">
+			
+			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
+		</div>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/Error.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/Error.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/Error.html	(revision 505)
@@ -0,0 +1,263 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<title>JsDoc Reference - Error</title>
+
+		<style type="text/css">
+			/* default.css */
+body
+{
+	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+	width: 800px;
+}
+
+.header
+{
+	clear: both;
+	background-color: #ccc;
+	padding: 8px;
+}
+
+h1
+{
+	font-size: 150%;
+	font-weight: bold;
+	padding: 0;
+	margin: 1em 0 0 .3em;
+}
+
+hr
+{
+	border: none 0;
+	border-top: 1px solid #7F8FB1;
+	height: 1px;
+}
+
+pre.code
+{
+	display: block;
+	padding: 8px;
+	border: 1px dashed #ccc;
+}
+
+#index
+{
+	margin-top: 24px;
+	float: left;
+	width: 160px;
+	position: absolute;
+	left: 8px;
+	background-color: #F3F3F3;
+	padding: 8px;
+}
+
+#content
+{
+	margin-left: 190px;
+	width: 600px;
+}
+
+.classList
+{
+	list-style-type: none;
+	padding: 0;
+	margin: 0 0 0 8px;
+	font-family: arial, sans-serif;
+	font-size: 1em;
+	overflow: auto;
+}
+
+.classList li
+{
+	padding: 0;
+	margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+	font-size:170%;
+	line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+	background-color: #7F8FB1;
+	color: #fff;
+	font-size:130%;
+	text-align: left;
+	padding: 2px 6px 2px 6px;
+	border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+	vertical-align: top;
+	padding: 4px;
+	border-bottom: 1px #7F8FB1 solid;
+	border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+	border-left: 1px #7F8FB1 solid;
+	width: 140px;
+	text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+	line-height: 15px;
+	color: #002EBE;
+	font-family: "Courier New",Courier,monospace;
+	font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+	text-align: left;
+	font-size: 13px;
+	line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+	line-height: 15px;
+	padding: 4px;
+	padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+	list-style: square;
+	margin-left: 20px;
+	padding-left: 0;
+}
+
+.detailList {
+	margin-left: 20px; 
+	line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+	font-weight: bold;
+	padding-bottom: 6px;
+	margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+	color: #777;
+	font-style: italic;
+}
+
+.fineprint
+{
+	text-align: right;
+	font-size: 10px;
+}
+		</style>
+	</head>
+
+	<body>
+<!-- ============================== header ================================= -->	
+		<!-- begin static/header.html -->
+		<div id="header">
+</div>
+		<!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+		<div id="index">
+			<!-- begin publish.classesIndex -->
+			<div align="center"><a href="../index.html">Class Index</a>
+| <a href="../files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+	
+	<li><a href="../symbols/Environment.html">Environment</a></li>
+	
+	<li><a href="../symbols/Error.html">Error</a></li>
+	
+	<li><a href="../symbols/InitializationError.html">InitializationError</a></li>
+	
+	<li><a href="../symbols/JSONInstance.html">JSONInstance</a></li>
+	
+	<li><a href="../symbols/JSONSchema.html">JSONSchema</a></li>
+	
+	<li><a href="../symbols/JSV.html">JSV</a></li>
+	
+	<li><a href="../symbols/Report.html">Report</a></li>
+	
+	<li><a href="../symbols/ValidationError.html">ValidationError</a></li>
+	
+</ul>
+<hr />
+			<!-- end publish.classesIndex -->
+		</div>
+		
+		<div id="content">
+<!-- ============================== class title ============================ -->
+			<h1 class="classTitle">
+				
+				Built-In Namespace Error
+			</h1>
+
+<!-- ============================== class summary ========================== -->			
+			<p class="description">
+				
+				
+			
+				
+				
+				
+			</p>
+
+<!-- ============================== constructor summary ==================== -->			
+			
+
+<!-- ============================== properties summary ===================== -->
+			
+
+<!-- ============================== methods summary ======================== -->
+			
+<!-- ============================== events summary ======================== -->
+			
+
+<!-- ============================== constructor details ==================== -->		
+			
+
+<!-- ============================== field details ========================== -->		
+			
+
+<!-- ============================== method details ========================= -->		
+			
+			
+<!-- ============================== event details ========================= -->		
+			
+			
+			<hr />
+		</div>
+
+		
+<!-- ============================== footer ================================= -->
+		<div class="fineprint" style="clear:both">
+			
+			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Mon Aug 22 2011 14:52:01 GMT-0600 (MDT)
+		</div>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/InitializationError.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/InitializationError.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/InitializationError.html	(revision 505)
@@ -0,0 +1,346 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<title>JsDoc Reference - InitializationError</title>
+
+		<style type="text/css">
+			/* default.css */
+body
+{
+	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+	width: 800px;
+}
+
+.header
+{
+	clear: both;
+	background-color: #ccc;
+	padding: 8px;
+}
+
+h1
+{
+	font-size: 150%;
+	font-weight: bold;
+	padding: 0;
+	margin: 1em 0 0 .3em;
+}
+
+hr
+{
+	border: none 0;
+	border-top: 1px solid #7F8FB1;
+	height: 1px;
+}
+
+pre.code
+{
+	display: block;
+	padding: 8px;
+	border: 1px dashed #ccc;
+}
+
+#index
+{
+	margin-top: 24px;
+	float: left;
+	width: 160px;
+	position: absolute;
+	left: 8px;
+	background-color: #F3F3F3;
+	padding: 8px;
+}
+
+#content
+{
+	margin-left: 190px;
+	width: 600px;
+}
+
+.classList
+{
+	list-style-type: none;
+	padding: 0;
+	margin: 0 0 0 8px;
+	font-family: arial, sans-serif;
+	font-size: 1em;
+	overflow: auto;
+}
+
+.classList li
+{
+	padding: 0;
+	margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+	font-size:170%;
+	line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+	background-color: #7F8FB1;
+	color: #fff;
+	font-size:130%;
+	text-align: left;
+	padding: 2px 6px 2px 6px;
+	border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+	vertical-align: top;
+	padding: 4px;
+	border-bottom: 1px #7F8FB1 solid;
+	border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+	border-left: 1px #7F8FB1 solid;
+	width: 140px;
+	text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+	line-height: 15px;
+	color: #002EBE;
+	font-family: "Courier New",Courier,monospace;
+	font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+	text-align: left;
+	font-size: 13px;
+	line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+	line-height: 15px;
+	padding: 4px;
+	padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+	list-style: square;
+	margin-left: 20px;
+	padding-left: 0;
+}
+
+.detailList {
+	margin-left: 20px; 
+	line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+	font-weight: bold;
+	padding-bottom: 6px;
+	margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+	color: #777;
+	font-style: italic;
+}
+
+.fineprint
+{
+	text-align: right;
+	font-size: 10px;
+}
+		</style>
+	</head>
+
+	<body>
+<!-- ============================== header ================================= -->	
+		<!-- begin static/header.html -->
+		<div id="header">
+</div>
+		<!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+		<div id="index">
+			<!-- begin publish.classesIndex -->
+			<div align="center"><a href="../index.html">Class Index</a>
+| <a href="../files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+	
+	<li><a href="../symbols/Environment.html">Environment</a></li>
+	
+	<li><a href="../symbols/InitializationError.html">InitializationError</a></li>
+	
+	<li><a href="../symbols/JSONInstance.html">JSONInstance</a></li>
+	
+	<li><a href="../symbols/JSONSchema.html">JSONSchema</a></li>
+	
+	<li><a href="../symbols/JSV.html">JSV</a></li>
+	
+	<li><a href="../symbols/Report.html">Report</a></li>
+	
+	<li><a href="../symbols/ValidationError.html">ValidationError</a></li>
+	
+</ul>
+<hr />
+			<!-- end publish.classesIndex -->
+		</div>
+		
+		<div id="content">
+<!-- ============================== class title ============================ -->
+			<h1 class="classTitle">
+				
+				Class InitializationError
+			</h1>
+
+<!-- ============================== class summary ========================== -->			
+			<p class="description">
+				
+				
+			
+				
+				
+				
+					<br /><i>Defined in: </i> <a href="../symbols/src/jsv.js.html">jsv.js</a>.
+				
+			</p>
+
+<!-- ============================== constructor summary ==================== -->			
+			
+			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class InitializationError.">
+				<caption>Class Summary</caption>
+				<thead>
+					<tr>
+						<th scope="col">Constructor Attributes</th>
+						<th scope="col">Constructor Name and Description</th>
+					</tr>
+				</thead>
+				<tbody>
+					<tr>
+						<td class="attributes">&nbsp;</td>
+						<td class="nameDescription" >
+							<div class="fixedFont">
+								<b><a href="../symbols/InitializationError.html#constructor">InitializationError</a></b>(instance, schema, attr, message, details)
+							</div>
+							<div class="description">The exception that is thrown when a schema fails to be created.</div>
+						</td>
+					</tr>
+				</tbody>
+			</table>
+			
+
+<!-- ============================== properties summary ===================== -->
+			
+
+<!-- ============================== methods summary ======================== -->
+			
+<!-- ============================== events summary ======================== -->
+			
+
+<!-- ============================== constructor details ==================== -->		
+			
+			<div class="details"><a name="constructor"> </a>
+				<div class="sectionTitle">
+					Class Detail
+				</div>
+				
+				<div class="fixedFont">
+						<b>InitializationError</b>(instance, schema, attr, message, details)
+				</div>
+				
+				<div class="description">
+					The exception that is thrown when a schema fails to be created.
+					
+				</div>
+				
+				
+				
+				
+					
+						<dl class="detailList">
+						<dt class="heading">Parameters:</dt>
+						
+							<dt>
+								<span class="light fixedFont">{<a href="../symbols/JSONInstance.html">JSONInstance</a>|String}</span>  <b>instance</b>
+								
+							</dt>
+								<dd>The instance (or instance URI) that is invalid</dd>
+						
+							<dt>
+								<span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>|String}</span>  <b>schema</b>
+								
+							</dt>
+								<dd>The schema (or schema URI) that was validating the instance</dd>
+						
+							<dt>
+								<span class="light fixedFont">{String}</span>  <b>attr</b>
+								
+							</dt>
+								<dd>The attribute that failed to validated</dd>
+						
+							<dt>
+								<span class="light fixedFont">{String}</span>  <b>message</b>
+								
+							</dt>
+								<dd>A user-friendly message on why the schema attribute failed to validate the instance</dd>
+						
+							<dt>
+								<span class="light fixedFont">{Any}</span>  <b>details</b>
+								
+							</dt>
+								<dd>The value of the schema attribute</dd>
+						
+						</dl>
+					
+					
+					
+					
+					
+					
+					
+
+			</div>
+			
+
+<!-- ============================== field details ========================== -->		
+			
+
+<!-- ============================== method details ========================= -->		
+			
+			
+<!-- ============================== event details ========================= -->		
+			
+			
+			<hr />
+		</div>
+
+		
+<!-- ============================== footer ================================= -->
+		<div class="fineprint" style="clear:both">
+			
+			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
+		</div>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/JSONInstance.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/JSONInstance.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/JSONInstance.html	(revision 505)
@@ -0,0 +1,832 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<title>JsDoc Reference - JSONInstance</title>
+
+		<style type="text/css">
+			/* default.css */
+body
+{
+	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+	width: 800px;
+}
+
+.header
+{
+	clear: both;
+	background-color: #ccc;
+	padding: 8px;
+}
+
+h1
+{
+	font-size: 150%;
+	font-weight: bold;
+	padding: 0;
+	margin: 1em 0 0 .3em;
+}
+
+hr
+{
+	border: none 0;
+	border-top: 1px solid #7F8FB1;
+	height: 1px;
+}
+
+pre.code
+{
+	display: block;
+	padding: 8px;
+	border: 1px dashed #ccc;
+}
+
+#index
+{
+	margin-top: 24px;
+	float: left;
+	width: 160px;
+	position: absolute;
+	left: 8px;
+	background-color: #F3F3F3;
+	padding: 8px;
+}
+
+#content
+{
+	margin-left: 190px;
+	width: 600px;
+}
+
+.classList
+{
+	list-style-type: none;
+	padding: 0;
+	margin: 0 0 0 8px;
+	font-family: arial, sans-serif;
+	font-size: 1em;
+	overflow: auto;
+}
+
+.classList li
+{
+	padding: 0;
+	margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+	font-size:170%;
+	line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+	background-color: #7F8FB1;
+	color: #fff;
+	font-size:130%;
+	text-align: left;
+	padding: 2px 6px 2px 6px;
+	border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+	vertical-align: top;
+	padding: 4px;
+	border-bottom: 1px #7F8FB1 solid;
+	border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+	border-left: 1px #7F8FB1 solid;
+	width: 140px;
+	text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+	line-height: 15px;
+	color: #002EBE;
+	font-family: "Courier New",Courier,monospace;
+	font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+	text-align: left;
+	font-size: 13px;
+	line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+	line-height: 15px;
+	padding: 4px;
+	padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+	list-style: square;
+	margin-left: 20px;
+	padding-left: 0;
+}
+
+.detailList {
+	margin-left: 20px; 
+	line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+	font-weight: bold;
+	padding-bottom: 6px;
+	margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+	color: #777;
+	font-style: italic;
+}
+
+.fineprint
+{
+	text-align: right;
+	font-size: 10px;
+}
+		</style>
+	</head>
+
+	<body>
+<!-- ============================== header ================================= -->	
+		<!-- begin static/header.html -->
+		<div id="header">
+</div>
+		<!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+		<div id="index">
+			<!-- begin publish.classesIndex -->
+			<div align="center"><a href="../index.html">Class Index</a>
+| <a href="../files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+	
+	<li><a href="../symbols/Environment.html">Environment</a></li>
+	
+	<li><a href="../symbols/InitializationError.html">InitializationError</a></li>
+	
+	<li><a href="../symbols/JSONInstance.html">JSONInstance</a></li>
+	
+	<li><a href="../symbols/JSONSchema.html">JSONSchema</a></li>
+	
+	<li><a href="../symbols/JSV.html">JSV</a></li>
+	
+	<li><a href="../symbols/Report.html">Report</a></li>
+	
+	<li><a href="../symbols/ValidationError.html">ValidationError</a></li>
+	
+</ul>
+<hr />
+			<!-- end publish.classesIndex -->
+		</div>
+		
+		<div id="content">
+<!-- ============================== class title ============================ -->
+			<h1 class="classTitle">
+				
+				Class JSONInstance
+			</h1>
+
+<!-- ============================== class summary ========================== -->			
+			<p class="description">
+				
+				
+			
+				
+				
+				
+					<br /><i>Defined in: </i> <a href="../symbols/src/jsv.js.html">jsv.js</a>.
+				
+			</p>
+
+<!-- ============================== constructor summary ==================== -->			
+			
+			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class JSONInstance.">
+				<caption>Class Summary</caption>
+				<thead>
+					<tr>
+						<th scope="col">Constructor Attributes</th>
+						<th scope="col">Constructor Name and Description</th>
+					</tr>
+				</thead>
+				<tbody>
+					<tr>
+						<td class="attributes">&nbsp;</td>
+						<td class="nameDescription" >
+							<div class="fixedFont">
+								<b><a href="../symbols/JSONInstance.html#constructor">JSONInstance</a></b>(env, json, uri, fd)
+							</div>
+							<div class="description">A wrapper class for binding an Environment, URI and helper methods to an instance.</div>
+						</td>
+					</tr>
+				</tbody>
+			</table>
+			
+
+<!-- ============================== properties summary ===================== -->
+			
+
+<!-- ============================== methods summary ======================== -->
+			
+				
+				
+				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class JSONInstance.">
+					<caption>Method Summary</caption>
+					<thead>
+						<tr>
+							<th scope="col">Method Attributes</th>
+							<th scope="col">Method Name and Description</th>
+						</tr>
+					</thead>
+					<tbody>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONInstance.html#equals">equals</a></b>(instance)
+								</div>
+								<div class="description">Return if the provided value is the same as the value of the instance.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONInstance.html#getEnvironment">getEnvironment</a></b>()
+								</div>
+								<div class="description">Returns the environment the instance is bound to.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONInstance.html#getProperties">getProperties</a></b>()
+								</div>
+								<div class="description">Returns all the property instances of the target instance.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONInstance.html#getProperty">getProperty</a></b>(key)
+								</div>
+								<div class="description">Returns a <a href="../symbols/JSONInstance.html">JSONInstance</a> of the value of the provided property name.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONInstance.html#getPropertyNames">getPropertyNames</a></b>()
+								</div>
+								<div class="description">Returns an array of the names of all the properties.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONInstance.html#getType">getType</a></b>()
+								</div>
+								<div class="description">Returns the name of the type of the instance.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONInstance.html#getURI">getURI</a></b>()
+								</div>
+								<div class="description">Returns the URI of the instance.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONInstance.html#getValue">getValue</a></b>()
+								</div>
+								<div class="description">Returns the JSON value of the instance.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONInstance.html#getValueOfProperty">getValueOfProperty</a></b>(key)
+								</div>
+								<div class="description">Returns the JSON value of the provided property name.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONInstance.html#resolveURI">resolveURI</a></b>(uri)
+								</div>
+								<div class="description">Returns a resolved URI of a provided relative URI against the URI of the instance.</div>
+							</td>
+						</tr>
+					
+					</tbody>
+				</table>
+				
+				
+				
+			
+<!-- ============================== events summary ======================== -->
+			
+
+<!-- ============================== constructor details ==================== -->		
+			
+			<div class="details"><a name="constructor"> </a>
+				<div class="sectionTitle">
+					Class Detail
+				</div>
+				
+				<div class="fixedFont">
+						<b>JSONInstance</b>(env, json, uri, fd)
+				</div>
+				
+				<div class="description">
+					A wrapper class for binding an Environment, URI and helper methods to an instance. 
+This class is most commonly instantiated with <a href="../symbols/Environment.html#createInstance">Environment#createInstance</a>.
+					
+				</div>
+				
+				
+				
+				
+					
+						<dl class="detailList">
+						<dt class="heading">Parameters:</dt>
+						
+							<dt>
+								<span class="light fixedFont">{<a href="../symbols/Environment.html">Environment</a>}</span>  <b>env</b>
+								
+							</dt>
+								<dd>The environment this instance belongs to</dd>
+						
+							<dt>
+								<span class="light fixedFont">{<a href="../symbols/JSONInstance.html">JSONInstance</a>|Any}</span>  <b>json</b>
+								
+							</dt>
+								<dd>The value of the instance</dd>
+						
+							<dt>
+								<span class="light fixedFont">{String}</span>  <b>uri</b>
+								<i>Optional</i>
+							</dt>
+								<dd>The URI of the instance. If undefined, the URI will be a randomly generated UUID.</dd>
+						
+							<dt>
+								<span class="light fixedFont">{String}</span>  <b>fd</b>
+								<i>Optional</i>
+							</dt>
+								<dd>The fragment delimiter for properties. If undefined, uses the environment default.</dd>
+						
+						</dl>
+					
+					
+					
+					
+					
+					
+					
+
+			</div>
+			
+
+<!-- ============================== field details ========================== -->		
+			
+
+<!-- ============================== method details ========================= -->		
+			
+				<div class="sectionTitle">
+					Method Detail
+				</div>
+				
+					<a name="equals"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{Boolean}</span>
+					<b>equals</b>(instance)
+					
+					</div>
+					<div class="description">
+						Return if the provided value is the same as the value of the instance.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/JSONInstance.html">JSONInstance</a>|Any}</span> <b>instance</b>
+									
+								</dt>
+								<dd>The value to compare</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Boolean}</span> If both the instance and the value match</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="getEnvironment"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/Environment.html">Environment</a>}</span>
+					<b>getEnvironment</b>()
+					
+					</div>
+					<div class="description">
+						Returns the environment the instance is bound to.
+						
+						
+					</div>
+					
+					
+					
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{<a href="../symbols/Environment.html">Environment</a>}</span> The environment of the instance</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="getProperties"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{Object|Array|undefined}</span>
+					<b>getProperties</b>()
+					
+					</div>
+					<div class="description">
+						Returns all the property instances of the target instance.
+<p>
+If the target instance is an Object, then the method will return a hash table of <a href="../symbols/JSONInstance.html">JSONInstance</a>s of all the properties. 
+If the target instance is an Array, then the method will return an array of <a href="../symbols/JSONInstance.html">JSONInstance</a>s of all the items.
+</p>
+						
+						
+					</div>
+					
+					
+					
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Object|Array|undefined}</span> The list of instances for all the properties</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="getProperty"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/JSONInstance.html">JSONInstance</a>}</span>
+					<b>getProperty</b>(key)
+					
+					</div>
+					<div class="description">
+						Returns a <a href="../symbols/JSONInstance.html">JSONInstance</a> of the value of the provided property name.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>key</b>
+									
+								</dt>
+								<dd>The name of the property to fetch</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{<a href="../symbols/JSONInstance.html">JSONInstance</a>}</span> The instance of the property value</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="getPropertyNames"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{Array}</span>
+					<b>getPropertyNames</b>()
+					
+					</div>
+					<div class="description">
+						Returns an array of the names of all the properties.
+						
+						
+					</div>
+					
+					
+					
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Array}</span> An array of strings which are the names of all the properties</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="getType"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{String}</span>
+					<b>getType</b>()
+					
+					</div>
+					<div class="description">
+						Returns the name of the type of the instance.
+						
+						
+					</div>
+					
+					
+					
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{String}</span> The name of the type of the instance</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="getURI"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{String}</span>
+					<b>getURI</b>()
+					
+					</div>
+					<div class="description">
+						Returns the URI of the instance.
+						
+						
+					</div>
+					
+					
+					
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{String}</span> The URI of the instance</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="getValue"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{Any}</span>
+					<b>getValue</b>()
+					
+					</div>
+					<div class="description">
+						Returns the JSON value of the instance.
+						
+						
+					</div>
+					
+					
+					
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Any}</span> The actual JavaScript value of the instance</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="getValueOfProperty"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{Any}</span>
+					<b>getValueOfProperty</b>(key)
+					
+					</div>
+					<div class="description">
+						Returns the JSON value of the provided property name. 
+This method is a faster version of calling <code>instance.getProperty(key).getValue()</code>.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>key</b>
+									
+								</dt>
+								<dd>The name of the property</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Any}</span> The JavaScript value of the instance</dd>
+							
+							</dl>
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">See:</dt>
+							
+								<dd><a href="../symbols/JSONInstance.html#getProperty">JSONInstance#getProperty</a></dd>
+							
+								<dd><a href="../symbols/JSONInstance.html#getValue">JSONInstance#getValue</a></dd>
+							
+							</dl>
+						
+
+					<hr />
+				
+					<a name="resolveURI"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{String}</span>
+					<b>resolveURI</b>(uri)
+					
+					</div>
+					<div class="description">
+						Returns a resolved URI of a provided relative URI against the URI of the instance.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>uri</b>
+									
+								</dt>
+								<dd>The relative URI to resolve</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{String}</span> The resolved URI</dd>
+							
+							</dl>
+						
+						
+						
+
+					
+				
+			
+			
+<!-- ============================== event details ========================= -->		
+			
+			
+			<hr />
+		</div>
+
+		
+<!-- ============================== footer ================================= -->
+		<div class="fineprint" style="clear:both">
+			
+			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
+		</div>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/JSONSchema.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/JSONSchema.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/JSONSchema.html	(revision 505)
@@ -0,0 +1,770 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<title>JsDoc Reference - JSONSchema</title>
+
+		<style type="text/css">
+			/* default.css */
+body
+{
+	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+	width: 800px;
+}
+
+.header
+{
+	clear: both;
+	background-color: #ccc;
+	padding: 8px;
+}
+
+h1
+{
+	font-size: 150%;
+	font-weight: bold;
+	padding: 0;
+	margin: 1em 0 0 .3em;
+}
+
+hr
+{
+	border: none 0;
+	border-top: 1px solid #7F8FB1;
+	height: 1px;
+}
+
+pre.code
+{
+	display: block;
+	padding: 8px;
+	border: 1px dashed #ccc;
+}
+
+#index
+{
+	margin-top: 24px;
+	float: left;
+	width: 160px;
+	position: absolute;
+	left: 8px;
+	background-color: #F3F3F3;
+	padding: 8px;
+}
+
+#content
+{
+	margin-left: 190px;
+	width: 600px;
+}
+
+.classList
+{
+	list-style-type: none;
+	padding: 0;
+	margin: 0 0 0 8px;
+	font-family: arial, sans-serif;
+	font-size: 1em;
+	overflow: auto;
+}
+
+.classList li
+{
+	padding: 0;
+	margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+	font-size:170%;
+	line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+	background-color: #7F8FB1;
+	color: #fff;
+	font-size:130%;
+	text-align: left;
+	padding: 2px 6px 2px 6px;
+	border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+	vertical-align: top;
+	padding: 4px;
+	border-bottom: 1px #7F8FB1 solid;
+	border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+	border-left: 1px #7F8FB1 solid;
+	width: 140px;
+	text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+	line-height: 15px;
+	color: #002EBE;
+	font-family: "Courier New",Courier,monospace;
+	font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+	text-align: left;
+	font-size: 13px;
+	line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+	line-height: 15px;
+	padding: 4px;
+	padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+	list-style: square;
+	margin-left: 20px;
+	padding-left: 0;
+}
+
+.detailList {
+	margin-left: 20px; 
+	line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+	font-weight: bold;
+	padding-bottom: 6px;
+	margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+	color: #777;
+	font-style: italic;
+}
+
+.fineprint
+{
+	text-align: right;
+	font-size: 10px;
+}
+		</style>
+	</head>
+
+	<body>
+<!-- ============================== header ================================= -->	
+		<!-- begin static/header.html -->
+		<div id="header">
+</div>
+		<!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+		<div id="index">
+			<!-- begin publish.classesIndex -->
+			<div align="center"><a href="../index.html">Class Index</a>
+| <a href="../files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+	
+	<li><a href="../symbols/Environment.html">Environment</a></li>
+	
+	<li><a href="../symbols/InitializationError.html">InitializationError</a></li>
+	
+	<li><a href="../symbols/JSONInstance.html">JSONInstance</a></li>
+	
+	<li><a href="../symbols/JSONSchema.html">JSONSchema</a></li>
+	
+	<li><a href="../symbols/JSV.html">JSV</a></li>
+	
+	<li><a href="../symbols/Report.html">Report</a></li>
+	
+	<li><a href="../symbols/ValidationError.html">ValidationError</a></li>
+	
+</ul>
+<hr />
+			<!-- end publish.classesIndex -->
+		</div>
+		
+		<div id="content">
+<!-- ============================== class title ============================ -->
+			<h1 class="classTitle">
+				
+				Class JSONSchema
+			</h1>
+
+<!-- ============================== class summary ========================== -->			
+			<p class="description">
+				
+				<br />Extends
+					<a href="../symbols/JSONInstance.html">JSONInstance</a>.<br />
+				
+			
+				
+				
+				
+					<br /><i>Defined in: </i> <a href="../symbols/src/jsv.js.html">jsv.js</a>.
+				
+			</p>
+
+<!-- ============================== constructor summary ==================== -->			
+			
+			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class JSONSchema.">
+				<caption>Class Summary</caption>
+				<thead>
+					<tr>
+						<th scope="col">Constructor Attributes</th>
+						<th scope="col">Constructor Name and Description</th>
+					</tr>
+				</thead>
+				<tbody>
+					<tr>
+						<td class="attributes">&nbsp;</td>
+						<td class="nameDescription" >
+							<div class="fixedFont">
+								<b><a href="../symbols/JSONSchema.html#constructor">JSONSchema</a></b>(env, json, uri, schema)
+							</div>
+							<div class="description">This class binds a <a href="../symbols/JSONInstance.html">JSONInstance</a> with a <a href="../symbols/JSONSchema.html">JSONSchema</a> to provided context aware methods.</div>
+						</td>
+					</tr>
+				</tbody>
+			</table>
+			
+
+<!-- ============================== properties summary ===================== -->
+			
+
+<!-- ============================== methods summary ======================== -->
+			
+				
+				
+				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class JSONSchema.">
+					<caption>Method Summary</caption>
+					<thead>
+						<tr>
+							<th scope="col">Method Attributes</th>
+							<th scope="col">Method Name and Description</th>
+						</tr>
+					</thead>
+					<tbody>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONSchema.html#getAttribute">getAttribute</a></b>(key, arg)
+								</div>
+								<div class="description">Returns the value of the provided attribute name.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONSchema.html#getAttributes">getAttributes</a></b>()
+								</div>
+								<div class="description">Returns all the attributes of the schema.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONSchema.html#getLink">getLink</a></b>(rel, instance)
+								</div>
+								<div class="description">Convenience method for retrieving a link or link object from a schema.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONSchema.html#getReference">getReference</a></b>(name)
+								</div>
+								<div class="description">Returns the value of the provided reference name.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONSchema.html#getSchema">getSchema</a></b>()
+								</div>
+								<div class="description">Returns the schema of the schema.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONSchema.html#setReference">setReference</a></b>(name, uri)
+								</div>
+								<div class="description">Set the provided reference to the given value.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/JSONSchema.html#validate">validate</a></b>(instance, report, parent, parentSchema, name)
+								</div>
+								<div class="description">Validates the provided instance against the target schema and returns a <a href="../symbols/Report.html">Report</a>.</div>
+							</td>
+						</tr>
+					
+					</tbody>
+				</table>
+				
+				
+				
+				<dl class="inheritsList">
+				<dt>Methods borrowed from class <a href="../symbols/JSONInstance.html">JSONInstance</a>: </dt><dd><a href="../symbols/JSONInstance.html#equals">equals</a>, <a href="../symbols/JSONInstance.html#getEnvironment">getEnvironment</a>, <a href="../symbols/JSONInstance.html#getProperties">getProperties</a>, <a href="../symbols/JSONInstance.html#getProperty">getProperty</a>, <a href="../symbols/JSONInstance.html#getPropertyNames">getPropertyNames</a>, <a href="../symbols/JSONInstance.html#getType">getType</a>, <a href="../symbols/JSONInstance.html#getURI">getURI</a>, <a href="../symbols/JSONInstance.html#getValue">getValue</a>, <a href="../symbols/JSONInstance.html#getValueOfProperty">getValueOfProperty</a>, <a href="../symbols/JSONInstance.html#resolveURI">resolveURI</a></dd>
+				</dl>
+				
+			
+<!-- ============================== events summary ======================== -->
+			
+
+<!-- ============================== constructor details ==================== -->		
+			
+			<div class="details"><a name="constructor"> </a>
+				<div class="sectionTitle">
+					Class Detail
+				</div>
+				
+				<div class="fixedFont">
+						<b>JSONSchema</b>(env, json, uri, schema)
+				</div>
+				
+				<div class="description">
+					This class binds a <a href="../symbols/JSONInstance.html">JSONInstance</a> with a <a href="../symbols/JSONSchema.html">JSONSchema</a> to provided context aware methods.
+					
+				</div>
+				
+				
+				
+				
+					
+						<dl class="detailList">
+						<dt class="heading">Parameters:</dt>
+						
+							<dt>
+								<span class="light fixedFont">{<a href="../symbols/Environment.html">Environment</a>}</span>  <b>env</b>
+								
+							</dt>
+								<dd>The environment this schema belongs to</dd>
+						
+							<dt>
+								<span class="light fixedFont">{<a href="../symbols/JSONInstance.html">JSONInstance</a>|Any}</span>  <b>json</b>
+								
+							</dt>
+								<dd>The value of the schema</dd>
+						
+							<dt>
+								<span class="light fixedFont">{String}</span>  <b>uri</b>
+								<i>Optional</i>
+							</dt>
+								<dd>The URI of the schema. If undefined, the URI will be a randomly generated UUID.</dd>
+						
+							<dt>
+								<span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>|Boolean}</span>  <b>schema</b>
+								<i>Optional</i>
+							</dt>
+								<dd>The schema to bind to the instance. If <code>undefined</code>, the environment's default schema will be used. If <code>true</code>, the instance's schema will be itself.</dd>
+						
+						</dl>
+					
+					
+					
+					
+					
+					
+					
+
+			</div>
+			
+
+<!-- ============================== field details ========================== -->		
+			
+
+<!-- ============================== method details ========================= -->		
+			
+				<div class="sectionTitle">
+					Method Detail
+				</div>
+				
+					<a name="getAttribute"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/JSONSchema.html">JSONSchema</a>|Any}</span>
+					<b>getAttribute</b>(key, arg)
+					
+					</div>
+					<div class="description">
+						Returns the value of the provided attribute name.
+<p>
+This method is different from <a href="../symbols/JSONInstance.html#getProperty">JSONInstance#getProperty</a> as the named property 
+is converted using a parser defined by the schema's schema before being returned. This
+makes the return value of this method attribute dependent.
+</p>
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>key</b>
+									
+								</dt>
+								<dd>The name of the attribute</dd>
+							
+								<dt>
+									<span class="light fixedFont">{Any}</span> <b>arg</b>
+									<i>Optional</i>
+								</dt>
+								<dd>Some attribute parsers accept special arguments for returning resolved values. This is attribute dependent.</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>|Any}</span> The value of the attribute</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="getAttributes"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{Object}</span>
+					<b>getAttributes</b>()
+					
+					</div>
+					<div class="description">
+						Returns all the attributes of the schema.
+						
+						
+					</div>
+					
+					
+					
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Object}</span> A map of all parsed attribute values</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="getLink"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{String|Object|undefined}</span>
+					<b>getLink</b>(rel, instance)
+					
+					</div>
+					<div class="description">
+						Convenience method for retrieving a link or link object from a schema. 
+This method is the same as calling <code>schema.getAttribute("links", [rel, instance])[0];</code>.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>rel</b>
+									
+								</dt>
+								<dd>The link relationship</dd>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/JSONInstance.html">JSONInstance</a>}</span> <b>instance</b>
+									<i>Optional</i>
+								</dt>
+								<dd>The instance to resolve any URIs from</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{String|Object|undefined}</span> If <code>instance</code> is provided, a string containing the resolve URI of the link is returned.
+  If <code>instance</code> is not provided, a link object is returned with details of the link.
+  If no link with the provided relationship exists, <code>undefined</code> is returned.</dd>
+							
+							</dl>
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">See:</dt>
+							
+								<dd><a href="../symbols/JSONSchema.html#getAttribute">JSONSchema#getAttribute</a></dd>
+							
+							</dl>
+						
+
+					<hr />
+				
+					<a name="getReference"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{String}</span>
+					<b>getReference</b>(name)
+					
+					</div>
+					<div class="description">
+						Returns the value of the provided reference name.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>name</b>
+									
+								</dt>
+								<dd>The name of the reference</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{String}</span> The value of the provided reference name</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="getSchema"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/JSONSchema.html">JSONSchema</a>}</span>
+					<b>getSchema</b>()
+					
+					</div>
+					<div class="description">
+						Returns the schema of the schema.
+						
+						
+					</div>
+					
+					
+					
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>}</span> The schema of the schema</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="setReference"> </a>
+					<div class="fixedFont">
+					
+					
+					<b>setReference</b>(name, uri)
+					
+					</div>
+					<div class="description">
+						Set the provided reference to the given value.
+<br/>
+References are used for establishing soft-links to other <a href="../symbols/JSONSchema.html">JSONSchema</a>s.
+Currently, the following references are natively supported:
+<dl>
+  <dt><code>full</code></dt>
+  <dd>The value is the URI to the full instance of this instance.</dd>
+  <dt><code>describedby</code></dt>
+  <dd>The value is the URI to the schema of this instance.</dd>
+</dl>
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>name</b>
+									
+								</dt>
+								<dd>The name of the reference</dd>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>uri</b>
+									
+								</dt>
+								<dd>The URI of the schema to refer to</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+						
+						
+
+					<hr />
+				
+					<a name="validate"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/Report.html">Report</a>}</span>
+					<b>validate</b>(instance, report, parent, parentSchema, name)
+					
+					</div>
+					<div class="description">
+						Validates the provided instance against the target schema and returns a <a href="../symbols/Report.html">Report</a>.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/JSONInstance.html">JSONInstance</a>|Any}</span> <b>instance</b>
+									
+								</dt>
+								<dd>The instance to validate; may be a <a href="../symbols/JSONInstance.html">JSONInstance</a> or any JavaScript value</dd>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/Report.html">Report</a>}</span> <b>report</b>
+									<i>Optional</i>
+								</dt>
+								<dd>A <a href="../symbols/Report.html">Report</a> to concatenate the result of the validation to. If <code>undefined</code>, a new <a href="../symbols/Report.html">Report</a> is created.</dd>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/JSONInstance.html">JSONInstance</a>}</span> <b>parent</b>
+									<i>Optional</i>
+								</dt>
+								<dd>The parent/containing instance of the provided instance</dd>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>}</span> <b>parentSchema</b>
+									<i>Optional</i>
+								</dt>
+								<dd>The schema of the parent/containing instance</dd>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>name</b>
+									<i>Optional</i>
+								</dt>
+								<dd>The name of the parent object's property that references the instance</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{<a href="../symbols/Report.html">Report</a>}</span> The result of the validation</dd>
+							
+							</dl>
+						
+						
+						
+
+					
+				
+			
+			
+<!-- ============================== event details ========================= -->		
+			
+			
+			<hr />
+		</div>
+
+		
+<!-- ============================== footer ================================= -->
+		<div class="fineprint" style="clear:both">
+			
+			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
+		</div>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/JSV.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/JSV.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/JSV.html	(revision 505)
@@ -0,0 +1,1525 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<title>JsDoc Reference - JSV</title>
+
+		<style type="text/css">
+			/* default.css */
+body
+{
+	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+	width: 800px;
+}
+
+.header
+{
+	clear: both;
+	background-color: #ccc;
+	padding: 8px;
+}
+
+h1
+{
+	font-size: 150%;
+	font-weight: bold;
+	padding: 0;
+	margin: 1em 0 0 .3em;
+}
+
+hr
+{
+	border: none 0;
+	border-top: 1px solid #7F8FB1;
+	height: 1px;
+}
+
+pre.code
+{
+	display: block;
+	padding: 8px;
+	border: 1px dashed #ccc;
+}
+
+#index
+{
+	margin-top: 24px;
+	float: left;
+	width: 160px;
+	position: absolute;
+	left: 8px;
+	background-color: #F3F3F3;
+	padding: 8px;
+}
+
+#content
+{
+	margin-left: 190px;
+	width: 600px;
+}
+
+.classList
+{
+	list-style-type: none;
+	padding: 0;
+	margin: 0 0 0 8px;
+	font-family: arial, sans-serif;
+	font-size: 1em;
+	overflow: auto;
+}
+
+.classList li
+{
+	padding: 0;
+	margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+	font-size:170%;
+	line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+	background-color: #7F8FB1;
+	color: #fff;
+	font-size:130%;
+	text-align: left;
+	padding: 2px 6px 2px 6px;
+	border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+	vertical-align: top;
+	padding: 4px;
+	border-bottom: 1px #7F8FB1 solid;
+	border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+	border-left: 1px #7F8FB1 solid;
+	width: 140px;
+	text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+	line-height: 15px;
+	color: #002EBE;
+	font-family: "Courier New",Courier,monospace;
+	font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+	text-align: left;
+	font-size: 13px;
+	line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+	line-height: 15px;
+	padding: 4px;
+	padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+	list-style: square;
+	margin-left: 20px;
+	padding-left: 0;
+}
+
+.detailList {
+	margin-left: 20px; 
+	line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+	font-weight: bold;
+	padding-bottom: 6px;
+	margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+	color: #777;
+	font-style: italic;
+}
+
+.fineprint
+{
+	text-align: right;
+	font-size: 10px;
+}
+		</style>
+	</head>
+
+	<body>
+<!-- ============================== header ================================= -->	
+		<!-- begin static/header.html -->
+		<div id="header">
+</div>
+		<!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+		<div id="index">
+			<!-- begin publish.classesIndex -->
+			<div align="center"><a href="../index.html">Class Index</a>
+| <a href="../files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+	
+	<li><a href="../symbols/Environment.html">Environment</a></li>
+	
+	<li><a href="../symbols/InitializationError.html">InitializationError</a></li>
+	
+	<li><a href="../symbols/JSONInstance.html">JSONInstance</a></li>
+	
+	<li><a href="../symbols/JSONSchema.html">JSONSchema</a></li>
+	
+	<li><a href="../symbols/JSV.html">JSV</a></li>
+	
+	<li><a href="../symbols/Report.html">Report</a></li>
+	
+	<li><a href="../symbols/ValidationError.html">ValidationError</a></li>
+	
+</ul>
+<hr />
+			<!-- end publish.classesIndex -->
+		</div>
+		
+		<div id="content">
+<!-- ============================== class title ============================ -->
+			<h1 class="classTitle">
+				
+				Namespace JSV
+			</h1>
+
+<!-- ============================== class summary ========================== -->			
+			<p class="description">
+				
+				
+			
+				
+				
+				
+					<br /><i>Defined in: </i> <a href="../symbols/src/jsv.js.html">jsv.js</a>.
+				
+			</p>
+
+<!-- ============================== constructor summary ==================== -->			
+			
+			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class JSV.">
+				<caption>Namespace Summary</caption>
+				<thead>
+					<tr>
+						<th scope="col">Constructor Attributes</th>
+						<th scope="col">Constructor Name and Description</th>
+					</tr>
+				</thead>
+				<tbody>
+					<tr>
+						<td class="attributes">&nbsp;</td>
+						<td class="nameDescription" >
+							<div class="fixedFont">
+								<b><a href="../symbols/JSV.html#constructor">JSV</a></b>
+							</div>
+							<div class="description">A globaly accessible object that provides the ability to create and manage Environments,
+as well as providing utility methods.</div>
+						</td>
+					</tr>
+				</tbody>
+			</table>
+			
+
+<!-- ============================== properties summary ===================== -->
+			
+
+<!-- ============================== methods summary ======================== -->
+			
+				
+				
+				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class JSV.">
+					<caption>Method Summary</caption>
+					<thead>
+						<tr>
+							<th scope="col">Method Attributes</th>
+							<th scope="col">Method Name and Description</th>
+						</tr>
+					</thead>
+					<tbody>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.createEnvironment">createEnvironment</a></b>(id)
+								</div>
+								<div class="description">Creates and returns a new <a href="../symbols/Environment.html">Environment</a> that is a clone of the environment registered with the provided ID.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.getDefaultEnvironmentID">getDefaultEnvironmentID</a></b>()
+								</div>
+								<div class="description">Returns the ID of the default environment.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.isJSONInstance">isJSONInstance</a></b>(o)
+								</div>
+								<div class="description">Returns if the provide value is an instance of <a href="../symbols/JSONInstance.html">JSONInstance</a>.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.isJSONSchema">isJSONSchema</a></b>(o)
+								</div>
+								<div class="description">Returns if the provide value is an instance of <a href="../symbols/JSONSchema.html">JSONSchema</a>.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.registerEnvironment">registerEnvironment</a></b>(id, env)
+								</div>
+								<div class="description">Registers the provided <a href="../symbols/Environment.html">Environment</a> with the provided ID.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.setDefaultEnvironmentID">setDefaultEnvironmentID</a></b>(id)
+								</div>
+								<div class="description">Sets which registered ID is the default environment.</div>
+							</td>
+						</tr>
+					
+					</tbody>
+				</table>
+				
+				
+				
+			
+<!-- ============================== events summary ======================== -->
+			
+				
+				
+				<table class="summaryTable" cellspacing="0" summary="A summary of the utility methods documented in the class JSV.">
+					<caption>Utility Method Summary</caption>
+					<thead>
+						<tr>
+							<th scope="col">Utility Method Attributes</th>
+							<th scope="col">Utility Method Name and Description</th>
+						</tr>
+					</thead>
+					<tbody>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:clone">clone</a></b>(o, deep)
+								</div>
+								<div class="description">Creates a copy of the target object.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:createObject">createObject</a></b>(proto)
+								</div>
+								<div class="description">Return a new object that inherits all of the properties of the provided object.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:escapeURIComponent">escapeURIComponent</a></b>(str)
+								</div>
+								<div class="description">Properly escapes a URI component for embedding into a URI string.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:filterArray">filterArray</a></b>(arr, iterator, scope)
+								</div>
+								<div class="description">Returns a new array that only contains the items allowed by the iterator.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:formatURI">formatURI</a></b>(uri)
+								</div>
+								<div class="description">Returns a URI that is formated for JSV.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:inherits">inherits</a></b>(base, extra, extension)
+								</div>
+								<div class="description">Merges two schemas/instance together.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:keys">keys</a></b>(o)
+								</div>
+								<div class="description">Returns an array of the names of all properties of an object.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:mapArray">mapArray</a></b>(arr, iterator, scope)
+								</div>
+								<div class="description">Returns a new array with each item transformed by the iterator.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:mapObject">mapObject</a></b>(obj, iterator, scope)
+								</div>
+								<div class="description">Returns a new object with each property transformed by the iterator.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:popFirst">popFirst</a></b>(arr, o)
+								</div>
+								<div class="description">Mutates the array by removing the first item that matches the provided value in the array.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:pushUnique">pushUnique</a></b>(arr, o)
+								</div>
+								<div class="description">Mutates the array by pushing the provided value onto the array only if it is not already there.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:randomUUID">randomUUID</a></b>()
+								</div>
+								<div class="description">Generates a pseudo-random UUID.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:searchArray">searchArray</a></b>(arr, o)
+								</div>
+								<div class="description">Returns the first index in the array that the provided item is located at.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:toArray">toArray</a></b>(o)
+								</div>
+								<div class="description">Returns an array representation of a value.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&lt;static&gt; &nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">JSV.<b><a href="../symbols/JSV.html#.event:typeOf">typeOf</a></b>(o)
+								</div>
+								<div class="description">Returns the name of the type of the provided value.</div>
+							</td>
+						</tr>
+					
+					</tbody>
+				</table>
+				
+				
+				
+			
+
+<!-- ============================== constructor details ==================== -->		
+			
+			<div class="details"><a name="constructor"> </a>
+				<div class="sectionTitle">
+					Namespace Detail
+				</div>
+				
+				<div class="fixedFont">
+						<b>JSV</b>
+				</div>
+				
+				<div class="description">
+					A globaly accessible object that provides the ability to create and manage Environments,
+as well as providing utility methods.
+					
+				</div>
+				
+				
+				
+				
+					
+					
+					
+					
+					
+					
+					
+
+			</div>
+			
+
+<!-- ============================== field details ========================== -->		
+			
+
+<!-- ============================== method details ========================= -->		
+			
+				<div class="sectionTitle">
+					Method Detail
+				</div>
+				
+					<a name=".createEnvironment"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{<a href="../symbols/Environment.html">Environment</a>}</span>
+					<span class="light">JSV.</span><b>createEnvironment</b>(id)
+					
+					</div>
+					<div class="description">
+						Creates and returns a new <a href="../symbols/Environment.html">Environment</a> that is a clone of the environment registered with the provided ID.
+If no environment ID is provided, the default environment is cloned.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>id</b>
+									<i>Optional</i>
+								</dt>
+								<dd>The ID of the environment to clone. If <code>undefined</code>, the default environment ID is used.</dd>
+							
+							</dl>
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Throws:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{Error}</span>  <b></b>
+								</dt>
+								<dd>If there is no environment registered with the provided ID</dd>
+							
+							</dl>
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{<a href="../symbols/Environment.html">Environment</a>}</span> A newly cloned <a href="../symbols/Environment.html">Environment</a></dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".getDefaultEnvironmentID"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{String}</span>
+					<span class="light">JSV.</span><b>getDefaultEnvironmentID</b>()
+					
+					</div>
+					<div class="description">
+						Returns the ID of the default environment.
+						
+						
+					</div>
+					
+					
+					
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{String}</span> The ID of the default environment</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".isJSONInstance"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{Boolean}</span>
+					<span class="light">JSV.</span><b>isJSONInstance</b>(o)
+					
+					</div>
+					<div class="description">
+						Returns if the provide value is an instance of <a href="../symbols/JSONInstance.html">JSONInstance</a>.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<b>o</b>
+									
+								</dt>
+								<dd>The value to test</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Boolean}</span> If the provide value is an instance of <a href="../symbols/JSONInstance.html">JSONInstance</a></dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".isJSONSchema"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{Boolean}</span>
+					<span class="light">JSV.</span><b>isJSONSchema</b>(o)
+					
+					</div>
+					<div class="description">
+						Returns if the provide value is an instance of <a href="../symbols/JSONSchema.html">JSONSchema</a>.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<b>o</b>
+									
+								</dt>
+								<dd>The value to test</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Boolean}</span> If the provide value is an instance of <a href="../symbols/JSONSchema.html">JSONSchema</a></dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".registerEnvironment"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					
+					<span class="light">JSV.</span><b>registerEnvironment</b>(id, env)
+					
+					</div>
+					<div class="description">
+						Registers the provided <a href="../symbols/Environment.html">Environment</a> with the provided ID.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>id</b>
+									
+								</dt>
+								<dd>The ID of the environment</dd>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/Environment.html">Environment</a>}</span> <b>env</b>
+									
+								</dt>
+								<dd>The environment to register</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+						
+						
+
+					<hr />
+				
+					<a name=".setDefaultEnvironmentID"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					
+					<span class="light">JSV.</span><b>setDefaultEnvironmentID</b>(id)
+					
+					</div>
+					<div class="description">
+						Sets which registered ID is the default environment.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>id</b>
+									
+								</dt>
+								<dd>The ID of the registered environment that is default</dd>
+							
+							</dl>
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Throws:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{Error}</span>  <b></b>
+								</dt>
+								<dd>If there is no registered environment with the provided ID</dd>
+							
+							</dl>
+						
+						
+						
+						
+
+					
+				
+			
+			
+<!-- ============================== event details ========================= -->		
+			
+				<div class="sectionTitle">
+					Utility Method Detail
+				</div>
+				
+					<a name=".event:clone"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					
+					<span class="light">JSV.</span><b>clone</b>(o, deep)
+					
+					</div>
+					<div class="description">
+						Creates a copy of the target object.
+<p>
+This method will create a new instance of the target, and then mixin the properties of the target.
+If <code>deep</code> is <code>true</code>, then each property will be cloned before mixin.
+</p>
+<p><b>Warning</b>: This is not a generic clone function, as it will only properly clone objects and arrays.</p>
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{Any}</span> <b>o</b>
+									
+								</dt>
+								<dd>The value to clone</dd>
+							
+								<dt>
+									<span class="light fixedFont">{Boolean}</span> <b>deep</b>
+									<i>Optional, Default: false</i>
+								</dt>
+								<dd>If each property should be recursively cloned</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd>A cloned copy of the provided value</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".event:createObject"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{Object}</span>
+					<span class="light">JSV.</span><b>createObject</b>(proto)
+					
+					</div>
+					<div class="description">
+						Return a new object that inherits all of the properties of the provided object.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{Object}</span> <b>proto</b>
+									
+								</dt>
+								<dd>The prototype of the new object</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Object}</span> A new object that inherits all of the properties of the provided object</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".event:escapeURIComponent"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{String}</span>
+					<span class="light">JSV.</span><b>escapeURIComponent</b>(str)
+					
+					</div>
+					<div class="description">
+						Properly escapes a URI component for embedding into a URI string.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>str</b>
+									
+								</dt>
+								<dd>The URI component to escape</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{String}</span> The escaped URI component</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".event:filterArray"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{Array}</span>
+					<span class="light">JSV.</span><b>filterArray</b>(arr, iterator, scope)
+					
+					</div>
+					<div class="description">
+						Returns a new array that only contains the items allowed by the iterator.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{Array}</span> <b>arr</b>
+									
+								</dt>
+								<dd>The array to filter</dd>
+							
+								<dt>
+									<span class="light fixedFont">{Function}</span> <b>iterator</b>
+									
+								</dt>
+								<dd>The function that returns true if the provided property should be added to the array</dd>
+							
+								<dt>
+									<span class="light fixedFont">{Object}</span> <b>scope</b>
+									
+								</dt>
+								<dd>The value of <code>this</code> within the iterator</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Array}</span> A new array that contains the items allowed by the iterator</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".event:formatURI"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{String}</span>
+					<span class="light">JSV.</span><b>formatURI</b>(uri)
+					
+					</div>
+					<div class="description">
+						Returns a URI that is formated for JSV. Currently, this only ensures that the URI ends with a hash tag (<code>#</code>).
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>uri</b>
+									
+								</dt>
+								<dd>The URI to format</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{String}</span> The URI formatted for JSV</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".event:inherits"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{Any}</span>
+					<span class="light">JSV.</span><b>inherits</b>(base, extra, extension)
+					
+					</div>
+					<div class="description">
+						Merges two schemas/instance together.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>|Any}</span> <b>base</b>
+									
+								</dt>
+								<dd>The old value to merge</dd>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>|Any}</span> <b>extra</b>
+									
+								</dt>
+								<dd>The new value to merge</dd>
+							
+								<dt>
+									<span class="light fixedFont">{Boolean}</span> <b>extension</b>
+									
+								</dt>
+								<dd>If the merge is a JSON Schema extension</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Any}</span> The modified base value</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".event:keys"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{Array}</span>
+					<span class="light">JSV.</span><b>keys</b>(o)
+					
+					</div>
+					<div class="description">
+						Returns an array of the names of all properties of an object.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{Object|Array}</span> <b>o</b>
+									
+								</dt>
+								<dd>The object in question</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Array}</span> The names of all properties</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".event:mapArray"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{Array}</span>
+					<span class="light">JSV.</span><b>mapArray</b>(arr, iterator, scope)
+					
+					</div>
+					<div class="description">
+						Returns a new array with each item transformed by the iterator.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{Array}</span> <b>arr</b>
+									
+								</dt>
+								<dd>The array to transform</dd>
+							
+								<dt>
+									<span class="light fixedFont">{Function}</span> <b>iterator</b>
+									
+								</dt>
+								<dd>A function that returns the new value of the provided item</dd>
+							
+								<dt>
+									<span class="light fixedFont">{Object}</span> <b>scope</b>
+									
+								</dt>
+								<dd>The value of <code>this</code> in the iterator</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Array}</span> A new array with each item transformed</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".event:mapObject"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{Object}</span>
+					<span class="light">JSV.</span><b>mapObject</b>(obj, iterator, scope)
+					
+					</div>
+					<div class="description">
+						Returns a new object with each property transformed by the iterator.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{Object}</span> <b>obj</b>
+									
+								</dt>
+								<dd>The object to transform</dd>
+							
+								<dt>
+									<span class="light fixedFont">{Function}</span> <b>iterator</b>
+									
+								</dt>
+								<dd>A function that returns the new value of the provided property</dd>
+							
+								<dt>
+									<span class="light fixedFont">{Object}</span> <b>scope</b>
+									<i>Optional</i>
+								</dt>
+								<dd>The value of <code>this</code> in the iterator</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Object}</span> A new object with each property transformed</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".event:popFirst"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{Array}</span>
+					<span class="light">JSV.</span><b>popFirst</b>(arr, o)
+					
+					</div>
+					<div class="description">
+						Mutates the array by removing the first item that matches the provided value in the array.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{Array}</span> <b>arr</b>
+									
+								</dt>
+								<dd>The array to modify</dd>
+							
+								<dt>
+									<span class="light fixedFont">{Any}</span> <b>o</b>
+									
+								</dt>
+								<dd>The object to remove from the array</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Array}</span> The provided array for chaining</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".event:pushUnique"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{Array}</span>
+					<span class="light">JSV.</span><b>pushUnique</b>(arr, o)
+					
+					</div>
+					<div class="description">
+						Mutates the array by pushing the provided value onto the array only if it is not already there.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{Array}</span> <b>arr</b>
+									
+								</dt>
+								<dd>The array to modify</dd>
+							
+								<dt>
+									<span class="light fixedFont">{Any}</span> <b>o</b>
+									
+								</dt>
+								<dd>The object to add to the array if it is not already there</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Array}</span> The provided array for chaining</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".event:randomUUID"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{String}</span>
+					<span class="light">JSV.</span><b>randomUUID</b>()
+					
+					</div>
+					<div class="description">
+						Generates a pseudo-random UUID.
+						
+						
+					</div>
+					
+					
+					
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{String}</span> A new universally unique ID</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".event:searchArray"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{Number}</span>
+					<span class="light">JSV.</span><b>searchArray</b>(arr, o)
+					
+					</div>
+					<div class="description">
+						Returns the first index in the array that the provided item is located at.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{Array}</span> <b>arr</b>
+									
+								</dt>
+								<dd>The array to search</dd>
+							
+								<dt>
+									<span class="light fixedFont">{Any}</span> <b>o</b>
+									
+								</dt>
+								<dd>The item being searched for</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Number}</span> The index of the item in the array, or <code>-1</code> if not found</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".event:toArray"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{Array}</span>
+					<span class="light">JSV.</span><b>toArray</b>(o)
+					
+					</div>
+					<div class="description">
+						Returns an array representation of a value.
+<ul>
+<li>For array-like objects, the value will be casted as an Array type.</li>
+<li>If an array is provided, the function will simply return the same array.</li>
+<li>For a null or undefined value, the result will be an empty Array.</li>
+<li>For all other values, the value will be the first element in a new Array. </li>
+</ul>
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{Any}</span> <b>o</b>
+									
+								</dt>
+								<dd>The value to convert into an array</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Array}</span> The value as an array</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name=".event:typeOf"> </a>
+					<div class="fixedFont">&lt;static&gt; 
+					
+					<span class="light">{String}</span>
+					<span class="light">JSV.</span><b>typeOf</b>(o)
+					
+					</div>
+					<div class="description">
+						Returns the name of the type of the provided value.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{Any}</span> <b>o</b>
+									
+								</dt>
+								<dd>The value to determine the type of</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{String}</span> The name of the type of the value</dd>
+							
+							</dl>
+						
+						
+						
+
+					
+				
+			
+			
+			<hr />
+		</div>
+
+		
+<!-- ============================== footer ================================= -->
+		<div class="fineprint" style="clear:both">
+			
+			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
+		</div>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/Report.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/Report.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/Report.html	(revision 505)
@@ -0,0 +1,749 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<title>JsDoc Reference - Report</title>
+
+		<style type="text/css">
+			/* default.css */
+body
+{
+	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+	width: 800px;
+}
+
+.header
+{
+	clear: both;
+	background-color: #ccc;
+	padding: 8px;
+}
+
+h1
+{
+	font-size: 150%;
+	font-weight: bold;
+	padding: 0;
+	margin: 1em 0 0 .3em;
+}
+
+hr
+{
+	border: none 0;
+	border-top: 1px solid #7F8FB1;
+	height: 1px;
+}
+
+pre.code
+{
+	display: block;
+	padding: 8px;
+	border: 1px dashed #ccc;
+}
+
+#index
+{
+	margin-top: 24px;
+	float: left;
+	width: 160px;
+	position: absolute;
+	left: 8px;
+	background-color: #F3F3F3;
+	padding: 8px;
+}
+
+#content
+{
+	margin-left: 190px;
+	width: 600px;
+}
+
+.classList
+{
+	list-style-type: none;
+	padding: 0;
+	margin: 0 0 0 8px;
+	font-family: arial, sans-serif;
+	font-size: 1em;
+	overflow: auto;
+}
+
+.classList li
+{
+	padding: 0;
+	margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+	font-size:170%;
+	line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+	background-color: #7F8FB1;
+	color: #fff;
+	font-size:130%;
+	text-align: left;
+	padding: 2px 6px 2px 6px;
+	border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+	vertical-align: top;
+	padding: 4px;
+	border-bottom: 1px #7F8FB1 solid;
+	border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+	border-left: 1px #7F8FB1 solid;
+	width: 140px;
+	text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+	line-height: 15px;
+	color: #002EBE;
+	font-family: "Courier New",Courier,monospace;
+	font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+	text-align: left;
+	font-size: 13px;
+	line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+	line-height: 15px;
+	padding: 4px;
+	padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+	list-style: square;
+	margin-left: 20px;
+	padding-left: 0;
+}
+
+.detailList {
+	margin-left: 20px; 
+	line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+	font-weight: bold;
+	padding-bottom: 6px;
+	margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+	color: #777;
+	font-style: italic;
+}
+
+.fineprint
+{
+	text-align: right;
+	font-size: 10px;
+}
+		</style>
+	</head>
+
+	<body>
+<!-- ============================== header ================================= -->	
+		<!-- begin static/header.html -->
+		<div id="header">
+</div>
+		<!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+		<div id="index">
+			<!-- begin publish.classesIndex -->
+			<div align="center"><a href="../index.html">Class Index</a>
+| <a href="../files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+	
+	<li><a href="../symbols/Environment.html">Environment</a></li>
+	
+	<li><a href="../symbols/InitializationError.html">InitializationError</a></li>
+	
+	<li><a href="../symbols/JSONInstance.html">JSONInstance</a></li>
+	
+	<li><a href="../symbols/JSONSchema.html">JSONSchema</a></li>
+	
+	<li><a href="../symbols/JSV.html">JSV</a></li>
+	
+	<li><a href="../symbols/Report.html">Report</a></li>
+	
+	<li><a href="../symbols/ValidationError.html">ValidationError</a></li>
+	
+</ul>
+<hr />
+			<!-- end publish.classesIndex -->
+		</div>
+		
+		<div id="content">
+<!-- ============================== class title ============================ -->
+			<h1 class="classTitle">
+				
+				Class Report
+			</h1>
+
+<!-- ============================== class summary ========================== -->			
+			<p class="description">
+				
+				
+			
+				
+				
+				
+					<br /><i>Defined in: </i> <a href="../symbols/src/jsv.js.html">jsv.js</a>.
+				
+			</p>
+
+<!-- ============================== constructor summary ==================== -->			
+			
+			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class Report.">
+				<caption>Class Summary</caption>
+				<thead>
+					<tr>
+						<th scope="col">Constructor Attributes</th>
+						<th scope="col">Constructor Name and Description</th>
+					</tr>
+				</thead>
+				<tbody>
+					<tr>
+						<td class="attributes">&nbsp;</td>
+						<td class="nameDescription" >
+							<div class="fixedFont">
+								<b><a href="../symbols/Report.html#constructor">Report</a></b>()
+							</div>
+							<div class="description">Reports are returned from validation methods to describe the result of a validation.</div>
+						</td>
+					</tr>
+				</tbody>
+			</table>
+			
+
+<!-- ============================== properties summary ===================== -->
+			
+				
+				
+				<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class Report.">
+					<caption>Field Summary</caption>
+					<thead>
+						<tr>
+							<th scope="col">Field Attributes</th>
+							<th scope="col">Field Name and Description</th>
+						</tr>
+					</thead>
+					<tbody>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">
+								<b><a href="../symbols/Report.html#errors">errors</a></b>
+								</div>
+								<div class="description">An array of <a href="../symbols/ValidationError.html">ValidationError</a> objects that define all the errors generated by the schema against the instance.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">
+								<b><a href="../symbols/Report.html#instance">instance</a></b>
+								</div>
+								<div class="description">If the report is generated by <a href="../symbols/Environment.html#validate">Environment#validate</a>, this field is the generated instance.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">
+								<b><a href="../symbols/Report.html#schema">schema</a></b>
+								</div>
+								<div class="description">If the report is generated by <a href="../symbols/Environment.html#validate">Environment#validate</a>, this field is the generated schema.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">
+								<b><a href="../symbols/Report.html#schemaSchema">schemaSchema</a></b>
+								</div>
+								<div class="description">If the report is generated by <a href="../symbols/Environment.html#validate">Environment#validate</a>, this field is the schema's schema.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">
+								<b><a href="../symbols/Report.html#validated">validated</a></b>
+								</div>
+								<div class="description">A hash table of every instance and what schemas were validated against it.</div>
+							</td>
+						</tr>
+					
+					</tbody>
+				</table>
+				
+				
+				
+			
+
+<!-- ============================== methods summary ======================== -->
+			
+				
+				
+				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class Report.">
+					<caption>Method Summary</caption>
+					<thead>
+						<tr>
+							<th scope="col">Method Attributes</th>
+							<th scope="col">Method Name and Description</th>
+						</tr>
+					</thead>
+					<tbody>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Report.html#addError">addError</a></b>(instance, schema, attr, message, details)
+								</div>
+								<div class="description">Adds a <a href="../symbols/ValidationError.html">ValidationError</a> object to the <a href="#errors"><code>errors</code></a> field.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Report.html#isValidatedBy">isValidatedBy</a></b>(uri, schemaUri)
+								</div>
+								<div class="description">Returns if an instance with the provided URI has been validated by the schema with the provided URI.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><b><a href="../symbols/Report.html#registerValidation">registerValidation</a></b>(uri, schemaUri)
+								</div>
+								<div class="description">Registers that the provided instance URI has been validated by the provided schema URI.</div>
+							</td>
+						</tr>
+					
+					</tbody>
+				</table>
+				
+				
+				
+			
+<!-- ============================== events summary ======================== -->
+			
+
+<!-- ============================== constructor details ==================== -->		
+			
+			<div class="details"><a name="constructor"> </a>
+				<div class="sectionTitle">
+					Class Detail
+				</div>
+				
+				<div class="fixedFont">
+						<b>Report</b>()
+				</div>
+				
+				<div class="description">
+					Reports are returned from validation methods to describe the result of a validation.
+					
+				</div>
+				
+				
+				
+				
+					
+					
+					
+					
+					
+					
+					
+						<dl class="detailList">
+						<dt class="heading">See:</dt>
+						
+							<dd><a href="../symbols/JSONSchema.html#validate">JSONSchema#validate</a></dd>
+						
+							<dd><a href="../symbols/Environment.html#validate">Environment#validate</a></dd>
+						
+						</dl>
+					
+
+			</div>
+			
+
+<!-- ============================== field details ========================== -->		
+			
+				<div class="sectionTitle">
+					Field Detail
+				</div>
+				
+					<a name="errors"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{Array}</span>
+					<b>errors</b>
+					
+					</div>
+					<div class="description">
+						An array of <a href="../symbols/ValidationError.html">ValidationError</a> objects that define all the errors generated by the schema against the instance.
+						
+						
+					</div>
+					
+					
+
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">See:</dt>
+							
+							<dd><a href="../symbols/Report.html#addError">Report#addError</a></dd>
+							
+							</dl>
+						
+						
+
+					<hr />
+				
+					<a name="instance"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/JSONInstance.html">JSONInstance</a>}</span>
+					<b>instance</b>
+					
+					</div>
+					<div class="description">
+						If the report is generated by <a href="../symbols/Environment.html#validate">Environment#validate</a>, this field is the generated instance.
+						
+						
+					</div>
+					
+					
+
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">See:</dt>
+							
+							<dd><a href="../symbols/Environment.html#validate">Environment#validate</a></dd>
+							
+							</dl>
+						
+						
+
+					<hr />
+				
+					<a name="schema"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/JSONSchema.html">JSONSchema</a>}</span>
+					<b>schema</b>
+					
+					</div>
+					<div class="description">
+						If the report is generated by <a href="../symbols/Environment.html#validate">Environment#validate</a>, this field is the generated schema.
+						
+						
+					</div>
+					
+					
+
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">See:</dt>
+							
+							<dd><a href="../symbols/Environment.html#validate">Environment#validate</a></dd>
+							
+							</dl>
+						
+						
+
+					<hr />
+				
+					<a name="schemaSchema"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{<a href="../symbols/JSONSchema.html">JSONSchema</a>}</span>
+					<b>schemaSchema</b>
+					
+					</div>
+					<div class="description">
+						If the report is generated by <a href="../symbols/Environment.html#validate">Environment#validate</a>, this field is the schema's schema.
+This value is the same as calling <code>schema.getSchema()</code>.
+						
+						
+					</div>
+					
+					
+
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">See:</dt>
+							
+							<dd><a href="../symbols/Environment.html#validate">Environment#validate</a></dd>
+							
+							<dd><a href="../symbols/JSONSchema.html#getSchema">JSONSchema#getSchema</a></dd>
+							
+							</dl>
+						
+						
+
+					<hr />
+				
+					<a name="validated"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{Object}</span>
+					<b>validated</b>
+					
+					</div>
+					<div class="description">
+						A hash table of every instance and what schemas were validated against it.
+<p>
+The key of each item in the table is the URI of the instance that was validated.
+The value of this key is an array of strings of URIs of the schema that validated it.
+</p>
+						
+						
+					</div>
+					
+					
+
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">See:</dt>
+							
+							<dd><a href="../symbols/Report.html#registerValidation">Report#registerValidation</a></dd>
+							
+							<dd><a href="../symbols/Report.html#isValidatedBy">Report#isValidatedBy</a></dd>
+							
+							</dl>
+						
+						
+
+					
+				
+			
+
+<!-- ============================== method details ========================= -->		
+			
+				<div class="sectionTitle">
+					Method Detail
+				</div>
+				
+					<a name="addError"> </a>
+					<div class="fixedFont">
+					
+					
+					<b>addError</b>(instance, schema, attr, message, details)
+					
+					</div>
+					<div class="description">
+						Adds a <a href="../symbols/ValidationError.html">ValidationError</a> object to the <a href="#errors"><code>errors</code></a> field.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/JSONInstance.html">JSONInstance</a>|String}</span> <b>instance</b>
+									
+								</dt>
+								<dd>The instance (or instance URI) that is invalid</dd>
+							
+								<dt>
+									<span class="light fixedFont">{<a href="../symbols/JSONSchema.html">JSONSchema</a>|String}</span> <b>schema</b>
+									
+								</dt>
+								<dd>The schema (or schema URI) that was validating the instance</dd>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>attr</b>
+									
+								</dt>
+								<dd>The attribute that failed to validated</dd>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>message</b>
+									
+								</dt>
+								<dd>A user-friendly message on why the schema attribute failed to validate the instance</dd>
+							
+								<dt>
+									<span class="light fixedFont">{Any}</span> <b>details</b>
+									
+								</dt>
+								<dd>The value of the schema attribute</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+						
+						
+
+					<hr />
+				
+					<a name="isValidatedBy"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{Boolean}</span>
+					<b>isValidatedBy</b>(uri, schemaUri)
+					
+					</div>
+					<div class="description">
+						Returns if an instance with the provided URI has been validated by the schema with the provided URI.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>uri</b>
+									
+								</dt>
+								<dd>The URI of the instance</dd>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>schemaUri</b>
+									
+								</dt>
+								<dd>The URI of a schema</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							
+								<dd><span class="light fixedFont">{Boolean}</span> If the instance has been validated by the schema.</dd>
+							
+							</dl>
+						
+						
+						
+
+					<hr />
+				
+					<a name="registerValidation"> </a>
+					<div class="fixedFont">
+					
+					
+					<b>registerValidation</b>(uri, schemaUri)
+					
+					</div>
+					<div class="description">
+						Registers that the provided instance URI has been validated by the provided schema URI. 
+This is recorded in the <a href="#validated"><code>validated</code></a> field.
+						
+						
+					</div>
+					
+					
+					
+						
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>uri</b>
+									
+								</dt>
+								<dd>The URI of the instance that was validated</dd>
+							
+								<dt>
+									<span class="light fixedFont">{String}</span> <b>schemaUri</b>
+									
+								</dt>
+								<dd>The URI of the schema that validated the instance</dd>
+							
+							</dl>
+						
+						
+						
+						
+						
+						
+						
+
+					
+				
+			
+			
+<!-- ============================== event details ========================= -->		
+			
+			
+			<hr />
+		</div>
+
+		
+<!-- ============================== footer ================================= -->
+		<div class="fineprint" style="clear:both">
+			
+			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
+		</div>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/ValidationError.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/ValidationError.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/ValidationError.html	(revision 505)
@@ -0,0 +1,502 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<title>JsDoc Reference - ValidationError</title>
+
+		<style type="text/css">
+			/* default.css */
+body
+{
+	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+	width: 800px;
+}
+
+.header
+{
+	clear: both;
+	background-color: #ccc;
+	padding: 8px;
+}
+
+h1
+{
+	font-size: 150%;
+	font-weight: bold;
+	padding: 0;
+	margin: 1em 0 0 .3em;
+}
+
+hr
+{
+	border: none 0;
+	border-top: 1px solid #7F8FB1;
+	height: 1px;
+}
+
+pre.code
+{
+	display: block;
+	padding: 8px;
+	border: 1px dashed #ccc;
+}
+
+#index
+{
+	margin-top: 24px;
+	float: left;
+	width: 160px;
+	position: absolute;
+	left: 8px;
+	background-color: #F3F3F3;
+	padding: 8px;
+}
+
+#content
+{
+	margin-left: 190px;
+	width: 600px;
+}
+
+.classList
+{
+	list-style-type: none;
+	padding: 0;
+	margin: 0 0 0 8px;
+	font-family: arial, sans-serif;
+	font-size: 1em;
+	overflow: auto;
+}
+
+.classList li
+{
+	padding: 0;
+	margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+	font-size:170%;
+	line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+	background-color: #7F8FB1;
+	color: #fff;
+	font-size:130%;
+	text-align: left;
+	padding: 2px 6px 2px 6px;
+	border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+	vertical-align: top;
+	padding: 4px;
+	border-bottom: 1px #7F8FB1 solid;
+	border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+	border-left: 1px #7F8FB1 solid;
+	width: 140px;
+	text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+	line-height: 15px;
+	color: #002EBE;
+	font-family: "Courier New",Courier,monospace;
+	font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+	text-align: left;
+	font-size: 13px;
+	line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+	line-height: 15px;
+	padding: 4px;
+	padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+	list-style: square;
+	margin-left: 20px;
+	padding-left: 0;
+}
+
+.detailList {
+	margin-left: 20px; 
+	line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+	font-weight: bold;
+	padding-bottom: 6px;
+	margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+	color: #777;
+	font-style: italic;
+}
+
+.fineprint
+{
+	text-align: right;
+	font-size: 10px;
+}
+		</style>
+	</head>
+
+	<body>
+<!-- ============================== header ================================= -->	
+		<!-- begin static/header.html -->
+		<div id="header">
+</div>
+		<!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+		<div id="index">
+			<!-- begin publish.classesIndex -->
+			<div align="center"><a href="../index.html">Class Index</a>
+| <a href="../files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+	
+	<li><a href="../symbols/Environment.html">Environment</a></li>
+	
+	<li><a href="../symbols/InitializationError.html">InitializationError</a></li>
+	
+	<li><a href="../symbols/JSONInstance.html">JSONInstance</a></li>
+	
+	<li><a href="../symbols/JSONSchema.html">JSONSchema</a></li>
+	
+	<li><a href="../symbols/JSV.html">JSV</a></li>
+	
+	<li><a href="../symbols/Report.html">Report</a></li>
+	
+	<li><a href="../symbols/ValidationError.html">ValidationError</a></li>
+	
+</ul>
+<hr />
+			<!-- end publish.classesIndex -->
+		</div>
+		
+		<div id="content">
+<!-- ============================== class title ============================ -->
+			<h1 class="classTitle">
+				
+				Class ValidationError
+			</h1>
+
+<!-- ============================== class summary ========================== -->			
+			<p class="description">
+				
+				
+			
+				
+				
+				
+					<br /><i>Defined in: </i> <a href="../symbols/src/jsv.js.html">jsv.js</a>.
+				
+			</p>
+
+<!-- ============================== constructor summary ==================== -->			
+			
+			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class ValidationError.">
+				<caption>Class Summary</caption>
+				<thead>
+					<tr>
+						<th scope="col">Constructor Attributes</th>
+						<th scope="col">Constructor Name and Description</th>
+					</tr>
+				</thead>
+				<tbody>
+					<tr>
+						<td class="attributes">&nbsp;</td>
+						<td class="nameDescription" >
+							<div class="fixedFont">
+								<b><a href="../symbols/ValidationError.html#constructor">ValidationError</a></b>()
+							</div>
+							<div class="description">Defines an error, found by a schema, with an instance.</div>
+						</td>
+					</tr>
+				</tbody>
+			</table>
+			
+
+<!-- ============================== properties summary ===================== -->
+			
+				
+				
+				<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class ValidationError.">
+					<caption>Field Summary</caption>
+					<thead>
+						<tr>
+							<th scope="col">Field Attributes</th>
+							<th scope="col">Field Name and Description</th>
+						</tr>
+					</thead>
+					<tbody>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">
+								<b><a href="../symbols/ValidationError.html#attribute">attribute</a></b>
+								</div>
+								<div class="description">The name of the schema attribute that generated the error.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">
+								<b><a href="../symbols/ValidationError.html#details">details</a></b>
+								</div>
+								<div class="description">The value of the schema attribute that generated the error.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">
+								<b><a href="../symbols/ValidationError.html#message">message</a></b>
+								</div>
+								<div class="description">An user-friendly (English) message about what failed to validate.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">
+								<b><a href="../symbols/ValidationError.html#schemaUri">schemaUri</a></b>
+								</div>
+								<div class="description">The URI of the schema that generated the error.</div>
+							</td>
+						</tr>
+					
+						<tr>
+							<td class="attributes">&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">
+								<b><a href="../symbols/ValidationError.html#uri">uri</a></b>
+								</div>
+								<div class="description">The URI of the instance that has the error.</div>
+							</td>
+						</tr>
+					
+					</tbody>
+				</table>
+				
+				
+				
+			
+
+<!-- ============================== methods summary ======================== -->
+			
+<!-- ============================== events summary ======================== -->
+			
+
+<!-- ============================== constructor details ==================== -->		
+			
+			<div class="details"><a name="constructor"> </a>
+				<div class="sectionTitle">
+					Class Detail
+				</div>
+				
+				<div class="fixedFont">
+						<b>ValidationError</b>()
+				</div>
+				
+				<div class="description">
+					Defines an error, found by a schema, with an instance.
+This class can only be instantiated by <a href="../symbols/Report.html#addError">Report#addError</a>.
+					
+				</div>
+				
+				
+				
+				
+					
+					
+					
+					
+					
+					
+					
+						<dl class="detailList">
+						<dt class="heading">See:</dt>
+						
+							<dd><a href="../symbols/Report.html#addError">Report#addError</a></dd>
+						
+						</dl>
+					
+
+			</div>
+			
+
+<!-- ============================== field details ========================== -->		
+			
+				<div class="sectionTitle">
+					Field Detail
+				</div>
+				
+					<a name="attribute"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{String}</span>
+					<b>attribute</b>
+					
+					</div>
+					<div class="description">
+						The name of the schema attribute that generated the error.
+						
+						
+					</div>
+					
+					
+
+						
+						
+						
+						
+
+					<hr />
+				
+					<a name="details"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{Any}</span>
+					<b>details</b>
+					
+					</div>
+					<div class="description">
+						The value of the schema attribute that generated the error.
+						
+						
+					</div>
+					
+					
+
+						
+						
+						
+						
+
+					<hr />
+				
+					<a name="message"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{String}</span>
+					<b>message</b>
+					
+					</div>
+					<div class="description">
+						An user-friendly (English) message about what failed to validate.
+						
+						
+					</div>
+					
+					
+
+						
+						
+						
+						
+
+					<hr />
+				
+					<a name="schemaUri"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{String}</span>
+					<b>schemaUri</b>
+					
+					</div>
+					<div class="description">
+						The URI of the schema that generated the error.
+						
+						
+					</div>
+					
+					
+
+						
+						
+						
+						
+
+					<hr />
+				
+					<a name="uri"> </a>
+					<div class="fixedFont">
+					
+					<span class="light">{String}</span>
+					<b>uri</b>
+					
+					</div>
+					<div class="description">
+						The URI of the instance that has the error.
+						
+						
+					</div>
+					
+					
+
+						
+						
+						
+						
+
+					
+				
+			
+
+<!-- ============================== method details ========================= -->		
+			
+			
+<!-- ============================== event details ========================= -->		
+			
+			
+			<hr />
+		</div>
+
+		
+<!-- ============================== footer ================================= -->
+		<div class="fineprint" style="clear:both">
+			
+			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:24 GMT-0600 (MDT)
+		</div>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/_global_.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/_global_.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/_global_.html	(revision 505)
@@ -0,0 +1,261 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<title>JsDoc Reference - _global_</title>
+
+		<style type="text/css">
+			/* default.css */
+body
+{
+	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+	width: 800px;
+}
+
+.header
+{
+	clear: both;
+	background-color: #ccc;
+	padding: 8px;
+}
+
+h1
+{
+	font-size: 150%;
+	font-weight: bold;
+	padding: 0;
+	margin: 1em 0 0 .3em;
+}
+
+hr
+{
+	border: none 0;
+	border-top: 1px solid #7F8FB1;
+	height: 1px;
+}
+
+pre.code
+{
+	display: block;
+	padding: 8px;
+	border: 1px dashed #ccc;
+}
+
+#index
+{
+	margin-top: 24px;
+	float: left;
+	width: 160px;
+	position: absolute;
+	left: 8px;
+	background-color: #F3F3F3;
+	padding: 8px;
+}
+
+#content
+{
+	margin-left: 190px;
+	width: 600px;
+}
+
+.classList
+{
+	list-style-type: none;
+	padding: 0;
+	margin: 0 0 0 8px;
+	font-family: arial, sans-serif;
+	font-size: 1em;
+	overflow: auto;
+}
+
+.classList li
+{
+	padding: 0;
+	margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+	font-size:170%;
+	line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+	background-color: #7F8FB1;
+	color: #fff;
+	font-size:130%;
+	text-align: left;
+	padding: 2px 6px 2px 6px;
+	border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+	vertical-align: top;
+	padding: 4px;
+	border-bottom: 1px #7F8FB1 solid;
+	border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+	border-left: 1px #7F8FB1 solid;
+	width: 140px;
+	text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+	line-height: 15px;
+	color: #002EBE;
+	font-family: "Courier New",Courier,monospace;
+	font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+	text-align: left;
+	font-size: 13px;
+	line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+	line-height: 15px;
+	padding: 4px;
+	padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+	list-style: square;
+	margin-left: 20px;
+	padding-left: 0;
+}
+
+.detailList {
+	margin-left: 20px; 
+	line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+	font-weight: bold;
+	padding-bottom: 6px;
+	margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+	color: #777;
+	font-style: italic;
+}
+
+.fineprint
+{
+	text-align: right;
+	font-size: 10px;
+}
+		</style>
+	</head>
+
+	<body>
+<!-- ============================== header ================================= -->	
+		<!-- begin static/header.html -->
+		<div id="header">
+</div>
+		<!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+		<div id="index">
+			<!-- begin publish.classesIndex -->
+			<div align="center"><a href="../index.html">Class Index</a>
+| <a href="../files.html">File Index</a></div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+	
+	<li><a href="../symbols/Environment.html">Environment</a></li>
+	
+	<li><a href="../symbols/InitializationError.html">InitializationError</a></li>
+	
+	<li><a href="../symbols/JSONInstance.html">JSONInstance</a></li>
+	
+	<li><a href="../symbols/JSONSchema.html">JSONSchema</a></li>
+	
+	<li><a href="../symbols/JSV.html">JSV</a></li>
+	
+	<li><a href="../symbols/Report.html">Report</a></li>
+	
+	<li><a href="../symbols/ValidationError.html">ValidationError</a></li>
+	
+</ul>
+<hr />
+			<!-- end publish.classesIndex -->
+		</div>
+		
+		<div id="content">
+<!-- ============================== class title ============================ -->
+			<h1 class="classTitle">
+				
+				Built-In Namespace _global_
+			</h1>
+
+<!-- ============================== class summary ========================== -->			
+			<p class="description">
+				
+				
+			
+				
+				
+				
+			</p>
+
+<!-- ============================== constructor summary ==================== -->			
+			
+
+<!-- ============================== properties summary ===================== -->
+			
+
+<!-- ============================== methods summary ======================== -->
+			
+<!-- ============================== events summary ======================== -->
+			
+
+<!-- ============================== constructor details ==================== -->		
+			
+
+<!-- ============================== field details ========================== -->		
+			
+
+<!-- ============================== method details ========================= -->		
+			
+			
+<!-- ============================== event details ========================= -->		
+			
+			
+			<hr />
+		</div>
+
+		
+<!-- ============================== footer ================================= -->
+		<div class="fineprint" style="clear:both">
+			
+			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Wed Sep 14 2011 18:53:23 GMT-0600 (MDT)
+		</div>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/src/jsv.js.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/src/jsv.js.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/docs/symbols/src/jsv.js.html	(revision 505)
@@ -0,0 +1,1504 @@
+<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"> <style>
+	.KEYW {color: #933;}
+	.COMM {color: #bbb; font-style: italic;}
+	.NUMB {color: #393;}
+	.STRN {color: #393;}
+	.REGX {color: #339;}
+	.line {border-right: 1px dotted #666; color: #666; font-style: normal;}
+	</style></head><body><pre><span class='line'>  1</span> <span class="COMM">/**
+<span class='line'>  2</span>  * JSV: JSON Schema Validator
+<span class='line'>  3</span>  * 
+<span class='line'>  4</span>  * @fileOverview A JavaScript implementation of a extendable, fully compliant JSON Schema validator.
+<span class='line'>  5</span>  * @author &lt;a href="mailto:gary.court@gmail.com">Gary Court&lt;/a>
+<span class='line'>  6</span>  * @version 4.0
+<span class='line'>  7</span>  * @see http://github.com/garycourt/JSV
+<span class='line'>  8</span>  */</span><span class="WHIT">
+<span class='line'>  9</span> 
+<span class='line'> 10</span> </span><span class="COMM">/*
+<span class='line'> 11</span>  * Copyright 2010 Gary Court. All rights reserved.
+<span class='line'> 12</span>  * 
+<span class='line'> 13</span>  * Redistribution and use in source and binary forms, with or without modification, are
+<span class='line'> 14</span>  * permitted provided that the following conditions are met:
+<span class='line'> 15</span>  * 
+<span class='line'> 16</span>  *    1. Redistributions of source code must retain the above copyright notice, this list of
+<span class='line'> 17</span>  *       conditions and the following disclaimer.
+<span class='line'> 18</span>  * 
+<span class='line'> 19</span>  *    2. Redistributions in binary form must reproduce the above copyright notice, this list
+<span class='line'> 20</span>  *       of conditions and the following disclaimer in the documentation and/or other materials
+<span class='line'> 21</span>  *       provided with the distribution.
+<span class='line'> 22</span>  * 
+<span class='line'> 23</span>  * THIS SOFTWARE IS PROVIDED BY GARY COURT ``AS IS'' AND ANY EXPRESS OR IMPLIED
+<span class='line'> 24</span>  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+<span class='line'> 25</span>  * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR
+<span class='line'> 26</span>  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+<span class='line'> 27</span>  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+<span class='line'> 28</span>  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+<span class='line'> 29</span>  * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+<span class='line'> 30</span>  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+<span class='line'> 31</span>  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+<span class='line'> 32</span>  * 
+<span class='line'> 33</span>  * The views and conclusions contained in the software and documentation are those of the
+<span class='line'> 34</span>  * authors and should not be interpreted as representing official policies, either expressed
+<span class='line'> 35</span>  * or implied, of Gary Court or the JSON Schema specification.
+<span class='line'> 36</span>  */</span><span class="WHIT">
+<span class='line'> 37</span> 
+<span class='line'> 38</span> </span><span class="COMM">/*jslint white: true, sub: true, onevar: true, undef: true, eqeqeq: true, newcap: true, immed: true, indent: 4 */</span><span class="WHIT">
+<span class='line'> 39</span> 
+<span class='line'> 40</span> </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">exports</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">exports</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'> 41</span> </span><span class="WHIT">	</span><span class="NAME">require</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">require</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'> 42</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">exports</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 43</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 44</span> 
+<span class='line'> 45</span> </span><span class="PUNC">(</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'> 46</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'> 47</span> </span><span class="WHIT">	</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">URI</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">require</span><span class="PUNC">(</span><span class="STRN">"./uri/uri"</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">URI</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'> 48</span> </span><span class="WHIT">		</span><span class="NAME">O</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'> 49</span> </span><span class="WHIT">		</span><span class="NAME">I2H</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"0123456789abcdef"</span><span class="PUNC">.</span><span class="NAME">split</span><span class="PUNC">(</span><span class="STRN">""</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'> 50</span> </span><span class="WHIT">		</span><span class="NAME">mapArray</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">filterArray</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">searchArray</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'> 51</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'> 52</span> </span><span class="WHIT">		</span><span class="NAME">JSV</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 53</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'> 54</span> </span><span class="WHIT">	</span><span class="COMM">//</span><span class="WHIT">
+<span class='line'> 55</span> </span><span class="WHIT">	</span><span class="COMM">// Utility functions</span><span class="WHIT">
+<span class='line'> 56</span> </span><span class="WHIT">	</span><span class="COMM">//</span><span class="WHIT">
+<span class='line'> 57</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'> 58</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">typeOf</span><span class="PUNC">(</span><span class="NAME">o</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'> 59</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">o</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="NAME">undefined</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="STRN">"undefined"</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">o</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="STRN">"null"</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">Object.prototype.toString.call</span><span class="PUNC">(</span><span class="NAME">o</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">split</span><span class="PUNC">(</span><span class="STRN">" "</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">pop</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">split</span><span class="PUNC">(</span><span class="STRN">"]"</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">shift</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">toLowerCase</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 60</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'> 61</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'> 62</span> </span><span class="WHIT">	</span><span class="COMM">/** @inner */</span><span class="WHIT">
+<span class='line'> 63</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">F</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'> 64</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'> 65</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">createObject</span><span class="PUNC">(</span><span class="NAME">proto</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'> 66</span> </span><span class="WHIT">		</span><span class="NAME">F.prototype</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">proto</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 67</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">F</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 68</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'> 69</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'> 70</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">mapObject</span><span class="PUNC">(</span><span class="NAME">obj</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">func</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">scope</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'> 71</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">newObj</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">key</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 72</span> </span><span class="WHIT">		</span><span class="KEYW">for</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">key</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">obj</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'> 73</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">obj</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="NAME">O</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'> 74</span> </span><span class="WHIT">				</span><span class="NAME">newObj</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">func.call</span><span class="PUNC">(</span><span class="NAME">scope</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">obj</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">key</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">obj</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 75</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'> 76</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'> 77</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">newObj</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 78</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'> 79</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'> 80</span> </span><span class="WHIT">	</span><span class="COMM">/** @ignore */</span><span class="WHIT">
+<span class='line'> 81</span> </span><span class="WHIT">	</span><span class="NAME">mapArray</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">arr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">func</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">scope</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'> 82</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">x</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">xl</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">arr.length</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">newArr</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">Array</span><span class="PUNC">(</span><span class="NAME">xl</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 83</span> </span><span class="WHIT">		</span><span class="KEYW">for</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="NAME">x</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NAME">xl</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="PUNC">++</span><span class="NAME">x</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'> 84</span> </span><span class="WHIT">			</span><span class="NAME">newArr</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">func.call</span><span class="PUNC">(</span><span class="NAME">scope</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">arr</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">x</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">arr</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 85</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'> 86</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">newArr</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 87</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 88</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'> 89</span> </span><span class="WHIT">	</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">Array.prototype.map</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'> 90</span> </span><span class="WHIT">		</span><span class="COMM">/** @ignore */</span><span class="WHIT">
+<span class='line'> 91</span> </span><span class="WHIT">		</span><span class="NAME">mapArray</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">arr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">func</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">scope</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'> 92</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">Array.prototype.map.call</span><span class="PUNC">(</span><span class="NAME">arr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">func</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">scope</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 93</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 94</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'> 95</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'> 96</span> </span><span class="WHIT">	</span><span class="COMM">/** @ignore */</span><span class="WHIT">
+<span class='line'> 97</span> </span><span class="WHIT">	</span><span class="NAME">filterArray</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">arr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">func</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">scope</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'> 98</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">x</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">xl</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">arr.length</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">newArr</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'> 99</span> </span><span class="WHIT">		</span><span class="KEYW">for</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="NAME">x</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NAME">xl</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="PUNC">++</span><span class="NAME">x</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>100</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">func.call</span><span class="PUNC">(</span><span class="NAME">scope</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">arr</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">x</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">arr</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>101</span> </span><span class="WHIT">				</span><span class="NAME">newArr</span><span class="PUNC">[</span><span class="NAME">newArr.length</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">arr</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>102</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>103</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>104</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">newArr</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>105</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>106</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>107</span> </span><span class="WHIT">	</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">Array.prototype.filter</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>108</span> </span><span class="WHIT">		</span><span class="COMM">/** @ignore */</span><span class="WHIT">
+<span class='line'>109</span> </span><span class="WHIT">		</span><span class="NAME">filterArray</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">arr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">func</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">scope</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>110</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">Array.prototype.filter.call</span><span class="PUNC">(</span><span class="NAME">arr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">func</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">scope</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>111</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>112</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>113</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>114</span> </span><span class="WHIT">	</span><span class="COMM">/** @ignore */</span><span class="WHIT">
+<span class='line'>115</span> </span><span class="WHIT">	</span><span class="NAME">searchArray</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">arr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">o</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>116</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">x</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">xl</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">arr.length</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>117</span> </span><span class="WHIT">		</span><span class="KEYW">for</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="NAME">x</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NAME">xl</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="PUNC">++</span><span class="NAME">x</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>118</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">arr</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="NAME">o</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>119</span> </span><span class="WHIT">				</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">x</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>120</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>121</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>122</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="NUMB">1</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>123</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>124</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>125</span> </span><span class="WHIT">	</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">Array.prototype.indexOf</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>126</span> </span><span class="WHIT">		</span><span class="COMM">/** @ignore */</span><span class="WHIT">
+<span class='line'>127</span> </span><span class="WHIT">		</span><span class="NAME">searchArray</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">arr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">o</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>128</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">Array.prototype.indexOf.call</span><span class="PUNC">(</span><span class="NAME">arr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">o</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>129</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>130</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>131</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>132</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">toArray</span><span class="PUNC">(</span><span class="NAME">o</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>133</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">o</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="NAME">undefined</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">o</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">o</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">Array</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="PUNC">!</span><span class="NAME">o.callee</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="NAME">o</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">o.length</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="STRN">"number"</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="NAME">o.split</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="NAME">o.setInterval</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="NAME">o.call</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="WHIT"> </span><span class="NAME">o</span><span class="WHIT"> </span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">Array.prototype.slice.call</span><span class="PUNC">(</span><span class="NAME">o</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>134</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>135</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>136</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">keys</span><span class="PUNC">(</span><span class="NAME">o</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>137</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">result</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">key</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>138</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>139</span> </span><span class="WHIT">		</span><span class="KEYW">switch</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">typeOf</span><span class="PUNC">(</span><span class="NAME">o</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>140</span> </span><span class="WHIT">		</span><span class="KEYW">case</span><span class="WHIT"> </span><span class="STRN">"object"</span><span class="PUNC">:</span><span class="WHIT">
+<span class='line'>141</span> </span><span class="WHIT">			</span><span class="KEYW">for</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">key</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">o</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>142</span> </span><span class="WHIT">				</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">o</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="NAME">O</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>143</span> </span><span class="WHIT">					</span><span class="NAME">result</span><span class="PUNC">[</span><span class="NAME">result.length</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">key</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>144</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>145</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>146</span> </span><span class="WHIT">			</span><span class="KEYW">break</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>147</span> </span><span class="WHIT">		</span><span class="KEYW">case</span><span class="WHIT"> </span><span class="STRN">"array"</span><span class="PUNC">:</span><span class="WHIT">
+<span class='line'>148</span> </span><span class="WHIT">			</span><span class="KEYW">for</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">key</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">o.length</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NUMB">1</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="NAME">key</span><span class="WHIT"> </span><span class="PUNC">>=</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="PUNC">--</span><span class="NAME">key</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>149</span> </span><span class="WHIT">				</span><span class="NAME">result</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">key</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>150</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>151</span> </span><span class="WHIT">			</span><span class="KEYW">break</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>152</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>153</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>154</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">result</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>155</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>156</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>157</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">pushUnique</span><span class="PUNC">(</span><span class="NAME">arr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">o</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>158</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">searchArray</span><span class="PUNC">(</span><span class="NAME">arr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">o</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="NUMB">1</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>159</span> </span><span class="WHIT">			</span><span class="NAME">arr.push</span><span class="PUNC">(</span><span class="NAME">o</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>160</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>161</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">arr</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>162</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>163</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>164</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">popFirst</span><span class="PUNC">(</span><span class="NAME">arr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">o</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>165</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">index</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">searchArray</span><span class="PUNC">(</span><span class="NAME">arr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">o</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>166</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">index</span><span class="WHIT"> </span><span class="PUNC">></span><span class="WHIT"> </span><span class="PUNC">-</span><span class="NUMB">1</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>167</span> </span><span class="WHIT">			</span><span class="NAME">arr.splice</span><span class="PUNC">(</span><span class="NAME">index</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NUMB">1</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>168</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>169</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">arr</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>170</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>171</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>172</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">randomUUID</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>173</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="WHIT">
+<span class='line'>174</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>175</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>176</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>177</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>178</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>179</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>180</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>181</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>182</span> </span><span class="WHIT">			</span><span class="STRN">"-"</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>183</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>184</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>185</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>186</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>187</span> </span><span class="WHIT">			</span><span class="STRN">"-4"</span><span class="PUNC">,</span><span class="WHIT">  </span><span class="COMM">//set 4 high bits of time_high field to version</span><span class="WHIT">
+<span class='line'>188</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>189</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>190</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>191</span> </span><span class="WHIT">			</span><span class="STRN">"-"</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>192</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="PUNC">(</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">&</span><span class="WHIT"> </span><span class="NUMB">0x3</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">|</span><span class="WHIT"> </span><span class="NUMB">0x8</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">  </span><span class="COMM">//specify 2 high bits of clock sequence</span><span class="WHIT">
+<span class='line'>193</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>194</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>195</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>196</span> </span><span class="WHIT">			</span><span class="STRN">"-"</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>197</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>198</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>199</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>200</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>201</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>202</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>203</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>204</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>205</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>206</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>207</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>208</span> </span><span class="WHIT">			</span><span class="NAME">I2H</span><span class="PUNC">[</span><span class="NAME">Math.floor</span><span class="PUNC">(</span><span class="NAME">Math.random</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">*</span><span class="WHIT"> </span><span class="NUMB">0x10</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="WHIT">
+<span class='line'>209</span> </span><span class="WHIT">		</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">join</span><span class="PUNC">(</span><span class="STRN">""</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>210</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>211</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>212</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">escapeURIComponent</span><span class="PUNC">(</span><span class="NAME">str</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>213</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">encodeURIComponent</span><span class="PUNC">(</span><span class="NAME">str</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">replace</span><span class="PUNC">(</span><span class="REGX">/!/g</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">'%21'</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">replace</span><span class="PUNC">(</span><span class="REGX">/'/g</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">'%27'</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">replace</span><span class="PUNC">(</span><span class="REGX">/\(/g</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">'%28'</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">replace</span><span class="PUNC">(</span><span class="REGX">/\)/g</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">'%29'</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">replace</span><span class="PUNC">(</span><span class="REGX">/\*/g</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">'%2A'</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>214</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>215</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>216</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">formatURI</span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>217</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"string"</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">uri.indexOf</span><span class="PUNC">(</span><span class="STRN">"#"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="NUMB">1</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>218</span> </span><span class="WHIT">			</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"#"</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>219</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>220</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>221</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>222</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>223</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">stripInstances</span><span class="PUNC">(</span><span class="NAME">o</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>224</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">o</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>225</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">o.getURI</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>226</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>227</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>228</span> </span><span class="WHIT">		</span><span class="KEYW">switch</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">typeOf</span><span class="PUNC">(</span><span class="NAME">o</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>229</span> </span><span class="WHIT">		</span><span class="KEYW">case</span><span class="WHIT"> </span><span class="STRN">"undefined"</span><span class="PUNC">:</span><span class="WHIT">
+<span class='line'>230</span> </span><span class="WHIT">		</span><span class="KEYW">case</span><span class="WHIT"> </span><span class="STRN">"null"</span><span class="PUNC">:</span><span class="WHIT">
+<span class='line'>231</span> </span><span class="WHIT">		</span><span class="KEYW">case</span><span class="WHIT"> </span><span class="STRN">"boolean"</span><span class="PUNC">:</span><span class="WHIT">
+<span class='line'>232</span> </span><span class="WHIT">		</span><span class="KEYW">case</span><span class="WHIT"> </span><span class="STRN">"number"</span><span class="PUNC">:</span><span class="WHIT">
+<span class='line'>233</span> </span><span class="WHIT">		</span><span class="KEYW">case</span><span class="WHIT"> </span><span class="STRN">"string"</span><span class="PUNC">:</span><span class="WHIT">
+<span class='line'>234</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">o</span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//do nothing</span><span class="WHIT">
+<span class='line'>235</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>236</span> </span><span class="WHIT">		</span><span class="KEYW">case</span><span class="WHIT"> </span><span class="STRN">"object"</span><span class="PUNC">:</span><span class="WHIT">
+<span class='line'>237</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">mapObject</span><span class="PUNC">(</span><span class="NAME">o</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">stripInstances</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>238</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>239</span> </span><span class="WHIT">		</span><span class="KEYW">case</span><span class="WHIT"> </span><span class="STRN">"array"</span><span class="PUNC">:</span><span class="WHIT">
+<span class='line'>240</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">mapArray</span><span class="PUNC">(</span><span class="NAME">o</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">stripInstances</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>241</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>242</span> </span><span class="WHIT">		</span><span class="KEYW">default</span><span class="PUNC">:</span><span class="WHIT">
+<span class='line'>243</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">o.toString</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>244</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>245</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>246</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>247</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>248</span> 	 * The exception that is thrown when a schema fails to be created.
+<span class='line'>249</span> 	 * 
+<span class='line'>250</span> 	 * @name InitializationError
+<span class='line'>251</span> 	 * @class
+<span class='line'>252</span> 	 * @param {JSONInstance|String} instance The instance (or instance URI) that is invalid
+<span class='line'>253</span> 	 * @param {JSONSchema|String} schema The schema (or schema URI) that was validating the instance
+<span class='line'>254</span> 	 * @param {String} attr The attribute that failed to validated
+<span class='line'>255</span> 	 * @param {String} message A user-friendly message on why the schema attribute failed to validate the instance
+<span class='line'>256</span> 	 * @param {Any} details The value of the schema attribute
+<span class='line'>257</span> 	 */</span><span class="WHIT">
+<span class='line'>258</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>259</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">InitializationError</span><span class="PUNC">(</span><span class="NAME">instance</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schema</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">attr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">message</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">details</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>260</span> </span><span class="WHIT">		</span><span class="NAME">Error.call</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">message</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>261</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>262</span> </span><span class="WHIT">		</span><span class="NAME">this.uri</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="NAME">instance.getURI</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>263</span> </span><span class="WHIT">		</span><span class="NAME">this.schemaUri</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">schema</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="NAME">schema.getURI</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">schema</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>264</span> </span><span class="WHIT">		</span><span class="NAME">this.attribute</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">attr</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>265</span> </span><span class="WHIT">		</span><span class="NAME">this.message</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">message</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>266</span> </span><span class="WHIT">		</span><span class="NAME">this.description</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">message</span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//IE</span><span class="WHIT">
+<span class='line'>267</span> </span><span class="WHIT">		</span><span class="NAME">this.details</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">details</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>268</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>269</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>270</span> </span><span class="WHIT">	</span><span class="NAME">InitializationError.prototype</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">Error</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>271</span> </span><span class="WHIT">	</span><span class="NAME">InitializationError.prototype.constructor</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">InitializationError</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>272</span> </span><span class="WHIT">	</span><span class="NAME">InitializationError.prototype.name</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"InitializationError"</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>273</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>274</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>275</span> 	 * Defines an error, found by a schema, with an instance.
+<span class='line'>276</span> 	 * This class can only be instantiated by {@link Report#addError}. 
+<span class='line'>277</span> 	 * 
+<span class='line'>278</span> 	 * @name ValidationError
+<span class='line'>279</span> 	 * @class
+<span class='line'>280</span> 	 * @see Report#addError
+<span class='line'>281</span> 	 */</span><span class="WHIT">
+<span class='line'>282</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>283</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>284</span> 	 * The URI of the instance that has the error.
+<span class='line'>285</span> 	 * 
+<span class='line'>286</span> 	 * @name ValidationError.prototype.uri
+<span class='line'>287</span> 	 * @type String
+<span class='line'>288</span> 	 */</span><span class="WHIT">
+<span class='line'>289</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>290</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>291</span> 	 * The URI of the schema that generated the error.
+<span class='line'>292</span> 	 * 
+<span class='line'>293</span> 	 * @name ValidationError.prototype.schemaUri
+<span class='line'>294</span> 	 * @type String
+<span class='line'>295</span> 	 */</span><span class="WHIT">
+<span class='line'>296</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>297</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>298</span> 	 * The name of the schema attribute that generated the error.
+<span class='line'>299</span> 	 * 
+<span class='line'>300</span> 	 * @name ValidationError.prototype.attribute
+<span class='line'>301</span> 	 * @type String
+<span class='line'>302</span> 	 */</span><span class="WHIT">
+<span class='line'>303</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>304</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>305</span> 	 * An user-friendly (English) message about what failed to validate.
+<span class='line'>306</span> 	 * 
+<span class='line'>307</span> 	 * @name ValidationError.prototype.message
+<span class='line'>308</span> 	 * @type String
+<span class='line'>309</span> 	 */</span><span class="WHIT">
+<span class='line'>310</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>311</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>312</span> 	 * The value of the schema attribute that generated the error.
+<span class='line'>313</span> 	 * 
+<span class='line'>314</span> 	 * @name ValidationError.prototype.details
+<span class='line'>315</span> 	 * @type Any
+<span class='line'>316</span> 	 */</span><span class="WHIT">
+<span class='line'>317</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>318</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>319</span> 	 * Reports are returned from validation methods to describe the result of a validation.
+<span class='line'>320</span> 	 * 
+<span class='line'>321</span> 	 * @name Report
+<span class='line'>322</span> 	 * @class
+<span class='line'>323</span> 	 * @see JSONSchema#validate
+<span class='line'>324</span> 	 * @see Environment#validate
+<span class='line'>325</span> 	 */</span><span class="WHIT">
+<span class='line'>326</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>327</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">Report</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>328</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>329</span> 		 * An array of {@link ValidationError} objects that define all the errors generated by the schema against the instance.
+<span class='line'>330</span> 		 * 
+<span class='line'>331</span> 		 * @name Report.prototype.errors
+<span class='line'>332</span> 		 * @type Array
+<span class='line'>333</span> 		 * @see Report#addError
+<span class='line'>334</span> 		 */</span><span class="WHIT">
+<span class='line'>335</span> </span><span class="WHIT">		</span><span class="NAME">this.errors</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>336</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>337</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>338</span> 		 * A hash table of every instance and what schemas were validated against it.
+<span class='line'>339</span> 		 * &lt;p>
+<span class='line'>340</span> 		 * The key of each item in the table is the URI of the instance that was validated.
+<span class='line'>341</span> 		 * The value of this key is an array of strings of URIs of the schema that validated it.
+<span class='line'>342</span> 		 * &lt;/p>
+<span class='line'>343</span> 		 * 
+<span class='line'>344</span> 		 * @name Report.prototype.validated
+<span class='line'>345</span> 		 * @type Object
+<span class='line'>346</span> 		 * @see Report#registerValidation
+<span class='line'>347</span> 		 * @see Report#isValidatedBy
+<span class='line'>348</span> 		 */</span><span class="WHIT">
+<span class='line'>349</span> </span><span class="WHIT">		</span><span class="NAME">this.validated</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>350</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>351</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>352</span> 		 * If the report is generated by {@link Environment#validate}, this field is the generated instance.
+<span class='line'>353</span> 		 * 
+<span class='line'>354</span> 		 * @name Report.prototype.instance
+<span class='line'>355</span> 		 * @type JSONInstance
+<span class='line'>356</span> 		 * @see Environment#validate
+<span class='line'>357</span> 		 */</span><span class="WHIT">
+<span class='line'>358</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>359</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>360</span> 		 * If the report is generated by {@link Environment#validate}, this field is the generated schema.
+<span class='line'>361</span> 		 * 
+<span class='line'>362</span> 		 * @name Report.prototype.schema
+<span class='line'>363</span> 		 * @type JSONSchema
+<span class='line'>364</span> 		 * @see Environment#validate
+<span class='line'>365</span> 		 */</span><span class="WHIT">
+<span class='line'>366</span> </span><span class="WHIT">		 </span><span class="WHIT">
+<span class='line'>367</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>368</span> 		 * If the report is generated by {@link Environment#validate}, this field is the schema's schema.
+<span class='line'>369</span> 		 * This value is the same as calling &lt;code>schema.getSchema()&lt;/code>.
+<span class='line'>370</span> 		 * 
+<span class='line'>371</span> 		 * @name Report.prototype.schemaSchema
+<span class='line'>372</span> 		 * @type JSONSchema
+<span class='line'>373</span> 		 * @see Environment#validate
+<span class='line'>374</span> 		 * @see JSONSchema#getSchema
+<span class='line'>375</span> 		 */</span><span class="WHIT">
+<span class='line'>376</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>377</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>378</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>379</span> 	 * Adds a {@link ValidationError} object to the &lt;a href="#errors">&lt;code>errors&lt;/code>&lt;/a> field.
+<span class='line'>380</span> 	 * 
+<span class='line'>381</span> 	 * @param {JSONInstance|String} instance The instance (or instance URI) that is invalid
+<span class='line'>382</span> 	 * @param {JSONSchema|String} schema The schema (or schema URI) that was validating the instance
+<span class='line'>383</span> 	 * @param {String} attr The attribute that failed to validated
+<span class='line'>384</span> 	 * @param {String} message A user-friendly message on why the schema attribute failed to validate the instance
+<span class='line'>385</span> 	 * @param {Any} details The value of the schema attribute
+<span class='line'>386</span> 	 */</span><span class="WHIT">
+<span class='line'>387</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>388</span> </span><span class="WHIT">	</span><span class="NAME">Report.prototype.addError</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">instance</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schema</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">attr</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">message</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">details</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>389</span> </span><span class="WHIT">		</span><span class="NAME">this.errors.push</span><span class="PUNC">(</span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>390</span> </span><span class="WHIT">			</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="NAME">instance.getURI</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>391</span> </span><span class="WHIT">			</span><span class="NAME">schemaUri</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">schema</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="NAME">schema.getURI</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">schema</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>392</span> </span><span class="WHIT">			</span><span class="NAME">attribute</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">attr</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>393</span> </span><span class="WHIT">			</span><span class="NAME">message</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">message</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>394</span> </span><span class="WHIT">			</span><span class="NAME">details</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">stripInstances</span><span class="PUNC">(</span><span class="NAME">details</span><span class="PUNC">)</span><span class="WHIT">
+<span class='line'>395</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>396</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>397</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>398</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>399</span> 	 * Registers that the provided instance URI has been validated by the provided schema URI. 
+<span class='line'>400</span> 	 * This is recorded in the &lt;a href="#validated">&lt;code>validated&lt;/code>&lt;/a> field.
+<span class='line'>401</span> 	 * 
+<span class='line'>402</span> 	 * @param {String} uri The URI of the instance that was validated
+<span class='line'>403</span> 	 * @param {String} schemaUri The URI of the schema that validated the instance
+<span class='line'>404</span> 	 */</span><span class="WHIT">
+<span class='line'>405</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>406</span> </span><span class="WHIT">	</span><span class="NAME">Report.prototype.registerValidation</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schemaUri</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>407</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="NAME">this.validated</span><span class="PUNC">[</span><span class="NAME">uri</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>408</span> </span><span class="WHIT">			</span><span class="NAME">this.validated</span><span class="PUNC">[</span><span class="NAME">uri</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="WHIT"> </span><span class="NAME">schemaUri</span><span class="WHIT"> </span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>409</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>410</span> </span><span class="WHIT">			</span><span class="NAME">this.validated</span><span class="PUNC">[</span><span class="NAME">uri</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">push</span><span class="PUNC">(</span><span class="NAME">schemaUri</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>411</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>412</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>413</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>414</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>415</span> 	 * Returns if an instance with the provided URI has been validated by the schema with the provided URI. 
+<span class='line'>416</span> 	 * 
+<span class='line'>417</span> 	 * @param {String} uri The URI of the instance
+<span class='line'>418</span> 	 * @param {String} schemaUri The URI of a schema
+<span class='line'>419</span> 	 * @returns {Boolean} If the instance has been validated by the schema.
+<span class='line'>420</span> 	 */</span><span class="WHIT">
+<span class='line'>421</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>422</span> </span><span class="WHIT">	</span><span class="NAME">Report.prototype.isValidatedBy</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schemaUri</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>423</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="PUNC">!</span><span class="PUNC">!</span><span class="NAME">this.validated</span><span class="PUNC">[</span><span class="NAME">uri</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">searchArray</span><span class="PUNC">(</span><span class="NAME">this.validated</span><span class="PUNC">[</span><span class="NAME">uri</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schemaUri</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="NUMB">1</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>424</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>425</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>426</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>427</span> 	 * A wrapper class for binding an Environment, URI and helper methods to an instance. 
+<span class='line'>428</span> 	 * This class is most commonly instantiated with {@link Environment#createInstance}.
+<span class='line'>429</span> 	 * 
+<span class='line'>430</span> 	 * @name JSONInstance
+<span class='line'>431</span> 	 * @class
+<span class='line'>432</span> 	 * @param {Environment} env The environment this instance belongs to
+<span class='line'>433</span> 	 * @param {JSONInstance|Any} json The value of the instance
+<span class='line'>434</span> 	 * @param {String} [uri] The URI of the instance. If undefined, the URI will be a randomly generated UUID. 
+<span class='line'>435</span> 	 * @param {String} [fd] The fragment delimiter for properties. If undefined, uses the environment default.
+<span class='line'>436</span> 	 */</span><span class="WHIT">
+<span class='line'>437</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>438</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">(</span><span class="NAME">env</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">json</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">fd</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>439</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">json</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>440</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">fd</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="STRN">"string"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>441</span> </span><span class="WHIT">				</span><span class="NAME">fd</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">json._fd</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>442</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>443</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="STRN">"string"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>444</span> </span><span class="WHIT">				</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">json._uri</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>445</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>446</span> </span><span class="WHIT">			</span><span class="NAME">json</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">json._value</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>447</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>448</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>449</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="STRN">"string"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>450</span> </span><span class="WHIT">			</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"urn:uuid:"</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">randomUUID</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"#"</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>451</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">uri.indexOf</span><span class="PUNC">(</span><span class="STRN">":"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="NUMB">1</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>452</span> </span><span class="WHIT">			</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">formatURI</span><span class="PUNC">(</span><span class="NAME">URI.resolve</span><span class="PUNC">(</span><span class="STRN">"urn:uuid:"</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">randomUUID</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"#"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>453</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>454</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>455</span> </span><span class="WHIT">		</span><span class="NAME">this._env</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">env</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>456</span> </span><span class="WHIT">		</span><span class="NAME">this._value</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">json</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>457</span> </span><span class="WHIT">		</span><span class="NAME">this._uri</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>458</span> </span><span class="WHIT">		</span><span class="NAME">this._fd</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">fd</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="NAME">this._env._options</span><span class="PUNC">[</span><span class="STRN">"defaultFragmentDelimiter"</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>459</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>460</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>461</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>462</span> 	 * Returns the environment the instance is bound to.
+<span class='line'>463</span> 	 * 
+<span class='line'>464</span> 	 * @returns {Environment} The environment of the instance
+<span class='line'>465</span> 	 */</span><span class="WHIT">
+<span class='line'>466</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>467</span> </span><span class="WHIT">	</span><span class="NAME">JSONInstance.prototype.getEnvironment</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>468</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._env</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>469</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>470</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>471</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>472</span> 	 * Returns the name of the type of the instance.
+<span class='line'>473</span> 	 * 
+<span class='line'>474</span> 	 * @returns {String} The name of the type of the instance
+<span class='line'>475</span> 	 */</span><span class="WHIT">
+<span class='line'>476</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>477</span> </span><span class="WHIT">	</span><span class="NAME">JSONInstance.prototype.getType</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>478</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">typeOf</span><span class="PUNC">(</span><span class="NAME">this._value</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>479</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>480</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>481</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>482</span> 	 * Returns the JSON value of the instance.
+<span class='line'>483</span> 	 * 
+<span class='line'>484</span> 	 * @returns {Any} The actual JavaScript value of the instance
+<span class='line'>485</span> 	 */</span><span class="WHIT">
+<span class='line'>486</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>487</span> </span><span class="WHIT">	</span><span class="NAME">JSONInstance.prototype.getValue</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>488</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._value</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>489</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>490</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>491</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>492</span> 	 * Returns the URI of the instance.
+<span class='line'>493</span> 	 * 
+<span class='line'>494</span> 	 * @returns {String} The URI of the instance
+<span class='line'>495</span> 	 */</span><span class="WHIT">
+<span class='line'>496</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>497</span> </span><span class="WHIT">	</span><span class="NAME">JSONInstance.prototype.getURI</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>498</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._uri</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>499</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>500</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>501</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>502</span> 	 * Returns a resolved URI of a provided relative URI against the URI of the instance.
+<span class='line'>503</span> 	 * 
+<span class='line'>504</span> 	 * @param {String} uri The relative URI to resolve
+<span class='line'>505</span> 	 * @returns {String} The resolved URI
+<span class='line'>506</span> 	 */</span><span class="WHIT">
+<span class='line'>507</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>508</span> </span><span class="WHIT">	</span><span class="NAME">JSONInstance.prototype.resolveURI</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>509</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">formatURI</span><span class="PUNC">(</span><span class="NAME">URI.resolve</span><span class="PUNC">(</span><span class="NAME">this._uri</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>510</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>511</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>512</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>513</span> 	 * Returns an array of the names of all the properties.
+<span class='line'>514</span> 	 * 
+<span class='line'>515</span> 	 * @returns {Array} An array of strings which are the names of all the properties
+<span class='line'>516</span> 	 */</span><span class="WHIT">
+<span class='line'>517</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>518</span> </span><span class="WHIT">	</span><span class="NAME">JSONInstance.prototype.getPropertyNames</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>519</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">keys</span><span class="PUNC">(</span><span class="NAME">this._value</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>520</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>521</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>522</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>523</span> 	 * Returns a {@link JSONInstance} of the value of the provided property name. 
+<span class='line'>524</span> 	 * 
+<span class='line'>525</span> 	 * @param {String} key The name of the property to fetch
+<span class='line'>526</span> 	 * @returns {JSONInstance} The instance of the property value
+<span class='line'>527</span> 	 */</span><span class="WHIT">
+<span class='line'>528</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>529</span> </span><span class="WHIT">	</span><span class="NAME">JSONInstance.prototype.getProperty</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">key</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>530</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">value</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this._value</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="NAME">this._value</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">undefined</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>531</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">value</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>532</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">value</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>533</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>534</span> </span><span class="WHIT">		</span><span class="COMM">//else</span><span class="WHIT">
+<span class='line'>535</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">(</span><span class="NAME">this._env</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">value</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this._uri</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">this._fd</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">escapeURIComponent</span><span class="PUNC">(</span><span class="NAME">key</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this._fd</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>536</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>537</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>538</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>539</span> 	 * Returns all the property instances of the target instance.
+<span class='line'>540</span> 	 * &lt;p>
+<span class='line'>541</span> 	 * If the target instance is an Object, then the method will return a hash table of {@link JSONInstance}s of all the properties. 
+<span class='line'>542</span> 	 * If the target instance is an Array, then the method will return an array of {@link JSONInstance}s of all the items.
+<span class='line'>543</span> 	 * &lt;/p> 
+<span class='line'>544</span> 	 * 
+<span class='line'>545</span> 	 * @returns {Object|Array|undefined} The list of instances for all the properties
+<span class='line'>546</span> 	 */</span><span class="WHIT">
+<span class='line'>547</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>548</span> </span><span class="WHIT">	</span><span class="NAME">JSONInstance.prototype.getProperties</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>549</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">type</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">typeOf</span><span class="PUNC">(</span><span class="NAME">this._value</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>550</span> </span><span class="WHIT">			</span><span class="NAME">self</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>551</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>552</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">type</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"object"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>553</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">mapObject</span><span class="PUNC">(</span><span class="NAME">this._value</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">value</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">key</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>554</span> </span><span class="WHIT">				</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">value</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>555</span> </span><span class="WHIT">					</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">value</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>556</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>557</span> </span><span class="WHIT">				</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">(</span><span class="NAME">self._env</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">value</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">self._uri</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">self._fd</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">escapeURIComponent</span><span class="PUNC">(</span><span class="NAME">key</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">self._fd</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>558</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>559</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">type</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"array"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>560</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">mapArray</span><span class="PUNC">(</span><span class="NAME">this._value</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">value</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">key</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>561</span> </span><span class="WHIT">				</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">value</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>562</span> </span><span class="WHIT">					</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">value</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>563</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>564</span> </span><span class="WHIT">				</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">(</span><span class="NAME">self._env</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">value</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">self._uri</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">self._fd</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">escapeURIComponent</span><span class="PUNC">(</span><span class="NAME">key</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">self._fd</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>565</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>566</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>567</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>568</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>569</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>570</span> 	 * Returns the JSON value of the provided property name. 
+<span class='line'>571</span> 	 * This method is a faster version of calling &lt;code>instance.getProperty(key).getValue()&lt;/code>.
+<span class='line'>572</span> 	 * 
+<span class='line'>573</span> 	 * @param {String} key The name of the property
+<span class='line'>574</span> 	 * @returns {Any} The JavaScript value of the instance
+<span class='line'>575</span> 	 * @see JSONInstance#getProperty
+<span class='line'>576</span> 	 * @see JSONInstance#getValue
+<span class='line'>577</span> 	 */</span><span class="WHIT">
+<span class='line'>578</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>579</span> </span><span class="WHIT">	</span><span class="NAME">JSONInstance.prototype.getValueOfProperty</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">key</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>580</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">this._value</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>581</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">this._value</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>582</span> </span><span class="WHIT">				</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._value</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">_value</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>583</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>584</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._value</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>585</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>586</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>587</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>588</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>589</span> 	 * Return if the provided value is the same as the value of the instance.
+<span class='line'>590</span> 	 * 
+<span class='line'>591</span> 	 * @param {JSONInstance|Any} instance The value to compare
+<span class='line'>592</span> 	 * @returns {Boolean} If both the instance and the value match
+<span class='line'>593</span> 	 */</span><span class="WHIT">
+<span class='line'>594</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>595</span> </span><span class="WHIT">	</span><span class="NAME">JSONInstance.prototype.equals</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">instance</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>596</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">instance</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>597</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._value</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="NAME">instance._value</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>598</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>599</span> </span><span class="WHIT">		</span><span class="COMM">//else</span><span class="WHIT">
+<span class='line'>600</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._value</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>601</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>602</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>603</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>604</span> 	 * Warning: Not a generic clone function
+<span class='line'>605</span> 	 * Produces a JSV acceptable clone
+<span class='line'>606</span> 	 */</span><span class="WHIT">
+<span class='line'>607</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>608</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">clone</span><span class="PUNC">(</span><span class="NAME">obj</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">deep</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>609</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">newObj</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">x</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>610</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>611</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">obj</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>612</span> </span><span class="WHIT">			</span><span class="NAME">obj</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">obj.getValue</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>613</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>614</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>615</span> </span><span class="WHIT">		</span><span class="KEYW">switch</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">typeOf</span><span class="PUNC">(</span><span class="NAME">obj</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>616</span> </span><span class="WHIT">		</span><span class="KEYW">case</span><span class="WHIT"> </span><span class="STRN">"object"</span><span class="PUNC">:</span><span class="WHIT">
+<span class='line'>617</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">deep</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>618</span> </span><span class="WHIT">				</span><span class="NAME">newObj</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>619</span> </span><span class="WHIT">				</span><span class="KEYW">for</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">x</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">obj</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>620</span> </span><span class="WHIT">					</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">obj</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="NAME">O</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>621</span> </span><span class="WHIT">						</span><span class="NAME">newObj</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">clone</span><span class="PUNC">(</span><span class="NAME">obj</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">deep</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>622</span> </span><span class="WHIT">					</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>623</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>624</span> </span><span class="WHIT">				</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">newObj</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>625</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>626</span> </span><span class="WHIT">				</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">createObject</span><span class="PUNC">(</span><span class="NAME">obj</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>627</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>628</span> </span><span class="WHIT">			</span><span class="KEYW">break</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>629</span> </span><span class="WHIT">		</span><span class="KEYW">case</span><span class="WHIT"> </span><span class="STRN">"array"</span><span class="PUNC">:</span><span class="WHIT">
+<span class='line'>630</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">deep</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>631</span> </span><span class="WHIT">				</span><span class="NAME">newObj</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">Array</span><span class="PUNC">(</span><span class="NAME">obj.length</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>632</span> </span><span class="WHIT">				</span><span class="NAME">x</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">obj.length</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>633</span> </span><span class="WHIT">				</span><span class="KEYW">while</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">--</span><span class="NAME">x</span><span class="WHIT"> </span><span class="PUNC">>=</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>634</span> </span><span class="WHIT">					</span><span class="NAME">newObj</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">clone</span><span class="PUNC">(</span><span class="NAME">obj</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">deep</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>635</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>636</span> </span><span class="WHIT">				</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">newObj</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>637</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>638</span> </span><span class="WHIT">				</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">Array.prototype.slice.call</span><span class="PUNC">(</span><span class="NAME">obj</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>639</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>640</span> </span><span class="WHIT">			</span><span class="KEYW">break</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>641</span> </span><span class="WHIT">		</span><span class="KEYW">default</span><span class="PUNC">:</span><span class="WHIT">
+<span class='line'>642</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">obj</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>643</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>644</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>645</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>646</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>647</span> 	 * This class binds a {@link JSONInstance} with a {@link JSONSchema} to provided context aware methods. 
+<span class='line'>648</span> 	 * 
+<span class='line'>649</span> 	 * @name JSONSchema
+<span class='line'>650</span> 	 * @class
+<span class='line'>651</span> 	 * @param {Environment} env The environment this schema belongs to
+<span class='line'>652</span> 	 * @param {JSONInstance|Any} json The value of the schema
+<span class='line'>653</span> 	 * @param {String} [uri] The URI of the schema. If undefined, the URI will be a randomly generated UUID. 
+<span class='line'>654</span> 	 * @param {JSONSchema|Boolean} [schema] The schema to bind to the instance. If &lt;code>undefined&lt;/code>, the environment's default schema will be used. If &lt;code>true&lt;/code>, the instance's schema will be itself.
+<span class='line'>655</span> 	 * @extends JSONInstance
+<span class='line'>656</span> 	 */</span><span class="WHIT">
+<span class='line'>657</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>658</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">JSONSchema</span><span class="PUNC">(</span><span class="NAME">env</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">json</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schema</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>659</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">fr</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>660</span> </span><span class="WHIT">		</span><span class="NAME">JSONInstance.call</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">env</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">json</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>661</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>662</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">schema</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>663</span> </span><span class="WHIT">			</span><span class="NAME">this._schema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>664</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">json</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONSchema</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="PUNC">!</span><span class="PUNC">(</span><span class="NAME">schema</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONSchema</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>665</span> </span><span class="WHIT">			</span><span class="NAME">this._schema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">json._schema</span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//TODO: Make sure cross environments don't mess everything up</span><span class="WHIT">
+<span class='line'>666</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>667</span> </span><span class="WHIT">			</span><span class="NAME">this._schema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">schema</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONSchema</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="NAME">schema</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">this._env.getDefaultSchema</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="NAME">this._env.createEmptySchema</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>668</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>669</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>670</span> </span><span class="WHIT">		</span><span class="COMM">//determine fragment delimiter from schema</span><span class="WHIT">
+<span class='line'>671</span> </span><span class="WHIT">		</span><span class="NAME">fr</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this._schema.getValueOfProperty</span><span class="PUNC">(</span><span class="STRN">"fragmentResolution"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>672</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">fr</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"dot-delimited"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>673</span> </span><span class="WHIT">			</span><span class="NAME">this._fd</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"."</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>674</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">fr</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"slash-delimited"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>675</span> </span><span class="WHIT">			</span><span class="NAME">this._fd</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">"/"</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>676</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>677</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>678</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this.rebuild</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//this works even when called with "new"</span><span class="WHIT">
+<span class='line'>679</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>680</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>681</span> </span><span class="WHIT">	</span><span class="NAME">JSONSchema.prototype</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">createObject</span><span class="PUNC">(</span><span class="NAME">JSONInstance.prototype</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>682</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>683</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>684</span> 	 * Returns the schema of the schema.
+<span class='line'>685</span> 	 * 
+<span class='line'>686</span> 	 * @returns {JSONSchema} The schema of the schema
+<span class='line'>687</span> 	 */</span><span class="WHIT">
+<span class='line'>688</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>689</span> </span><span class="WHIT">	</span><span class="NAME">JSONSchema.prototype.getSchema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>690</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this._refs</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">this._refs</span><span class="PUNC">[</span><span class="STRN">"describedby"</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>691</span> </span><span class="WHIT">			</span><span class="NAME">newSchema</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>692</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>693</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>694</span> </span><span class="WHIT">			</span><span class="NAME">newSchema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">this._env.findSchema</span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>695</span> </span><span class="WHIT">			</span><span class="WHIT">
+<span class='line'>696</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">newSchema</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>697</span> </span><span class="WHIT">				</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="NAME">newSchema.equals</span><span class="PUNC">(</span><span class="NAME">this._schema</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>698</span> </span><span class="WHIT">					</span><span class="NAME">this._schema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">newSchema</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>699</span> </span><span class="WHIT">					</span><span class="NAME">this.rebuild</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//if the schema has changed, the context has changed - so everything must be rebuilt</span><span class="WHIT">
+<span class='line'>700</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>701</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">this._env._options</span><span class="PUNC">[</span><span class="STRN">"enforceReferences"</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>702</span> </span><span class="WHIT">				</span><span class="KEYW">throw</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">InitializationError</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this._schema</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">"{describedby}"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">"Unknown schema reference"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>703</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>704</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>705</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>706</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._schema</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>707</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>708</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>709</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>710</span> 	 * Returns the value of the provided attribute name.
+<span class='line'>711</span> 	 * &lt;p>
+<span class='line'>712</span> 	 * This method is different from {@link JSONInstance#getProperty} as the named property 
+<span class='line'>713</span> 	 * is converted using a parser defined by the schema's schema before being returned. This
+<span class='line'>714</span> 	 * makes the return value of this method attribute dependent.
+<span class='line'>715</span> 	 * &lt;/p>
+<span class='line'>716</span> 	 * 
+<span class='line'>717</span> 	 * @param {String} key The name of the attribute
+<span class='line'>718</span> 	 * @param {Any} [arg] Some attribute parsers accept special arguments for returning resolved values. This is attribute dependent.
+<span class='line'>719</span> 	 * @returns {JSONSchema|Any} The value of the attribute
+<span class='line'>720</span> 	 */</span><span class="WHIT">
+<span class='line'>721</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>722</span> </span><span class="WHIT">	</span><span class="NAME">JSONSchema.prototype.getAttribute</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">key</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">arg</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>723</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">schemaProperty</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">parser</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">property</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">result</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>724</span> </span><span class="WHIT">			</span><span class="NAME">schema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getSchema</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//we do this here to make sure the "describedby" reference has not changed, and that the attribute cache is up-to-date</span><span class="WHIT">
+<span class='line'>725</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>726</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="NAME">arg</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">this._attributes</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">this._attributes.hasOwnProperty</span><span class="PUNC">(</span><span class="NAME">key</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>727</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._attributes</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>728</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>729</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>730</span> </span><span class="WHIT">		</span><span class="NAME">schemaProperty</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">schema.getProperty</span><span class="PUNC">(</span><span class="STRN">"properties"</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">getProperty</span><span class="PUNC">(</span><span class="NAME">key</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>731</span> </span><span class="WHIT">		</span><span class="NAME">parser</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">schemaProperty.getValueOfProperty</span><span class="PUNC">(</span><span class="STRN">"parser"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>732</span> </span><span class="WHIT">		</span><span class="NAME">property</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getProperty</span><span class="PUNC">(</span><span class="NAME">key</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>733</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">parser</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"function"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>734</span> </span><span class="WHIT">			</span><span class="NAME">result</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">parser</span><span class="PUNC">(</span><span class="NAME">property</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schemaProperty</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">arg</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>735</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="NAME">arg</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">this._attributes</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>736</span> </span><span class="WHIT">				</span><span class="NAME">this._attributes</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">result</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>737</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>738</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">result</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>739</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>740</span> </span><span class="WHIT">		</span><span class="COMM">//else</span><span class="WHIT">
+<span class='line'>741</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">property.getValue</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>742</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>743</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>744</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>745</span> 	 * Returns all the attributes of the schema.
+<span class='line'>746</span> 	 * 
+<span class='line'>747</span> 	 * @returns {Object} A map of all parsed attribute values
+<span class='line'>748</span> 	 */</span><span class="WHIT">
+<span class='line'>749</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>750</span> </span><span class="WHIT">	</span><span class="NAME">JSONSchema.prototype.getAttributes</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>751</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">properties</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schemaProperties</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">key</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schemaProperty</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">parser</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>752</span> </span><span class="WHIT">			</span><span class="NAME">schema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getSchema</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//we do this here to make sure the "describedby" reference has not changed, and that the attribute cache is up-to-date</span><span class="WHIT">
+<span class='line'>753</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>754</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="NAME">this._attributes</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">this.getType</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"object"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>755</span> </span><span class="WHIT">			</span><span class="NAME">properties</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getProperties</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>756</span> </span><span class="WHIT">			</span><span class="NAME">schemaProperties</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">schema.getProperty</span><span class="PUNC">(</span><span class="STRN">"properties"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>757</span> </span><span class="WHIT">			</span><span class="NAME">this._attributes</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>758</span> </span><span class="WHIT">			</span><span class="KEYW">for</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">key</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">properties</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>759</span> </span><span class="WHIT">				</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">properties</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="NAME">O</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>760</span> </span><span class="WHIT">					</span><span class="NAME">schemaProperty</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">schemaProperties</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">schemaProperties.getProperty</span><span class="PUNC">(</span><span class="NAME">key</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>761</span> </span><span class="WHIT">					</span><span class="NAME">parser</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">schemaProperty</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">schemaProperty.getValueOfProperty</span><span class="PUNC">(</span><span class="STRN">"parser"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>762</span> </span><span class="WHIT">					</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">parser</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"function"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>763</span> </span><span class="WHIT">						</span><span class="NAME">this._attributes</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">parser</span><span class="PUNC">(</span><span class="NAME">properties</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schemaProperty</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>764</span> </span><span class="WHIT">					</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>765</span> </span><span class="WHIT">						</span><span class="NAME">this._attributes</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">properties</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">getValue</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>766</span> </span><span class="WHIT">					</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>767</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>768</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>769</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>770</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>771</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">clone</span><span class="PUNC">(</span><span class="NAME">this._attributes</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">false</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>772</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>773</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>774</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>775</span> 	 * Convenience method for retrieving a link or link object from a schema. 
+<span class='line'>776</span> 	 * This method is the same as calling &lt;code>schema.getAttribute("links", [rel, instance])[0];&lt;/code>.
+<span class='line'>777</span> 	 * 
+<span class='line'>778</span> 	 * @param {String} rel The link relationship
+<span class='line'>779</span> 	 * @param {JSONInstance} [instance] The instance to resolve any URIs from
+<span class='line'>780</span> 	 * @returns {String|Object|undefined} If &lt;code>instance&lt;/code> is provided, a string containing the resolve URI of the link is returned.
+<span class='line'>781</span> 	 *   If &lt;code>instance&lt;/code> is not provided, a link object is returned with details of the link.
+<span class='line'>782</span> 	 *   If no link with the provided relationship exists, &lt;code>undefined&lt;/code> is returned.
+<span class='line'>783</span> 	 * @see JSONSchema#getAttribute
+<span class='line'>784</span> 	 */</span><span class="WHIT">
+<span class='line'>785</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>786</span> </span><span class="WHIT">	</span><span class="NAME">JSONSchema.prototype.getLink</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">rel</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>787</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">schemaLinks</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getAttribute</span><span class="PUNC">(</span><span class="STRN">"links"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="NAME">rel</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>788</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">schemaLinks</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">schemaLinks.length</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">schemaLinks</span><span class="PUNC">[</span><span class="NAME">schemaLinks.length</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NUMB">1</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>789</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">schemaLinks</span><span class="PUNC">[</span><span class="NAME">schemaLinks.length</span><span class="WHIT"> </span><span class="PUNC">-</span><span class="WHIT"> </span><span class="NUMB">1</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>790</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>791</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>792</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>793</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>794</span> 	 * Validates the provided instance against the target schema and returns a {@link Report}.
+<span class='line'>795</span> 	 * 
+<span class='line'>796</span> 	 * @param {JSONInstance|Any} instance The instance to validate; may be a {@link JSONInstance} or any JavaScript value
+<span class='line'>797</span> 	 * @param {Report} [report] A {@link Report} to concatenate the result of the validation to. If &lt;code>undefined&lt;/code>, a new {@link Report} is created. 
+<span class='line'>798</span> 	 * @param {JSONInstance} [parent] The parent/containing instance of the provided instance
+<span class='line'>799</span> 	 * @param {JSONSchema} [parentSchema] The schema of the parent/containing instance
+<span class='line'>800</span> 	 * @param {String} [name] The name of the parent object's property that references the instance
+<span class='line'>801</span> 	 * @returns {Report} The result of the validation
+<span class='line'>802</span> 	 */</span><span class="WHIT">
+<span class='line'>803</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>804</span> </span><span class="WHIT">	</span><span class="NAME">JSONSchema.prototype.validate</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">instance</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">report</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">parent</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">parentSchema</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">name</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>805</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">schemaSchema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getSchema</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>806</span> </span><span class="WHIT">			</span><span class="NAME">validator</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">schemaSchema.getValueOfProperty</span><span class="PUNC">(</span><span class="STRN">"validator"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>807</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>808</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="PUNC">(</span><span class="NAME">instance</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>809</span> </span><span class="WHIT">			</span><span class="NAME">instance</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getEnvironment</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">createInstance</span><span class="PUNC">(</span><span class="NAME">instance</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>810</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>811</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>812</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="PUNC">(</span><span class="NAME">report</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">Report</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>813</span> </span><span class="WHIT">			</span><span class="NAME">report</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">Report</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>814</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>815</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>816</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">this._env._options</span><span class="PUNC">[</span><span class="STRN">"validateReferences"</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">this._refs</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>817</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">this._refs</span><span class="PUNC">[</span><span class="STRN">"describedby"</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="PUNC">!</span><span class="NAME">this._env.findSchema</span><span class="PUNC">(</span><span class="NAME">this._refs</span><span class="PUNC">[</span><span class="STRN">"describedby"</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>818</span> </span><span class="WHIT">				</span><span class="NAME">report.addError</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this._schema</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">"{describedby}"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">"Unknown schema reference"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this._refs</span><span class="PUNC">[</span><span class="STRN">"describedby"</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>819</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>820</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">this._refs</span><span class="PUNC">[</span><span class="STRN">"full"</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="PUNC">!</span><span class="NAME">this._env.findSchema</span><span class="PUNC">(</span><span class="NAME">this._refs</span><span class="PUNC">[</span><span class="STRN">"full"</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>821</span> </span><span class="WHIT">				</span><span class="NAME">report.addError</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this._schema</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">"{full}"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">"Unknown schema reference"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this._refs</span><span class="PUNC">[</span><span class="STRN">"full"</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>822</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>823</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>824</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>825</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">validator</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"function"</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="PUNC">!</span><span class="NAME">report.isValidatedBy</span><span class="PUNC">(</span><span class="NAME">instance.getURI</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this.getURI</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>826</span> </span><span class="WHIT">			</span><span class="NAME">report.registerValidation</span><span class="PUNC">(</span><span class="NAME">instance.getURI</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this.getURI</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>827</span> </span><span class="WHIT">			</span><span class="NAME">validator</span><span class="PUNC">(</span><span class="NAME">instance</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schemaSchema</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">report</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">parent</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">parentSchema</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">name</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>828</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>829</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>830</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">report</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>831</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>832</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>833</span> </span><span class="WHIT">	</span><span class="COMM">/** @inner */</span><span class="WHIT">
+<span class='line'>834</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">createFullLookupWrapper</span><span class="PUNC">(</span><span class="NAME">func</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>835</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="COMM">/** @inner */</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">fullLookupWrapper</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>836</span> </span><span class="WHIT">			</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">scope</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>837</span> </span><span class="WHIT">				</span><span class="NAME">stack</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>838</span> </span><span class="WHIT">				</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">scope._refs</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">scope._refs</span><span class="PUNC">[</span><span class="STRN">"full"</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>839</span> </span><span class="WHIT">				</span><span class="NAME">schema</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>840</span> </span><span class="WHIT">			</span><span class="WHIT">
+<span class='line'>841</span> </span><span class="WHIT">			</span><span class="KEYW">while</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>842</span> </span><span class="WHIT">				</span><span class="NAME">schema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">scope._env.findSchema</span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>843</span> </span><span class="WHIT">				</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">schema</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>844</span> </span><span class="WHIT">					</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">schema._value</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="NAME">scope._value</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>845</span> </span><span class="WHIT">						</span><span class="KEYW">break</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>846</span> </span><span class="WHIT">					</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>847</span> </span><span class="WHIT">					</span><span class="NAME">scope</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">schema</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>848</span> </span><span class="WHIT">					</span><span class="NAME">stack.push</span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>849</span> </span><span class="WHIT">					</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">scope._refs</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">scope._refs</span><span class="PUNC">[</span><span class="STRN">"full"</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>850</span> </span><span class="WHIT">					</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">stack.indexOf</span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">></span><span class="WHIT"> </span><span class="PUNC">-</span><span class="NUMB">1</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>851</span> </span><span class="WHIT">						</span><span class="KEYW">break</span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//stop infinite loop</span><span class="WHIT">
+<span class='line'>852</span> </span><span class="WHIT">					</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>853</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">scope._env._options</span><span class="PUNC">[</span><span class="STRN">"enforceReferences"</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>854</span> </span><span class="WHIT">					</span><span class="KEYW">throw</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">InitializationError</span><span class="PUNC">(</span><span class="NAME">scope</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">scope._schema</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">"{full}"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">"Unknown schema reference"</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>855</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>856</span> </span><span class="WHIT">					</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>857</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>858</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>859</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">func.apply</span><span class="PUNC">(</span><span class="NAME">scope</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">arguments</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>860</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>861</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>862</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>863</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>864</span> 	 * Wraps all JSONInstance methods with a function that resolves the "full" reference.
+<span class='line'>865</span> 	 * 
+<span class='line'>866</span> 	 * @inner
+<span class='line'>867</span> 	 */</span><span class="WHIT">
+<span class='line'>868</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>869</span> </span><span class="WHIT">	</span><span class="PUNC">(</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>870</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">key</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>871</span> </span><span class="WHIT">		</span><span class="KEYW">for</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">key</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">JSONSchema.prototype</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>872</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">JSONSchema.prototype</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="NAME">O</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">typeOf</span><span class="PUNC">(</span><span class="NAME">JSONSchema.prototype</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"function"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>873</span> </span><span class="WHIT">				</span><span class="NAME">JSONSchema.prototype</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">createFullLookupWrapper</span><span class="PUNC">(</span><span class="NAME">JSONSchema.prototype</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>874</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>875</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>876</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>877</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>878</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>879</span> 	 * Reinitializes/re-registers/rebuilds the schema.
+<span class='line'>880</span> 	 * &lt;br/>
+<span class='line'>881</span> 	 * This is used internally, and should only be called when a schema's private variables are modified directly.
+<span class='line'>882</span> 	 * 
+<span class='line'>883</span> 	 * @private
+<span class='line'>884</span> 	 * @return {JSONSchema} The newly rebuilt schema
+<span class='line'>885</span> 	 */</span><span class="WHIT">
+<span class='line'>886</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>887</span> </span><span class="WHIT">	</span><span class="NAME">JSONSchema.prototype.rebuild</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>888</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>889</span> </span><span class="WHIT">			</span><span class="NAME">initializer</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">instance.getSchema</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">getValueOfProperty</span><span class="PUNC">(</span><span class="STRN">"initializer"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>890</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>891</span> </span><span class="WHIT">		</span><span class="COMM">//clear previous built values</span><span class="WHIT">
+<span class='line'>892</span> </span><span class="WHIT">		</span><span class="NAME">instance._refs</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>893</span> </span><span class="WHIT">		</span><span class="NAME">instance._attributes</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>894</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>895</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">initializer</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"function"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>896</span> </span><span class="WHIT">			</span><span class="NAME">instance</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">initializer</span><span class="PUNC">(</span><span class="NAME">instance</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>897</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>898</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>899</span> </span><span class="WHIT">		</span><span class="COMM">//register schema</span><span class="WHIT">
+<span class='line'>900</span> </span><span class="WHIT">		</span><span class="NAME">instance._env._schemas</span><span class="PUNC">[</span><span class="NAME">instance._uri</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>901</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>902</span> </span><span class="WHIT">		</span><span class="COMM">//build & cache the rest of the schema</span><span class="WHIT">
+<span class='line'>903</span> </span><span class="WHIT">		</span><span class="NAME">instance.getAttributes</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>904</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>905</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>906</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>907</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>908</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>909</span> 	 * Set the provided reference to the given value.
+<span class='line'>910</span> 	 * &lt;br/>
+<span class='line'>911</span> 	 * References are used for establishing soft-links to other {@link JSONSchema}s.
+<span class='line'>912</span> 	 * Currently, the following references are natively supported:
+<span class='line'>913</span> 	 * &lt;dl>
+<span class='line'>914</span> 	 *   &lt;dt>&lt;code>full&lt;/code>&lt;/dt>
+<span class='line'>915</span> 	 *   &lt;dd>The value is the URI to the full instance of this instance.&lt;/dd>
+<span class='line'>916</span> 	 *   &lt;dt>&lt;code>describedby&lt;/code>&lt;/dt>
+<span class='line'>917</span> 	 *   &lt;dd>The value is the URI to the schema of this instance.&lt;/dd>
+<span class='line'>918</span> 	 * &lt;/dl>
+<span class='line'>919</span> 	 * 
+<span class='line'>920</span> 	 * @param {String} name The name of the reference
+<span class='line'>921</span> 	 * @param {String} uri The URI of the schema to refer to
+<span class='line'>922</span> 	 */</span><span class="WHIT">
+<span class='line'>923</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>924</span> </span><span class="WHIT">	</span><span class="NAME">JSONSchema.prototype.setReference</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">name</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>925</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="NAME">this._refs</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>926</span> </span><span class="WHIT">			</span><span class="NAME">this._refs</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>927</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>928</span> </span><span class="WHIT">		</span><span class="NAME">this._refs</span><span class="PUNC">[</span><span class="NAME">name</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.resolveURI</span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>929</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>930</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>931</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>932</span> 	 * Returns the value of the provided reference name.
+<span class='line'>933</span> 	 * 
+<span class='line'>934</span> 	 * @param {String} name The name of the reference
+<span class='line'>935</span> 	 * @return {String} The value of the provided reference name
+<span class='line'>936</span> 	 */</span><span class="WHIT">
+<span class='line'>937</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>938</span> </span><span class="WHIT">	</span><span class="NAME">JSONSchema.prototype.getReference</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">name</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>939</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._refs</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">this._refs</span><span class="PUNC">[</span><span class="NAME">name</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>940</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>941</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>942</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>943</span> 	 * Merges two schemas/instances together.
+<span class='line'>944</span> 	 */</span><span class="WHIT">
+<span class='line'>945</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>946</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">inherits</span><span class="PUNC">(</span><span class="NAME">base</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">extra</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">extension</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>947</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">baseType</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">typeOf</span><span class="PUNC">(</span><span class="NAME">base</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>948</span> </span><span class="WHIT">			</span><span class="NAME">extraType</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">typeOf</span><span class="PUNC">(</span><span class="NAME">extra</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>949</span> </span><span class="WHIT">			</span><span class="NAME">child</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">x</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>950</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>951</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">extraType</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"undefined"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>952</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">clone</span><span class="PUNC">(</span><span class="NAME">base</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>953</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">baseType</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"undefined"</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="NAME">extraType</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="NAME">baseType</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>954</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">clone</span><span class="PUNC">(</span><span class="NAME">extra</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>955</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">extraType</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"object"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>956</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">base</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONSchema</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>957</span> </span><span class="WHIT">				</span><span class="NAME">base</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">base.getAttributes</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>958</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>959</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">extra</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONSchema</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>960</span> </span><span class="WHIT">				</span><span class="NAME">extra</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">extra.getAttributes</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>961</span> </span><span class="WHIT">				</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">extra</span><span class="PUNC">[</span><span class="STRN">"extends"</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">extension</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">extra</span><span class="PUNC">[</span><span class="STRN">"extends"</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONSchema</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>962</span> </span><span class="WHIT">					</span><span class="NAME">extra</span><span class="PUNC">[</span><span class="STRN">"extends"</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="WHIT"> </span><span class="NAME">extra</span><span class="PUNC">[</span><span class="STRN">"extends"</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>963</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>964</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>965</span> </span><span class="WHIT">			</span><span class="NAME">child</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">clone</span><span class="PUNC">(</span><span class="NAME">base</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//this could be optimized as some properties get overwritten</span><span class="WHIT">
+<span class='line'>966</span> </span><span class="WHIT">			</span><span class="KEYW">for</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">x</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">extra</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>967</span> </span><span class="WHIT">				</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">extra</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="NAME">O</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>968</span> </span><span class="WHIT">					</span><span class="NAME">child</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">inherits</span><span class="PUNC">(</span><span class="NAME">base</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">extra</span><span class="PUNC">[</span><span class="NAME">x</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">extension</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>969</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>970</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>971</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">child</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>972</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>973</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">clone</span><span class="PUNC">(</span><span class="NAME">extra</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>974</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>975</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>976</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>977</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>978</span> 	 * An Environment is a sandbox of schemas thats behavior is different from other environments.
+<span class='line'>979</span> 	 * 
+<span class='line'>980</span> 	 * @name Environment
+<span class='line'>981</span> 	 * @class
+<span class='line'>982</span> 	 */</span><span class="WHIT">
+<span class='line'>983</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>984</span> </span><span class="WHIT">	</span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">Environment</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>985</span> </span><span class="WHIT">		</span><span class="NAME">this._id</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">randomUUID</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>986</span> </span><span class="WHIT">		</span><span class="NAME">this._schemas</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>987</span> </span><span class="WHIT">		</span><span class="NAME">this._options</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>988</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>989</span> </span><span class="WHIT">		</span><span class="NAME">this.createSchema</span><span class="PUNC">(</span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">"urn:jsv:empty-schema#"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>990</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>991</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>992</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>993</span> 	 * Returns a clone of the target environment.
+<span class='line'>994</span> 	 * 
+<span class='line'>995</span> 	 * @returns {Environment} A new {@link Environment} that is a exact copy of the target environment 
+<span class='line'>996</span> 	 */</span><span class="WHIT">
+<span class='line'>997</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>998</span> </span><span class="WHIT">	</span><span class="NAME">Environment.prototype.clone</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>999</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">env</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">Environment</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1000</span> </span><span class="WHIT">		</span><span class="NAME">env._schemas</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">createObject</span><span class="PUNC">(</span><span class="NAME">this._schemas</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1001</span> </span><span class="WHIT">		</span><span class="NAME">env._options</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">createObject</span><span class="PUNC">(</span><span class="NAME">this._options</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1002</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1003</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">env</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1004</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1005</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1006</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>1007</span> 	 * Returns a new {@link JSONInstance} of the provided data.
+<span class='line'>1008</span> 	 * 
+<span class='line'>1009</span> 	 * @param {JSONInstance|Any} data The value of the instance
+<span class='line'>1010</span> 	 * @param {String} [uri] The URI of the instance. If undefined, the URI will be a randomly generated UUID. 
+<span class='line'>1011</span> 	 * @returns {JSONInstance} A new {@link JSONInstance} from the provided data
+<span class='line'>1012</span> 	 */</span><span class="WHIT">
+<span class='line'>1013</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1014</span> </span><span class="WHIT">	</span><span class="NAME">Environment.prototype.createInstance</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">data</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1015</span> </span><span class="WHIT">		</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">formatURI</span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1016</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1017</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">data</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="NAME">data.getURI</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1018</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">data</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1019</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1020</span> 
+<span class='line'>1021</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">data</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1022</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1023</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1024</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>1025</span> 	 * Creates a new {@link JSONSchema} from the provided data, and registers it with the environment. 
+<span class='line'>1026</span> 	 * 
+<span class='line'>1027</span> 	 * @param {JSONInstance|Any} data The value of the schema
+<span class='line'>1028</span> 	 * @param {JSONSchema|Boolean} [schema] The schema to bind to the instance. If &lt;code>undefined&lt;/code>, the environment's default schema will be used. If &lt;code>true&lt;/code>, the instance's schema will be itself.
+<span class='line'>1029</span> 	 * @param {String} [uri] The URI of the schema. If undefined, the URI will be a randomly generated UUID. 
+<span class='line'>1030</span> 	 * @returns {JSONSchema} A new {@link JSONSchema} from the provided data
+<span class='line'>1031</span> 	 * @throws {InitializationError} If a schema that is not registered with the environment is referenced 
+<span class='line'>1032</span> 	 */</span><span class="WHIT">
+<span class='line'>1033</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1034</span> </span><span class="WHIT">	</span><span class="NAME">Environment.prototype.createSchema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">data</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schema</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1035</span> </span><span class="WHIT">		</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">formatURI</span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1036</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1037</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">data</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONSchema</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="NAME">data._uri</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="NAME">schema</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="NAME">data.getSchema</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">equals</span><span class="PUNC">(</span><span class="NAME">schema</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1038</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">data</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1039</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1040</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1041</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">JSONSchema</span><span class="PUNC">(</span><span class="KEYW">this</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">data</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schema</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1042</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1043</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1044</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>1045</span> 	 * Creates an empty schema.
+<span class='line'>1046</span> 	 * 
+<span class='line'>1047</span> 	 * @returns {JSONSchema} The empty schema, who's schema is itself.
+<span class='line'>1048</span> 	 */</span><span class="WHIT">
+<span class='line'>1049</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1050</span> </span><span class="WHIT">	</span><span class="NAME">Environment.prototype.createEmptySchema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1051</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._schemas</span><span class="PUNC">[</span><span class="STRN">"urn:jsv:empty-schema#"</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1052</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1053</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1054</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>1055</span> 	 * Returns the schema registered with the provided URI.
+<span class='line'>1056</span> 	 * 
+<span class='line'>1057</span> 	 * @param {String} uri The absolute URI of the required schema
+<span class='line'>1058</span> 	 * @returns {JSONSchema|undefined} The request schema, or &lt;code>undefined&lt;/code> if not found
+<span class='line'>1059</span> 	 */</span><span class="WHIT">
+<span class='line'>1060</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1061</span> </span><span class="WHIT">	</span><span class="NAME">Environment.prototype.findSchema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1062</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._schemas</span><span class="PUNC">[</span><span class="NAME">formatURI</span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1063</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1064</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1065</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>1066</span> 	 * Sets the specified environment option to the specified value.
+<span class='line'>1067</span> 	 * 
+<span class='line'>1068</span> 	 * @param {String} name The name of the environment option to set
+<span class='line'>1069</span> 	 * @param {Any} value The new value of the environment option
+<span class='line'>1070</span> 	 */</span><span class="WHIT">
+<span class='line'>1071</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1072</span> </span><span class="WHIT">	</span><span class="NAME">Environment.prototype.setOption</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">name</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">value</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1073</span> </span><span class="WHIT">		</span><span class="NAME">this._options</span><span class="PUNC">[</span><span class="NAME">name</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">value</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1074</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1075</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1076</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>1077</span> 	 * Returns the specified environment option.
+<span class='line'>1078</span> 	 * 
+<span class='line'>1079</span> 	 * @param {String} name The name of the environment option to set
+<span class='line'>1080</span> 	 * @returns {Any} The value of the environment option
+<span class='line'>1081</span> 	 */</span><span class="WHIT">
+<span class='line'>1082</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1083</span> </span><span class="WHIT">	</span><span class="NAME">Environment.prototype.getOption</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">name</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1084</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._options</span><span class="PUNC">[</span><span class="NAME">name</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1085</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1086</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1087</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>1088</span> 	 * Sets the default fragment delimiter of the environment.
+<span class='line'>1089</span> 	 * 
+<span class='line'>1090</span> 	 * @deprecated Use {@link Environment#setOption} with option "defaultFragmentDelimiter"
+<span class='line'>1091</span> 	 * @param {String} fd The fragment delimiter character
+<span class='line'>1092</span> 	 */</span><span class="WHIT">
+<span class='line'>1093</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1094</span> </span><span class="WHIT">	</span><span class="NAME">Environment.prototype.setDefaultFragmentDelimiter</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">fd</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1095</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">fd</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"string"</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">fd.length</span><span class="WHIT"> </span><span class="PUNC">></span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1096</span> </span><span class="WHIT">			</span><span class="NAME">this._options</span><span class="PUNC">[</span><span class="STRN">"defaultFragmentDelimiter"</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">fd</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1097</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1098</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1099</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1100</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>1101</span> 	 * Returns the default fragment delimiter of the environment.
+<span class='line'>1102</span> 	 * 
+<span class='line'>1103</span> 	 * @deprecated Use {@link Environment#getOption} with option "defaultFragmentDelimiter"
+<span class='line'>1104</span> 	 * @returns {String} The fragment delimiter character
+<span class='line'>1105</span> 	 */</span><span class="WHIT">
+<span class='line'>1106</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1107</span> </span><span class="WHIT">	</span><span class="NAME">Environment.prototype.getDefaultFragmentDelimiter</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1108</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._options</span><span class="PUNC">[</span><span class="STRN">"defaultFragmentDelimiter"</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1109</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1110</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1111</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>1112</span> 	 * Sets the URI of the default schema for the environment.
+<span class='line'>1113</span> 	 * 
+<span class='line'>1114</span> 	 * @deprecated Use {@link Environment#setOption} with option "defaultSchemaURI"
+<span class='line'>1115</span> 	 * @param {String} uri The default schema URI
+<span class='line'>1116</span> 	 */</span><span class="WHIT">
+<span class='line'>1117</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1118</span> </span><span class="WHIT">	</span><span class="NAME">Environment.prototype.setDefaultSchemaURI</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1119</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"string"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1120</span> </span><span class="WHIT">			</span><span class="NAME">this._options</span><span class="PUNC">[</span><span class="STRN">"defaultSchemaURI"</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">formatURI</span><span class="PUNC">(</span><span class="NAME">uri</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1121</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1122</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1123</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1124</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>1125</span> 	 * Returns the default schema of the environment.
+<span class='line'>1126</span> 	 * 
+<span class='line'>1127</span> 	 * @returns {JSONSchema} The default schema
+<span class='line'>1128</span> 	 */</span><span class="WHIT">
+<span class='line'>1129</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1130</span> </span><span class="WHIT">	</span><span class="NAME">Environment.prototype.getDefaultSchema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1131</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this.findSchema</span><span class="PUNC">(</span><span class="NAME">this._options</span><span class="PUNC">[</span><span class="STRN">"defaultSchemaURI"</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1132</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1133</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1134</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>1135</span> 	 * Validates both the provided schema and the provided instance, and returns a {@link Report}. 
+<span class='line'>1136</span> 	 * If the schema fails to validate, the instance will not be validated.
+<span class='line'>1137</span> 	 * 
+<span class='line'>1138</span> 	 * @param {JSONInstance|Any} instanceJSON The {@link JSONInstance} or JavaScript value to validate.
+<span class='line'>1139</span> 	 * @param {JSONSchema|Any} schemaJSON The {@link JSONSchema} or JavaScript value to use in the validation. This will also be validated againt the schema's schema.
+<span class='line'>1140</span> 	 * @returns {Report} The result of the validation
+<span class='line'>1141</span> 	 */</span><span class="WHIT">
+<span class='line'>1142</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1143</span> </span><span class="WHIT">	</span><span class="NAME">Environment.prototype.validate</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">instanceJSON</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schemaJSON</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1144</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1145</span> </span><span class="WHIT">			</span><span class="NAME">schema</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1146</span> </span><span class="WHIT">			</span><span class="NAME">schemaSchema</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1147</span> </span><span class="WHIT">			</span><span class="NAME">report</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">Report</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1148</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1149</span> </span><span class="WHIT">		</span><span class="KEYW">try</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1150</span> </span><span class="WHIT">			</span><span class="NAME">instance</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.createInstance</span><span class="PUNC">(</span><span class="NAME">instanceJSON</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1151</span> </span><span class="WHIT">			</span><span class="NAME">report.instance</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1152</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">catch</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">e</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1153</span> </span><span class="WHIT">			</span><span class="NAME">report.addError</span><span class="PUNC">(</span><span class="NAME">e.uri</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">e.schemaUri</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">e.attribute</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">e.message</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">e.details</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1154</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1155</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1156</span> </span><span class="WHIT">		</span><span class="KEYW">try</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1157</span> </span><span class="WHIT">			</span><span class="NAME">schema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.createSchema</span><span class="PUNC">(</span><span class="NAME">schemaJSON</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1158</span> </span><span class="WHIT">			</span><span class="NAME">report.schema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">schema</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1159</span> </span><span class="WHIT">			</span><span class="WHIT">
+<span class='line'>1160</span> </span><span class="WHIT">			</span><span class="NAME">schemaSchema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">schema.getSchema</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1161</span> </span><span class="WHIT">			</span><span class="NAME">report.schemaSchema</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">schemaSchema</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1162</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">catch</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">f</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1163</span> </span><span class="WHIT">			</span><span class="NAME">report.addError</span><span class="PUNC">(</span><span class="NAME">f.uri</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">f.schemaUri</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">f.attribute</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">f.message</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">f.details</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1164</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1165</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1166</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">schemaSchema</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1167</span> </span><span class="WHIT">			</span><span class="NAME">schemaSchema.validate</span><span class="PUNC">(</span><span class="NAME">schema</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">report</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1168</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1169</span> </span><span class="WHIT">			</span><span class="WHIT">
+<span class='line'>1170</span> </span><span class="WHIT">		</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">report.errors.length</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1171</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">report</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1172</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1173</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1174</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">schema.validate</span><span class="PUNC">(</span><span class="NAME">instance</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">report</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1175</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1176</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1177</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>1178</span> 	 * @private
+<span class='line'>1179</span> 	 */</span><span class="WHIT">
+<span class='line'>1180</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1181</span> </span><span class="WHIT">	</span><span class="NAME">Environment.prototype._checkForInvalidInstances</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">stackSize</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">schemaURI</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1182</span> </span><span class="WHIT">		</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">result</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1183</span> </span><span class="WHIT">			</span><span class="NAME">stack</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">[</span><span class="WHIT">
+<span class='line'>1184</span> </span><span class="WHIT">				</span><span class="PUNC">[</span><span class="NAME">schemaURI</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">this._schemas</span><span class="PUNC">[</span><span class="NAME">schemaURI</span><span class="PUNC">]</span><span class="PUNC">]</span><span class="WHIT">
+<span class='line'>1185</span> </span><span class="WHIT">			</span><span class="PUNC">]</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="WHIT">
+<span class='line'>1186</span> </span><span class="WHIT">			</span><span class="NAME">counter</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1187</span> </span><span class="WHIT">			</span><span class="NAME">item</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">properties</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">key</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1188</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1189</span> </span><span class="WHIT">		</span><span class="KEYW">while</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">counter</span><span class="PUNC">++</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NAME">stackSize</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">stack.length</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1190</span> </span><span class="WHIT">			</span><span class="NAME">item</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">stack.shift</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1191</span> </span><span class="WHIT">			</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">item</span><span class="PUNC">[</span><span class="NUMB">0</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1192</span> </span><span class="WHIT">			</span><span class="NAME">instance</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">item</span><span class="PUNC">[</span><span class="NUMB">1</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1193</span> </span><span class="WHIT">			</span><span class="WHIT">
+<span class='line'>1194</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">instance</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONSchema</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1195</span> </span><span class="WHIT">				</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">this._schemas</span><span class="PUNC">[</span><span class="NAME">instance._uri</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1196</span> </span><span class="WHIT">					</span><span class="NAME">result.push</span><span class="PUNC">(</span><span class="STRN">"Instance "</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">" does not match "</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">instance._uri</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1197</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1198</span> </span><span class="WHIT">					</span><span class="COMM">//schema = instance.getSchema();</span><span class="WHIT">
+<span class='line'>1199</span> </span><span class="WHIT">					</span><span class="COMM">//stack.push([uri + "/{schema}", schema]);</span><span class="WHIT">
+<span class='line'>1200</span> </span><span class="WHIT">					</span><span class="WHIT">
+<span class='line'>1201</span> </span><span class="WHIT">					</span><span class="NAME">properties</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">instance.getAttributes</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1202</span> </span><span class="WHIT">					</span><span class="KEYW">for</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">key</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">properties</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1203</span> </span><span class="WHIT">						</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">properties</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">!==</span><span class="WHIT"> </span><span class="NAME">O</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1204</span> </span><span class="WHIT">							</span><span class="NAME">stack.push</span><span class="PUNC">(</span><span class="PUNC">[</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"/"</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">escapeURIComponent</span><span class="PUNC">(</span><span class="NAME">key</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">properties</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1205</span> </span><span class="WHIT">						</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1206</span> </span><span class="WHIT">					</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1207</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1208</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">typeOf</span><span class="PUNC">(</span><span class="NAME">instance</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"object"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1209</span> </span><span class="WHIT">				</span><span class="NAME">properties</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1210</span> </span><span class="WHIT">				</span><span class="KEYW">for</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">key</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">properties</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1211</span> </span><span class="WHIT">					</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">properties.hasOwnProperty</span><span class="PUNC">(</span><span class="NAME">key</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1212</span> </span><span class="WHIT">						</span><span class="NAME">stack.push</span><span class="PUNC">(</span><span class="PUNC">[</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"/"</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">escapeURIComponent</span><span class="PUNC">(</span><span class="NAME">key</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">properties</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1213</span> </span><span class="WHIT">					</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1214</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1215</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="KEYW">else</span><span class="WHIT"> </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">typeOf</span><span class="PUNC">(</span><span class="NAME">instance</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"array"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1216</span> </span><span class="WHIT">				</span><span class="NAME">properties</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">instance</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1217</span> </span><span class="WHIT">				</span><span class="KEYW">for</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">key</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="NAME">key</span><span class="WHIT"> </span><span class="PUNC">&lt;</span><span class="WHIT"> </span><span class="NAME">properties.length</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="PUNC">++</span><span class="NAME">key</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1218</span> </span><span class="WHIT">					</span><span class="NAME">stack.push</span><span class="PUNC">(</span><span class="PUNC">[</span><span class="NAME">uri</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">"/"</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">escapeURIComponent</span><span class="PUNC">(</span><span class="NAME">key</span><span class="PUNC">)</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">properties</span><span class="PUNC">[</span><span class="NAME">key</span><span class="PUNC">]</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1219</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1220</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1221</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1222</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1223</span> </span><span class="WHIT">		</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">result.length</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="NAME">result</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">counter</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1224</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1225</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1226</span> </span><span class="WHIT">	</span><span class="COMM">/**
+<span class='line'>1227</span> 	 * A globaly accessible object that provides the ability to create and manage {@link Environments},
+<span class='line'>1228</span> 	 * as well as providing utility methods.
+<span class='line'>1229</span> 	 * 
+<span class='line'>1230</span> 	 * @namespace
+<span class='line'>1231</span> 	 */</span><span class="WHIT">
+<span class='line'>1232</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1233</span> </span><span class="WHIT">	</span><span class="NAME">JSV</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1234</span> </span><span class="WHIT">		</span><span class="NAME">_environments</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1235</span> </span><span class="WHIT">		</span><span class="NAME">_defaultEnvironmentID</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">""</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1236</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1237</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1238</span> 		 * Returns if the provide value is an instance of {@link JSONInstance}.
+<span class='line'>1239</span> 		 * 
+<span class='line'>1240</span> 		 * @param o The value to test
+<span class='line'>1241</span> 		 * @returns {Boolean} If the provide value is an instance of {@link JSONInstance}
+<span class='line'>1242</span> 		 */</span><span class="WHIT">
+<span class='line'>1243</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1244</span> </span><span class="WHIT">		</span><span class="NAME">isJSONInstance</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">o</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1245</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">o</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONInstance</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1246</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1247</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1248</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1249</span> 		 * Returns if the provide value is an instance of {@link JSONSchema}.
+<span class='line'>1250</span> 		 * 
+<span class='line'>1251</span> 		 * @param o The value to test
+<span class='line'>1252</span> 		 * @returns {Boolean} If the provide value is an instance of {@link JSONSchema}
+<span class='line'>1253</span> 		 */</span><span class="WHIT">
+<span class='line'>1254</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1255</span> </span><span class="WHIT">		</span><span class="NAME">isJSONSchema</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">o</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1256</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">o</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">JSONSchema</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1257</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1258</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1259</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1260</span> 		 * Creates and returns a new {@link Environment} that is a clone of the environment registered with the provided ID.
+<span class='line'>1261</span> 		 * If no environment ID is provided, the default environment is cloned.
+<span class='line'>1262</span> 		 * 
+<span class='line'>1263</span> 		 * @param {String} [id] The ID of the environment to clone. If &lt;code>undefined&lt;/code>, the default environment ID is used.
+<span class='line'>1264</span> 		 * @returns {Environment} A newly cloned {@link Environment}
+<span class='line'>1265</span> 		 * @throws {Error} If there is no environment registered with the provided ID
+<span class='line'>1266</span> 		 */</span><span class="WHIT">
+<span class='line'>1267</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1268</span> </span><span class="WHIT">		</span><span class="NAME">createEnvironment</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">id</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1269</span> </span><span class="WHIT">			</span><span class="NAME">id</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">id</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="NAME">this._defaultEnvironmentID</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1270</span> </span><span class="WHIT">			</span><span class="WHIT">
+<span class='line'>1271</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="NAME">this._environments</span><span class="PUNC">[</span><span class="NAME">id</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1272</span> </span><span class="WHIT">				</span><span class="KEYW">throw</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">Error</span><span class="PUNC">(</span><span class="STRN">"Unknown Environment ID"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1273</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1274</span> </span><span class="WHIT">			</span><span class="COMM">//else</span><span class="WHIT">
+<span class='line'>1275</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._environments</span><span class="PUNC">[</span><span class="NAME">id</span><span class="PUNC">]</span><span class="PUNC">.</span><span class="NAME">clone</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1276</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1277</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1278</span> </span><span class="WHIT">		</span><span class="NAME">Environment</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">Environment</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1279</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1280</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1281</span> 		 * Registers the provided {@link Environment} with the provided ID.
+<span class='line'>1282</span> 		 * 
+<span class='line'>1283</span> 		 * @param {String} id The ID of the environment
+<span class='line'>1284</span> 		 * @param {Environment} env The environment to register
+<span class='line'>1285</span> 		 */</span><span class="WHIT">
+<span class='line'>1286</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1287</span> </span><span class="WHIT">		</span><span class="NAME">registerEnvironment</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">id</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">env</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1288</span> </span><span class="WHIT">			</span><span class="NAME">id</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">id</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">env</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">)</span><span class="PUNC">.</span><span class="NAME">_id</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1289</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">id</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="PUNC">!</span><span class="NAME">this._environments</span><span class="PUNC">[</span><span class="NAME">id</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">env</span><span class="WHIT"> </span><span class="KEYW">instanceof</span><span class="WHIT"> </span><span class="NAME">Environment</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1290</span> </span><span class="WHIT">				</span><span class="NAME">env._id</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">id</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1291</span> </span><span class="WHIT">				</span><span class="NAME">this._environments</span><span class="PUNC">[</span><span class="NAME">id</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">env</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1292</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1293</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1294</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1295</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1296</span> 		 * Sets which registered ID is the default environment.
+<span class='line'>1297</span> 		 * 
+<span class='line'>1298</span> 		 * @param {String} id The ID of the registered environment that is default
+<span class='line'>1299</span> 		 * @throws {Error} If there is no registered environment with the provided ID
+<span class='line'>1300</span> 		 */</span><span class="WHIT">
+<span class='line'>1301</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1302</span> </span><span class="WHIT">		</span><span class="NAME">setDefaultEnvironmentID</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">id</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1303</span> </span><span class="WHIT">			</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">typeof</span><span class="WHIT"> </span><span class="NAME">id</span><span class="WHIT"> </span><span class="PUNC">===</span><span class="WHIT"> </span><span class="STRN">"string"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1304</span> </span><span class="WHIT">				</span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="NAME">this._environments</span><span class="PUNC">[</span><span class="NAME">id</span><span class="PUNC">]</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1305</span> </span><span class="WHIT">					</span><span class="KEYW">throw</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">Error</span><span class="PUNC">(</span><span class="STRN">"Unknown Environment ID"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1306</span> </span><span class="WHIT">				</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1307</span> </span><span class="WHIT">				</span><span class="WHIT">
+<span class='line'>1308</span> </span><span class="WHIT">				</span><span class="NAME">this._defaultEnvironmentID</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">id</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1309</span> </span><span class="WHIT">			</span><span class="PUNC">}</span><span class="WHIT">
+<span class='line'>1310</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1311</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1312</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1313</span> 		 * Returns the ID of the default environment.
+<span class='line'>1314</span> 		 * 
+<span class='line'>1315</span> 		 * @returns {String} The ID of the default environment
+<span class='line'>1316</span> 		 */</span><span class="WHIT">
+<span class='line'>1317</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1318</span> </span><span class="WHIT">		</span><span class="NAME">getDefaultEnvironmentID</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
+<span class='line'>1319</span> </span><span class="WHIT">			</span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this._defaultEnvironmentID</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1320</span> </span><span class="WHIT">		</span><span class="PUNC">}</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1321</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1322</span> </span><span class="WHIT">		</span><span class="COMM">//</span><span class="WHIT">
+<span class='line'>1323</span> </span><span class="WHIT">		</span><span class="COMM">// Utility Functions</span><span class="WHIT">
+<span class='line'>1324</span> </span><span class="WHIT">		</span><span class="COMM">//</span><span class="WHIT">
+<span class='line'>1325</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1326</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1327</span> 		 * Returns the name of the type of the provided value.
+<span class='line'>1328</span> 		 *
+<span class='line'>1329</span> 		 * @event //utility
+<span class='line'>1330</span> 		 * @param {Any} o The value to determine the type of
+<span class='line'>1331</span> 		 * @returns {String} The name of the type of the value
+<span class='line'>1332</span> 		 */</span><span class="WHIT">
+<span class='line'>1333</span> </span><span class="WHIT">		</span><span class="NAME">typeOf</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">typeOf</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1334</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1335</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1336</span> 		 * Return a new object that inherits all of the properties of the provided object.
+<span class='line'>1337</span> 		 *
+<span class='line'>1338</span> 		 * @event //utility
+<span class='line'>1339</span> 		 * @param {Object} proto The prototype of the new object
+<span class='line'>1340</span> 		 * @returns {Object} A new object that inherits all of the properties of the provided object
+<span class='line'>1341</span> 		 */</span><span class="WHIT">
+<span class='line'>1342</span> </span><span class="WHIT">		</span><span class="NAME">createObject</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">createObject</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1343</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1344</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1345</span> 		 * Returns a new object with each property transformed by the iterator.
+<span class='line'>1346</span> 		 *
+<span class='line'>1347</span> 		 * @event //utility
+<span class='line'>1348</span> 		 * @param {Object} obj The object to transform
+<span class='line'>1349</span> 		 * @param {Function} iterator A function that returns the new value of the provided property
+<span class='line'>1350</span> 		 * @param {Object} [scope] The value of &lt;code>this&lt;/code> in the iterator
+<span class='line'>1351</span> 		 * @returns {Object} A new object with each property transformed
+<span class='line'>1352</span> 		 */</span><span class="WHIT">
+<span class='line'>1353</span> </span><span class="WHIT">		</span><span class="NAME">mapObject</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">mapObject</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1354</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1355</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1356</span> 		 * Returns a new array with each item transformed by the iterator.
+<span class='line'>1357</span> 		 * 
+<span class='line'>1358</span> 		 * @event //utility
+<span class='line'>1359</span> 		 * @param {Array} arr The array to transform
+<span class='line'>1360</span> 		 * @param {Function} iterator A function that returns the new value of the provided item
+<span class='line'>1361</span> 		 * @param {Object} scope The value of &lt;code>this&lt;/code> in the iterator
+<span class='line'>1362</span> 		 * @returns {Array} A new array with each item transformed
+<span class='line'>1363</span> 		 */</span><span class="WHIT">
+<span class='line'>1364</span> </span><span class="WHIT">		</span><span class="NAME">mapArray</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">mapArray</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1365</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1366</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1367</span> 		 * Returns a new array that only contains the items allowed by the iterator.
+<span class='line'>1368</span> 		 *
+<span class='line'>1369</span> 		 * @event //utility
+<span class='line'>1370</span> 		 * @param {Array} arr The array to filter
+<span class='line'>1371</span> 		 * @param {Function} iterator The function that returns true if the provided property should be added to the array
+<span class='line'>1372</span> 		 * @param {Object} scope The value of &lt;code>this&lt;/code> within the iterator
+<span class='line'>1373</span> 		 * @returns {Array} A new array that contains the items allowed by the iterator
+<span class='line'>1374</span> 		 */</span><span class="WHIT">
+<span class='line'>1375</span> </span><span class="WHIT">		</span><span class="NAME">filterArray</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">filterArray</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1376</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1377</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1378</span> 		 * Returns the first index in the array that the provided item is located at.
+<span class='line'>1379</span> 		 *
+<span class='line'>1380</span> 		 * @event //utility
+<span class='line'>1381</span> 		 * @param {Array} arr The array to search
+<span class='line'>1382</span> 		 * @param {Any} o The item being searched for
+<span class='line'>1383</span> 		 * @returns {Number} The index of the item in the array, or &lt;code>-1&lt;/code> if not found
+<span class='line'>1384</span> 		 */</span><span class="WHIT">
+<span class='line'>1385</span> </span><span class="WHIT">		</span><span class="NAME">searchArray</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">searchArray</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1386</span> </span><span class="WHIT">			</span><span class="WHIT">
+<span class='line'>1387</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1388</span> 		 * Returns an array representation of a value.
+<span class='line'>1389</span> 		 * &lt;ul>
+<span class='line'>1390</span> 		 * &lt;li>For array-like objects, the value will be casted as an Array type.&lt;/li>
+<span class='line'>1391</span> 		 * &lt;li>If an array is provided, the function will simply return the same array.&lt;/li>
+<span class='line'>1392</span> 		 * &lt;li>For a null or undefined value, the result will be an empty Array.&lt;/li>
+<span class='line'>1393</span> 		 * &lt;li>For all other values, the value will be the first element in a new Array. &lt;/li>
+<span class='line'>1394</span> 		 * &lt;/ul>
+<span class='line'>1395</span> 		 *
+<span class='line'>1396</span> 		 * @event //utility
+<span class='line'>1397</span> 		 * @param {Any} o The value to convert into an array
+<span class='line'>1398</span> 		 * @returns {Array} The value as an array
+<span class='line'>1399</span> 		 */</span><span class="WHIT">
+<span class='line'>1400</span> </span><span class="WHIT">		</span><span class="NAME">toArray</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">toArray</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1401</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1402</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1403</span> 		 * Returns an array of the names of all properties of an object.
+<span class='line'>1404</span> 		 * 
+<span class='line'>1405</span> 		 * @event //utility
+<span class='line'>1406</span> 		 * @param {Object|Array} o The object in question
+<span class='line'>1407</span> 		 * @returns {Array} The names of all properties
+<span class='line'>1408</span> 		 */</span><span class="WHIT">
+<span class='line'>1409</span> </span><span class="WHIT">		</span><span class="NAME">keys</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">keys</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1410</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1411</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1412</span> 		 * Mutates the array by pushing the provided value onto the array only if it is not already there.
+<span class='line'>1413</span> 		 *
+<span class='line'>1414</span> 		 * @event //utility
+<span class='line'>1415</span> 		 * @param {Array} arr The array to modify
+<span class='line'>1416</span> 		 * @param {Any} o The object to add to the array if it is not already there
+<span class='line'>1417</span> 		 * @returns {Array} The provided array for chaining
+<span class='line'>1418</span> 		 */</span><span class="WHIT">
+<span class='line'>1419</span> </span><span class="WHIT">		</span><span class="NAME">pushUnique</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">pushUnique</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1420</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1421</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1422</span> 		 * Mutates the array by removing the first item that matches the provided value in the array.
+<span class='line'>1423</span> 		 *
+<span class='line'>1424</span> 		 * @event //utility
+<span class='line'>1425</span> 		 * @param {Array} arr The array to modify
+<span class='line'>1426</span> 		 * @param {Any} o The object to remove from the array
+<span class='line'>1427</span> 		 * @returns {Array} The provided array for chaining
+<span class='line'>1428</span> 		 */</span><span class="WHIT">
+<span class='line'>1429</span> </span><span class="WHIT">		</span><span class="NAME">popFirst</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">popFirst</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1430</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1431</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1432</span> 		 * Creates a copy of the target object.
+<span class='line'>1433</span> 		 * &lt;p>
+<span class='line'>1434</span> 		 * This method will create a new instance of the target, and then mixin the properties of the target.
+<span class='line'>1435</span> 		 * If &lt;code>deep&lt;/code> is &lt;code>true&lt;/code>, then each property will be cloned before mixin.
+<span class='line'>1436</span> 		 * &lt;/p>
+<span class='line'>1437</span> 		 * &lt;p>&lt;b>Warning&lt;/b>: This is not a generic clone function, as it will only properly clone objects and arrays.&lt;/p>
+<span class='line'>1438</span> 		 * 
+<span class='line'>1439</span> 		 * @event //utility
+<span class='line'>1440</span> 		 * @param {Any} o The value to clone 
+<span class='line'>1441</span> 		 * @param {Boolean} [deep=false] If each property should be recursively cloned
+<span class='line'>1442</span> 		 * @returns A cloned copy of the provided value
+<span class='line'>1443</span> 		 */</span><span class="WHIT">
+<span class='line'>1444</span> </span><span class="WHIT">		</span><span class="NAME">clone</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">clone</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1445</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1446</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1447</span> 		 * Generates a pseudo-random UUID.
+<span class='line'>1448</span> 		 * 
+<span class='line'>1449</span> 		 * @event //utility
+<span class='line'>1450</span> 		 * @returns {String} A new universally unique ID
+<span class='line'>1451</span> 		 */</span><span class="WHIT">
+<span class='line'>1452</span> </span><span class="WHIT">		</span><span class="NAME">randomUUID</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">randomUUID</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1453</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1454</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1455</span> 		 * Properly escapes a URI component for embedding into a URI string.
+<span class='line'>1456</span> 		 * 
+<span class='line'>1457</span> 		 * @event //utility
+<span class='line'>1458</span> 		 * @param {String} str The URI component to escape
+<span class='line'>1459</span> 		 * @returns {String} The escaped URI component
+<span class='line'>1460</span> 		 */</span><span class="WHIT">
+<span class='line'>1461</span> </span><span class="WHIT">		</span><span class="NAME">escapeURIComponent</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">escapeURIComponent</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1462</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1463</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1464</span> 		 * Returns a URI that is formated for JSV. Currently, this only ensures that the URI ends with a hash tag (&lt;code>#&lt;/code>).
+<span class='line'>1465</span> 		 * 
+<span class='line'>1466</span> 		 * @event //utility
+<span class='line'>1467</span> 		 * @param {String} uri The URI to format
+<span class='line'>1468</span> 		 * @returns {String} The URI formatted for JSV
+<span class='line'>1469</span> 		 */</span><span class="WHIT">
+<span class='line'>1470</span> </span><span class="WHIT">		</span><span class="NAME">formatURI</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">formatURI</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1471</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1472</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1473</span> 		 * Merges two schemas/instance together.
+<span class='line'>1474</span> 		 * 
+<span class='line'>1475</span> 		 * @event //utility
+<span class='line'>1476</span> 		 * @param {JSONSchema|Any} base The old value to merge
+<span class='line'>1477</span> 		 * @param {JSONSchema|Any} extra The new value to merge
+<span class='line'>1478</span> 		 * @param {Boolean} extension If the merge is a JSON Schema extension
+<span class='line'>1479</span> 		 * @return {Any} The modified base value
+<span class='line'>1480</span> 		 */</span><span class="WHIT">
+<span class='line'>1481</span> </span><span class="WHIT">		 </span><span class="WHIT">
+<span class='line'>1482</span> </span><span class="WHIT">		</span><span class="NAME">inherits</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">inherits</span><span class="PUNC">,</span><span class="WHIT">
+<span class='line'>1483</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1484</span> </span><span class="WHIT">		</span><span class="COMM">/**
+<span class='line'>1485</span> 		 * @private
+<span class='line'>1486</span> 		 * @event //utility
+<span class='line'>1487</span> 		 */</span><span class="WHIT">
+<span class='line'>1488</span> </span><span class="WHIT">		</span><span class="WHIT">
+<span class='line'>1489</span> </span><span class="WHIT">		</span><span class="NAME">InitializationError</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">InitializationError</span><span class="WHIT">
+<span class='line'>1490</span> </span><span class="WHIT">	</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
+<span class='line'>1491</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1492</span> </span><span class="WHIT">	</span><span class="NAME">this.JSV</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">JSV</span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//set global object</span><span class="WHIT">
+<span class='line'>1493</span> </span><span class="WHIT">	</span><span class="NAME">exports.JSV</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">JSV</span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//export to CommonJS</span><span class="WHIT">
+<span class='line'>1494</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1495</span> </span><span class="WHIT">	</span><span class="NAME">require</span><span class="PUNC">(</span><span class="STRN">"./environments"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">  </span><span class="COMM">//load default environments</span><span class="WHIT">
+<span class='line'>1496</span> </span><span class="WHIT">	</span><span class="WHIT">
+<span class='line'>1497</span> </span><span class="PUNC">}</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">)</span><span class="PUNC">;</span></pre></body></html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/examples/index.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/examples/index.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/examples/index.html	(revision 505)
@@ -0,0 +1,260 @@
+<!DOCTYPE html>
+<html>
+<head>
+	<title>JSV: JSON Schema Validator</title>
+	<style type="text/css">
+
+/* 1140px CSS Fluid Grid System */
+
+html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,cite,code,del,dfn,em,img,ins,q,small,strong,sub,sup,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;margin:0;padding:0}
+article,aside,figure,figure img,figcaption,hgroup,footer,header,nav,section,video,object{display:block}
+a img{border:0}
+figure{position:relative}
+figure img{width:100%}
+.container{padding-left:20px;padding-right:20px}
+.row{width:100%;max-width:1140px;min-width:755px;overflow:hidden;margin:0 auto}
+.onecol,.twocol,.threecol,.fourcol,.fivecol,.sixcol,.sevencol,.eightcol,.ninecol,.tencol,.elevencol{margin-right:3.8%;float:left;min-height:1px}
+.row .onecol{width:4.85%}
+.row .twocol{width:13.45%}
+.row .threecol{width:22.05%}
+.row .fourcol{width:30.75%}
+.row .fivecol{width:39.45%}
+.row .sixcol{width:48%}
+.row .sevencol{width:56.75%}
+.row .eightcol{width:65.4%}
+.row .ninecol{width:74.05%}
+.row .tencol{width:82.7%}
+.row .elevencol{width:91.35%}
+.row .twelvecol{width:100%;float:left}
+.last{margin-right:0}
+img,object,embed{max-width:100%}
+img{height:auto}
+@media only screen and (max-width: 1023px) {
+body{font-size:.8em;line-height:1.5em}
+}
+@media handheld, only screen and (max-width: 767px) {
+body{font-size:16px;-webkit-text-size-adjust:none}
+.row,body,.container{width:100%;min-width:0;margin-left:0;margin-right:0;padding-left:0;padding-right:0}
+.row .onecol,.row .twocol,.row .threecol,.row .fourcol,.row .fivecol,.row .sixcol,.row .sevencol,.row .eightcol,.row .ninecol,.row .tencol,.row .elevencol,.row .twelvecol{width:auto;float:none;margin-left:0;margin-right:0;padding-left:20px;padding-right:20px}
+}
+
+/* Styles */
+
+.container { padding-bottom: 20px; font-family: sans-serif; } 
+.row { margin-top: 20px; }
+legend { font-weight: bold; font-size: 125%; }
+label {	display: block; font-weight: bold; }
+.value_label { display: none; }
+.value { height: 360px; font-size: 12px; tab-size: 4; }
+.value, .uri { width: 100%; }
+.value, .uri, .error code { font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif; }
+.error { margin: 20px 0; font-size: 12px; }
+.error:first-child { margin-top: 0; }
+.error:last-child { margin-bottom: 0; }
+.error_message { font-weight: bold; }
+.error_schemaUri { margin-left: 15px; }
+.error_attribute { margin-left: 15px; }
+#report { padding: 20px; }
+#report.valid { border: 1px solid #0f0; background-color: #efe; }
+#report.invalid { border: 1px solid #f00; background-color: #fee; }
+
+	</style>
+</head>
+<body class="container">
+	<div class="row">
+		<h1>JSV: JSON Schema Validator</h1>
+		<p></p>
+	</div>
+	
+	<form id="jsv" class="row">
+		<div class="row">
+			<div class="twelvecol last">
+				<fieldset id="environment_properties">
+					<label for="environment">Environment</label>
+					<select id="environment" name="environment">
+						<option value="json-schema-draft-03">JSON Schema Draft-03</option>
+						<option value="json-schema-draft-02">JSON Schema Draft-02</option>
+						<option value="json-schema-draft-01">JSON Schema Draft-01</option>
+					</select>
+				</fieldset>
+			</div>
+		</div>
+		
+		<div class="row">
+			<div class="sixcol">
+				<fieldset id="json_properties">
+					<legend>Input</legend>
+					<label id="json_label" class="value_label" for="json">Value</label>
+					<textarea id="json" class="value" name="json" wrap="off"></textarea>
+					<label id="json_uri_label" class="uri_label" for="json_uri">URI</label>
+					<input id="json_uri" class="uri" type="text" name="json_uri" value="json">
+				</fieldset>
+			</div>
+			
+			<div class="sixcol last">
+				<fieldset id="schema_properties">
+					<legend>Schema</legend>
+					<label id="schema_label" class="value_label" for="schema">Value</label>
+					<textarea id="schema" class="value" name="schema" wrap="off"></textarea>
+					<label id="schema_uri_label" class="uri_label" for="schema_uri">URI</label>
+					<input id="schema_uri" class="uri" type="text" name="schema_uri" value="schema">
+				</fieldset>
+			</div>
+		</div>
+		
+		<div class="row">
+			<div class="twelvecol last">
+				<fieldset id="controls">
+					<input id="validate" type="submit" value="Validate"/>
+				</fieldset>
+			</div>
+		</div>
+	</form>
+	
+	<div class="row">
+		<div id="report"></div>
+	</div>
+	
+	<!-- Load Scripts -->
+	
+    <script type="text/javascript">
+
+/* Code by: http://bitprophet.org/code/javascript_tab.html */ 
+
+var TAB_CHAR = "\t";
+function checkTab(evt) {
+	var t = evt.target;
+	var ss = t.selectionStart;
+	var se = t.selectionEnd;
+ 
+	// Tab key - insert tab expansion
+	if (evt.keyCode == 9) {
+		evt.preventDefault();
+		
+		// Special case of multi line selection
+		if (ss != se && t.value.slice(ss,se).indexOf("n") != -1) {
+			// In case selection was not of entire lines (e.g. selection begins in the middle of a line)
+			// we ought to tab at the beginning as well as at the start of every following line.
+			var pre = t.value.slice(0,ss);
+			var sel = t.value.slice(ss,se).replace(/n/g,"n"+TAB_CHAR);
+			var post = t.value.slice(se,t.value.length);
+			t.value = pre.concat(TAB_CHAR).concat(sel).concat(post);
+				   
+			t.selectionStart = ss + TAB_CHAR.length;
+			t.selectionEnd = se + TAB_CHAR.length;
+		}
+		
+		// "Normal" case (no selection or selection on one line only)
+		else {
+			t.value = t.value.slice(0,ss).concat(TAB_CHAR).concat(t.value.slice(ss,t.value.length));
+			if (ss == se) {
+				t.selectionStart = t.selectionEnd = ss + TAB_CHAR.length;
+			}
+			else {
+				t.selectionStart = ss + TAB_CHAR.length;
+				t.selectionEnd = se + TAB_CHAR.length;
+			}
+		}
+	}
+	
+	// Backspace key - delete preceding tab expansion, if exists
+   else if (evt.keyCode==8 && t.value.slice(ss - 4,ss) == TAB_CHAR) {
+		evt.preventDefault();
+		
+		t.value = t.value.slice(0,ss - 4).concat(t.value.slice(ss,t.value.length));
+		t.selectionStart = t.selectionEnd = ss - TAB_CHAR.length;
+	}
+	
+	// Delete key - delete following tab expansion, if exists
+	else if (evt.keyCode==46 && t.value.slice(se,se + 4) == TAB_CHAR) {
+		evt.preventDefault();
+		
+		t.value = t.value.slice(0,ss).concat(t.value.slice(ss + 4,t.value.length));
+		t.selectionStart = t.selectionEnd = ss;
+	}
+	// Left/right arrow keys - move across the tab in one go
+	else if (evt.keyCode == 37 && t.value.slice(ss - 4,ss) == TAB_CHAR) {
+		evt.preventDefault();
+		t.selectionStart = t.selectionEnd = ss - 4;
+	}
+	else if (evt.keyCode == 39 && t.value.slice(ss,ss + 4) == TAB_CHAR) {
+		evt.preventDefault();
+		t.selectionStart = t.selectionEnd = ss + 4;
+	}
+}
+
+/* Form Logic */
+
+window.addEventListener("load", function (event) {
+	var textareas = document.getElementsByTagName("textarea");
+	for (var x = 0, xl = textareas.length; x < xl; ++x) {
+		textareas[x].addEventListener("keypress", checkTab);
+	}
+
+	var form = document.forms["jsv"];
+	form.addEventListener("submit", function (event) {
+		try {
+			var environmentId = form.elements["environment"].value;
+			var json =  form.elements["json"].value;
+			var jsonUri =  form.elements["json_uri"].value;
+			var schema =  form.elements["schema"].value;
+			var schemaUri =  form.elements["schema_uri"].value;
+			
+			try {
+				json = json ? JSON.parse(json) : undefined;
+			} catch (e) {
+				throw new Error("Input is not valid JSON");
+			}
+			
+			try {
+				schema = schema ? JSON.parse(schema) : undefined;
+			} catch (e) {
+				throw new Error("Schema is not valid JSON");
+			}
+			
+			var environment = JSV.createEnvironment(environmentId);
+			var report = environment.validate(environment.createInstance(json, jsonUri), environment.createSchema(schema, null, schemaUri));
+			var reportElement = document.getElementById("report");
+			var output;
+			
+			if (report.errors.length) {
+				reportElement.className = "invalid";
+				output = "";
+				for (var x = 0, xl = report.errors.length; x < xl; ++x) {
+					output += '<div class="error"><span class="error_uri">Problem with <code>' +
+						report.errors[x].uri +
+						'</code> : </span><span class="error_message">' +
+						report.errors[x].message +
+						'</span><br/><span class="error_schemaUri">Reported by <code>' +
+						report.errors[x].schemaUri +
+						'</code></span><br/><span class="error_attribute">Attribute "<code>' +
+						report.errors[x].attribute + 
+						'</code>"</span><span class="error_details"> (<code>' +
+						JSON.stringify(report.errors[x].details) +
+						'</code>)</span></div>';
+				}
+				reportElement.innerHTML = output;
+			} else {
+				reportElement.className = "valid";
+				reportElement.textContent = "Input is valid!";
+			}
+		} catch (e) {
+			var reportElement = document.getElementById("report");
+			reportElement.className = "invalid";
+			reportElement.textContent = e;
+		}
+		
+		event.preventDefault();
+		return false;
+	});
+});
+
+	</script>
+    <script type="text/javascript" src="../lib/uri/uri.js"></script>
+    <script type="text/javascript" src="../lib/uri/schemes/urn.js"></script>
+    <script type="text/javascript" src="../lib/jsv.js"></script>
+    <script type="text/javascript" src="../lib/json-schema-draft-03.js"></script>
+    <script type="text/javascript" src="../lib/json-schema-draft-02.js"></script>
+    <script type="text/javascript" src="../lib/json-schema-draft-01.js"></script>
+</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/README.txt
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/README.txt	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/README.txt	(revision 505)
@@ -0,0 +1,183 @@
+======================================================================
+
+DESCRIPTION:
+
+This is the source code for JsDoc Toolkit, an automatic documentation
+generation tool for JavaScript. It is written in JavaScript and is run
+from a command line (or terminal) using Java and Mozilla's Rhino
+JavaScript runtime engine.
+
+Using this tool you can automatically turn JavaDoc-like comments in
+your JavaScript source code into published output files, such as HTML
+or XML.
+
+For more information, to report a bug, or to browse the technical
+documentation for this tool please visit the official JsDoc Toolkit
+project homepage at http://code.google.com/p/jsdoc-toolkit/
+
+For the most up-to-date documentation on JsDoc Toolkit see the 
+official wiki at http://code.google.com/p/jsdoc-toolkit/w/list
+
+======================================================================
+
+REQUIREMENTS:
+
+JsDoc Toolkit is known to work with:
+java version "1.6.0_03"
+Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
+on Windows XP,
+and java version "1.5.0_19"
+Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-304)
+on Mac OS X 10.5.
+
+Other versions of java may or may not work with JsDoc Toolkit.
+
+======================================================================
+
+USAGE:
+
+Running JsDoc Toolkit requires you to have Java installed on your
+computer. For more information see http://www.java.com/getjava/
+
+Before running the JsDoc Toolkit app you should change your current
+working directory to the jsdoc-toolkit folder. Then follow the
+examples below, or as shown on the project wiki.
+
+On a computer running Windows a valid command line to run JsDoc
+Toolkit might look like this:
+
+> java -jar jsrun.jar app\run.js -a -t=templates\jsdoc mycode.js
+
+On Mac OS X or Linux the same command would look like this:
+
+$ java -jar jsrun.jar app/run.js -a -t=templates/jsdoc mycode.js
+
+The above assumes your current working directory contains jsrun.jar,
+the "app" and "templates" subdirectories from the standard JsDoc
+Toolkit distribution and that the relative path to the code you wish
+to document is "mycode.js".
+
+The output documentation files will be saved to a new directory named
+"out" (by default) in the current directory, or if you specify a
+-d=somewhere_else option, to the somewhere_else directory.
+
+For help (usage notes) enter this on the command line:
+
+$ java -jar jsrun.jar app/run.js --help
+
+More information about the various command line options used by JsDoc
+Toolkit are available on the project wiki.
+
+======================================================================
+
+RUNNING VIA SHELL SCRIPT
+
+Avi Deitcher has contributed the file jsrun.sh with the following usage notes:
+
+A script to simplify running jsdoc from the command-line, especially when
+running from within a development or build environment such as ant.
+
+Normally, to run jsdoc, you need a command-line as the following:
+java -Djsdoc.dir=/some/long/dir/path/to/jsdoc -jar
+/some/long/dir/path/to/jsdoc/jsrun.jar /some/long/dir/path/to/jsdoc/app/run.js
+-t=template -r=4 /some/long/dir/path/to/my/src/code
+
+This can get tedious to redo time and again, and difficult to use from within a build environment.
+
+To simplify the process, jsrun.sh will automatically run this path, as well as passing through any arguments.
+
+Usage: jsrun.sh <run.js arguments>
+
+All <run.js arguments> will be passed through.
+Additionally, jsrun.sh will take the following actions:
+1) If the environment variable JSDOCDIR is set, it will add
+"-Djsdoc.dir=$JSDOCDIR" to the command-line
+2) If the environment variable JSDOCTEMPLATEDIR is set, it will add
+"-Djsdoc.template.dir=$JSDOCTEMPLATEDIR" to the command-line
+3) java with the appropriate path to jsrun.jar and run.js will be instantiated
+
+If not variables are set, it is assumed that the path to jsrun.jar and app/ is in the current working directory.
+
+Example:
+# jsrun.sh ./src/
+Assuming JSDOCDIR=/some/path/to/my/jsdoc will cause the following command to
+execute:
+java -Djsdoc.dir=/some/path/to/my/jsdoc -jar /some/path/to/my/jsdoc/jsrun.jar
+/some/path/to/my/jsdoc/app/run.js ./src/
+
+======================================================================
+
+TESTING:
+
+To run the suite of unit tests included with JsDoc Toolkit enter this
+on the command line:
+
+$ java -jar jsrun.jar app/run.js -T
+
+To see a dump of the internal data structure that JsDoc Toolkit has
+built from your source files use this command:
+
+$ java -jar jsrun.jar app/run.js mycode.js -Z
+
+======================================================================
+
+LICENSE:
+
+JSDoc.pm
+
+This project is based on the JSDoc.pm tool, created by Michael
+Mathews and Gabriel Reid. More information on JsDoc.pm can
+be found on the JSDoc.pm homepage: http://jsdoc.sourceforge.net/
+
+Complete documentation on JsDoc Toolkit can be found on the project
+wiki at http://code.google.com/p/jsdoc-toolkit/w/list
+
+Rhino
+
+Rhino (JavaScript in Java) is open source and licensed by Mozilla
+under the MPL 1.1 or later/GPL 2.0 or later licenses, the text of
+which is available at http://www.mozilla.org/MPL/
+
+You can obtain the source code for Rhino from the Mozilla web site at
+http://www.mozilla.org/rhino/download.html
+
+JsDoc Toolkit is a larger work that uses the Rhino JavaScript engine
+but is not derived from it in any way. The Rhino library is used 
+without modification and without any claims whatsoever.
+
+The Rhino Debugger
+
+You can obtain more information about the Rhino Debugger from the 
+Mozilla web site at http://www.mozilla.org/rhino/debugger.html
+
+JsDoc Toolkit is a larger work that uses the Rhino Debugger but
+is not derived from it in any way. The Rhino Debugger is used
+without modification and without any claims whatsoever.
+
+JsDoc Toolkit
+
+All code specific to JsDoc Toolkit are free, open source and licensed
+for use under the X11/MIT License.
+
+JsDoc Toolkit is Copyright (c)2009 Michael Mathews <micmath@gmail.com>
+
+This program is free software; you can redistribute it and/or
+modify it under the terms below.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions: The above copyright notice and this
+permission notice must be included in all copies or substantial
+portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame.js	(revision 505)
@@ -0,0 +1,33 @@
+IO.include("frame/Opt.js");
+IO.include("frame/Chain.js");
+IO.include("frame/Link.js");
+IO.include("frame/String.js");
+IO.include("frame/Hash.js");
+IO.include("frame/Namespace.js");
+//IO.include("frame/Reflection.js");
+
+/** A few helper functions to make life a little easier. */
+
+function defined(o) {
+	return (o !== undefined);
+}
+
+function copy(o) { // todo check for circular refs
+	if (o == null || typeof(o) != 'object') return o;
+	var c = new o.constructor();
+	for(var p in o)	c[p] = copy(o[p]);
+	return c;
+}
+
+function isUnique(arr) {
+	var l = arr.length;
+	for(var i = 0; i < l; i++ ) {
+		if (arr.lastIndexOf(arr[i]) > i) return false;
+	}
+	return true;
+}
+
+/** Returns the given string with all regex meta characters backslashed. */
+RegExp.escapeMeta = function(str) {
+	return str.replace(/([$^\\\/()|?+*\[\]{}.-])/g, "\\$1");
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Chain.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Chain.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Chain.js	(revision 505)
@@ -0,0 +1,102 @@
+/**@constructor*/
+function ChainNode(object, link) {
+	this.value = object;
+	this.link = link; // describes this node's relationship to the previous node
+}
+
+/**@constructor*/
+function Chain(valueLinks) {
+	this.nodes = [];
+	this.cursor = -1;
+	
+	if (valueLinks && valueLinks.length > 0) {
+		this.push(valueLinks[0], "//");
+		for (var i = 1, l = valueLinks.length; i < l; i+=2) {
+			this.push(valueLinks[i+1], valueLinks[i]);
+		}
+	}
+}
+
+Chain.prototype.push = function(o, link) {
+	if (this.nodes.length > 0 && link) this.nodes.push(new ChainNode(o, link));
+	else this.nodes.push(new ChainNode(o));
+}
+
+Chain.prototype.unshift = function(o, link) {
+	if (this.nodes.length > 0 && link) this.nodes[0].link = link;
+	this.nodes.unshift(new ChainNode(o));
+	this.cursor++;
+}
+
+Chain.prototype.get = function() {
+	if (this.cursor < 0 || this.cursor > this.nodes.length-1) return null;
+	return this.nodes[this.cursor];
+}
+
+Chain.prototype.first = function() {
+	this.cursor = 0;
+	return this.get();
+}
+
+Chain.prototype.last = function() {
+	this.cursor = this.nodes.length-1;
+	return this.get();
+}
+
+Chain.prototype.next = function() {
+	this.cursor++;
+	return this.get();
+}
+
+Chain.prototype.prev = function() {
+	this.cursor--;
+	return this.get();
+}
+
+Chain.prototype.toString = function() {
+	var string = "";
+	for (var i = 0, l = this.nodes.length; i < l; i++) {
+		if (this.nodes[i].link) string += " -("+this.nodes[i].link+")-> ";
+		string += this.nodes[i].value.toString();
+	}
+	return string;
+}
+
+Chain.prototype.joinLeft = function() {
+	var result = "";
+	for (var i = 0, l = this.cursor; i < l; i++) {
+		if (result && this.nodes[i].link) result += this.nodes[i].link;
+		result += this.nodes[i].value.toString();
+	}
+	return result;
+}
+
+
+/* USAGE:
+
+var path = "one/two/three.four/five-six";
+var pathChain = new Chain(path.split(/([\/.-])/));
+print(pathChain);
+
+var lineage = new Chain();
+lineage.push("Port");
+lineage.push("Les", "son");
+lineage.push("Dawn", "daughter");
+lineage.unshift("Purdie", "son");
+
+print(lineage);
+
+// walk left
+for (var node = lineage.last(); node !== null; node = lineage.prev()) {
+	print("< "+node.value);
+}
+
+// walk right
+var node = lineage.first()
+while (node !== null) {
+	print(node.value);
+	node = lineage.next();
+	if (node && node.link) print("had a "+node.link+" named");
+}
+
+*/
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Dumper.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Dumper.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Dumper.js	(revision 505)
@@ -0,0 +1,144 @@
+/**
+ * @class
+<pre>
+This is a lightly modified version of Kevin Jones' JavaScript
+library Data.Dump. To download the original visit:
+    <a href="http://openjsan.org/doc/k/ke/kevinj/Data/Dump/">http://openjsan.org/doc/k/ke/kevinj/Data/Dump/</a>
+
+AUTHORS
+
+The Data.Dump JavaScript module is written by Kevin Jones 
+(kevinj@cpan.org), based on Data::Dump by Gisle Aas (gisle@aas.no),
+based on Data::Dumper by Gurusamy Sarathy (gsar@umich.edu).
+
+COPYRIGHT
+
+Copyright 2007 Kevin Jones. Copyright 1998-2000,2003-2004 Gisle Aas.
+Copyright 1996-1998 Gurusamy Sarathy.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the Perl Artistic License
+
+See http://www.perl.com/perl/misc/Artistic.html
+</pre>
+ * @static
+ */
+Dumper = {
+	/** @param [...] The objects to dump. */
+	dump: function () {
+	    if (arguments.length > 1)
+	        return this._dump(arguments);
+	    else if (arguments.length == 1)
+	        return this._dump(arguments[0]);
+	    else
+	        return "()";
+	},
+	
+	_dump: function (obj) {
+		if (typeof obj == 'undefined') return 'undefined';
+		var out;
+		if (obj.serialize) { return obj.serialize(); }
+		var type = this._typeof(obj);
+		if (obj.circularReference) obj.circularReference++;
+		switch (type) {
+			case 'circular':
+				out = "{ //circularReference\n}";
+				break;
+			case 'object':
+				var pairs = new Array;
+				
+				for (var prop in obj) {
+					if (prop != "circularReference" && obj.hasOwnProperty(prop)) { //hide inherited properties
+						pairs.push(prop + ': ' + this._dump(obj[prop]));
+					}
+				}
+	
+				out = '{' + this._format_list(pairs) + '}';
+				break;
+	
+			case 'string':
+				for (var prop in Dumper.ESC) {
+					if (Dumper.ESC.hasOwnProperty(prop)) {
+						obj = obj.replace(prop, Dumper.ESC[prop]);
+					}
+				}
+	
+			// Escape UTF-8 Strings
+				if (obj.match(/^[\x00-\x7f]*$/)) {
+					out = '"' + obj.replace(/\"/g, "\\\"").replace(/([\n\r]+)/g, "\\$1") + '"';
+				}
+				else {
+					out = "unescape('"+escape(obj)+"')";
+				}
+				break;
+	
+			case 'array':
+				var elems = new Array;
+	
+				for (var i=0; i<obj.length; i++) {
+					elems.push( this._dump(obj[i]) );
+				}
+	
+				out = '[' + this._format_list(elems) + ']';
+				break;
+	
+			case 'date':
+			// firefox returns GMT strings from toUTCString()...
+			var utc_string = obj.toUTCString().replace(/GMT/,'UTC');
+				out = 'new Date("' + utc_string + '")';
+				break;
+	
+			case 'element':
+				// DOM element
+				out = this._dump_dom(obj);
+				break;
+		
+				default:
+					out = obj;
+		}
+	
+		out = String(out).replace(/\n/g, '\n    ');
+		out = out.replace(/\n    (.*)$/,"\n$1");
+	
+		return out;
+	},
+	
+	_format_list: function (list) {
+		if (!list.length) return '';
+		var nl = list.toString().length > 60 ? '\n' : ' ';
+		return nl + list.join(',' + nl) + nl;
+    },
+    
+    _typeof: function (obj) {
+    	if (obj && obj.circularReference && obj.circularReference > 1) return 'circular';
+		if (Array.prototype.isPrototypeOf(obj)) return 'array';
+		if (Date.prototype.isPrototypeOf(obj)) return 'date';
+		if (typeof obj.nodeType != 'undefined') return 'element';
+		return typeof(obj);
+	},
+	
+	_dump_dom: function (obj) {
+		return '"' + Dumper.nodeTypes[obj.nodeType] + '"';
+	}
+};
+
+Dumper.ESC = {
+    "\t": "\\t",
+    "\n": "\\n",
+    "\f": "\\f"
+};
+
+Dumper.nodeTypes = {
+    1: "ELEMENT_NODE",
+    2: "ATTRIBUTE_NODE",
+    3: "TEXT_NODE",
+    4: "CDATA_SECTION_NODE",
+    5: "ENTITY_REFERENCE_NODE",
+    6: "ENTITY_NODE",
+    7: "PROCESSING_INSTRUCTION_NODE",
+    8: "COMMENT_NODE",
+    9: "DOCUMENT_NODE",
+    10: "DOCUMENT_TYPE_NODE",
+    11: "DOCUMENT_FRAGMENT_NODE",
+    12: "NOTATION_NODE"
+};
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Hash.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Hash.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Hash.js	(revision 505)
@@ -0,0 +1,84 @@
+/**
+	@constructor
+	@example
+	var _index = new Hash();
+	_index.set("a", "apple");
+	_index.set("b", "blue");
+	_index.set("c", "coffee");
+
+	for (var p = _index.first(); p; p = _index.next()) {
+		print(p.key+" is for "+p.value);
+	}
+	
+ */
+var Hash = function() {
+	this._map = {};
+	this._keys = [];
+	this._vals = [];
+	this.reset();
+}
+
+Hash.prototype.set = function(k, v) {
+	if (k != "") {
+		this._keys.push(k);
+		this._map["="+k] = this._vals.length;
+		this._vals.push(v);
+	}
+}
+
+Hash.prototype.replace = function(k, k2, v) {
+	if (k == k2) return;
+
+	var offset = this._map["="+k];
+	this._keys[offset] = k2;
+	if (typeof v != "undefined") this._vals[offset] = v;
+	this._map["="+k2] = offset;
+	delete(this._map["="+k]);
+}
+
+Hash.prototype.drop = function(k) {
+	if (k != "") {
+		var offset = this._map["="+k];
+		this._keys.splice(offset, 1);
+		this._vals.splice(offset, 1);
+		delete(this._map["="+k]);
+		for (var p in this._map) {
+			if (this._map[p] >= offset) this._map[p]--;
+		}
+		if (this._cursor >= offset && this._cursor > 0) this._cursor--;
+	}
+}
+
+Hash.prototype.get = function(k) {
+	if (k != "") {
+		return this._vals[this._map["="+k]];
+	}
+}
+
+Hash.prototype.keys = function() {
+	return this._keys;
+}
+
+Hash.prototype.hasKey = function(k) {
+	if (k != "") {
+		return (typeof this._map["="+k] != "undefined");
+	}
+}
+
+Hash.prototype.values = function() {
+	return this._vals;
+}
+
+Hash.prototype.reset = function() {
+	this._cursor = 0;
+}
+
+Hash.prototype.first = function() {
+	this.reset();
+	return this.next();
+}
+
+Hash.prototype.next = function() {
+	if (this._cursor++ < this._keys.length)
+		return {key: this._keys[this._cursor-1], value: this._vals[this._cursor-1]};
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Link.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Link.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Link.js	(revision 505)
@@ -0,0 +1,173 @@
+/** Handle the creation of HTML links to documented symbols.
+	@constructor
+*/
+function Link() {
+	this.alias = "";
+	this.src = "";
+	this.file = "";
+	this.text = "";
+	this.innerName = "";
+	this.classLink = false;
+	this.targetName = "";
+	
+	this.target = function(targetName) {
+		if (defined(targetName)) this.targetName = targetName;
+		return this;
+	}
+	this.inner = function(inner) {
+		if (defined(inner)) this.innerName = inner;
+		return this;
+	}
+	this.withText = function(text) {
+		if (defined(text)) this.text = text;
+		return this;
+	}
+	this.toSrc = function(filename) {
+		if (defined(filename)) this.src = filename;
+		return this;
+	}
+	this.toSymbol = function(alias) {
+		if (defined(alias)) this.alias = new String(alias);
+		return this;
+	}
+	this.toClass = function(alias) {
+		this.classLink = true;
+		return this.toSymbol(alias);
+	}
+	this.toFile = function(file) {
+		if (defined(file)) this.file = file;
+		return this;
+	}
+	
+	this.toString = function() {
+		var linkString;
+		var thisLink = this;
+
+		if (this.alias) {
+			linkString = this.alias.replace(/(^|[^a-z$0-9_#.:^-])([|a-z$0-9_#.:^-]+)($|[^a-z$0-9_#.:^-])/i,
+				function(match, prematch, symbolName, postmatch) {
+					var symbolNames = symbolName.split("|");
+					var links = [];
+					for (var i = 0, l = symbolNames.length; i < l; i++) {
+						thisLink.alias = symbolNames[i];
+						links.push(thisLink._makeSymbolLink(symbolNames[i]));
+					}
+					return prematch+links.join("|")+postmatch;
+				}
+			);
+		}
+		else if (this.src) {
+			linkString = thisLink._makeSrcLink(this.src);
+		}
+		else if (this.file) {
+			linkString = thisLink._makeFileLink(this.file);
+		}
+
+		return linkString;
+	}
+}
+
+/** prefixed for hashes */
+Link.hashPrefix = "";
+
+/** Appended to the front of relative link paths. */
+Link.base = "";
+
+Link.symbolNameToLinkName = function(symbol) {
+	var linker = "",
+		ns = "";
+	
+	if (symbol.isStatic) linker = ".";
+	else if (symbol.isInner) linker = "-";
+	
+	if (symbol.isEvent && !/^event:/.test(symbol.name)) {
+		ns = "event:";
+	}
+	return Link.hashPrefix+linker+ns+symbol.name;
+}
+
+Link.getSymbol= function(alias) {
+    var symbol= Link.symbolSet.getSymbol(alias);
+    
+    if (symbol)
+        return symbol;
+        
+    if ('#'!==alias.charAt(0) || !Link.currentSymbol)
+        return null;
+    
+    //  resolve relative name
+    var container= Link.currentSymbol;
+    
+    while (container)
+    {
+        symbol= Link.symbolSet.getSymbol(container.alias + alias);
+        if (symbol)
+            return symbol;
+        
+        //  No superclass
+        if (!container.augments.length)
+            return null;
+        
+        container= Link.symbolSet.getSymbol(container.augments[0].desc);
+    }
+    
+    return null;
+}
+
+/** Create a link to another symbol. */
+Link.prototype._makeSymbolLink = function(alias) {
+	var linkBase = Link.base+publish.conf.symbolsDir;
+	var linkTo = Link.getSymbol(alias);
+	var linkPath;
+	var target = (this.targetName)? " target=\""+this.targetName+"\"" : "";
+
+	// if there is no symbol by that name just return the name unaltered
+	if (!linkTo)
+	    return this.text || alias;
+	
+	// it's a symbol in another file
+	else {
+		if (!linkTo.is("CONSTRUCTOR") && !linkTo.isNamespace) { // it's a method or property
+			linkPath= (Link.filemap) ? Link.filemap[linkTo.memberOf] :
+				      escape(linkTo.memberOf) || "_global_";
+				linkPath += publish.conf.ext + "#" + Link.symbolNameToLinkName(linkTo);
+		}
+		else {
+			linkPath = (Link.filemap)? Link.filemap[linkTo.alias] : escape(linkTo.alias);
+			linkPath += publish.conf.ext;// + (this.classLink? "":"#" + Link.hashPrefix + "constructor");
+		}
+		linkPath = linkBase + linkPath
+	}
+        
+	var linkText= this.text || alias;
+    
+	var link = {linkPath: linkPath, linkText: linkText, linkInner: (this.innerName? "#"+this.innerName : "")};
+	
+	if (typeof JSDOC.PluginManager != "undefined") {
+		JSDOC.PluginManager.run("onSymbolLink", link);
+	}
+	
+	return "<a href=\""+link.linkPath+link.linkInner+"\""+target+">"+link.linkText+"</a>";
+}
+
+/** Create a link to a source file. */
+Link.prototype._makeSrcLink = function(srcFilePath) {
+	var target = (this.targetName)? " target=\""+this.targetName+"\"" : "";
+		
+	// transform filepath into a filename
+	var srcFile = srcFilePath.replace(/\.\.?[\\\/]/g, "").replace(/[:\\\/]/g, "_");
+	var outFilePath = Link.base + publish.conf.srcDir + srcFile + publish.conf.ext;
+
+	if (!this.text) this.text = FilePath.fileName(srcFilePath);
+	return "<a href=\""+outFilePath+"\""+target+">"+this.text+"</a>";
+}
+
+/** Create a link to a source file. */
+Link.prototype._makeFileLink = function(filePath) {
+	var target = (this.targetName)? " target=\""+this.targetName+"\"" : "";
+		
+	var outFilePath =  Link.base + filePath;
+
+	if (!this.text) this.text = filePath;
+	return "<a href=\""+outFilePath+"\""+target+">"+this.text+"</a>";
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Namespace.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Namespace.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Namespace.js	(revision 505)
@@ -0,0 +1,10 @@
+_global_ = this;
+
+function Namespace(name, f) {
+	var n = name.split(".");
+	for (var o = _global_, i = 0, l = n.length; i < l; i++) {
+		o = o[n[i]] = o[n[i]] || {};
+	}
+	
+	if (f) f();
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Opt.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Opt.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Opt.js	(revision 505)
@@ -0,0 +1,134 @@
+/** @namespace */
+Opt = {
+	/**
+	 * Get commandline option values.
+	 * @param {Array} args Commandline arguments. Like ["-a=xml", "-b", "--class=new", "--debug"]
+	 * @param {object} optNames Map short names to long names. Like {a:"accept", b:"backtrace", c:"class", d:"debug"}.
+	 * @return {object} Short names and values. Like {a:"xml", b:true, c:"new", d:true}
+	 */
+	get: function(args, optNames) {
+		var opt = {"_": []}; // the unnamed option allows multiple values
+		for (var i = 0; i < args.length; i++) {
+			var arg = new String(args[i]);
+			var name;
+			var value;
+			if (arg.charAt(0) == "-") {
+				if (arg.charAt(1) == "-") { // it's a longname like --foo
+					arg = arg.substring(2);
+					var m = arg.split("=");
+					name = m.shift();
+					value = m.shift();
+					if (typeof value == "undefined") value = true;
+					
+					for (var n in optNames) { // convert it to a shortname
+						if (name == optNames[n]) {
+							name = n;
+						}
+					}
+				}
+				else { // it's a shortname like -f
+					arg = arg.substring(1);
+					var m = arg.split("=");
+					name = m.shift();
+					value = m.shift();
+					if (typeof value == "undefined") value = true;
+					
+					for (var n in optNames) { // find the matching key
+						if (name == n || name+'[]' == n) {
+							name = n;
+							break;
+						}
+					}
+				}
+				if (name.match(/(.+)\[\]$/)) { // it's an array type like n[]
+					name = RegExp.$1;
+					if (!opt[name]) opt[name] = [];
+				}
+				
+				if (opt[name] && opt[name].push) {
+					opt[name].push(value);
+				}
+				else {
+					opt[name] = value;
+				}
+			}
+			else { // not associated with any optname
+				opt._.push(args[i]);
+			}
+		}
+		return opt;
+	}
+}
+
+/*t:
+	plan(11, "Testing Opt.");
+	
+	is(
+		typeof Opt,
+		"object",
+		"Opt is an object."
+	);
+	
+	is(
+		typeof Opt.get,
+		"function",
+		"Opt.get is a function."
+	);
+	
+	var optNames = {a:"accept", b:"backtrace", c:"class", d:"debug", "e[]":"exceptions"};
+	var t_options = Opt.get(["-a=xml", "-b", "--class=new", "--debug", "-e=one", "-e=two", "foo", "bar"], optNames);
+	
+	is(
+		t_options.a,
+		"xml",
+		"an option defined with a short name can be accessed by its short name."
+	);
+	
+	is(
+		t_options.b,
+		true,
+		"an option defined with a short name and no value are true."
+	);
+	
+	is(
+		t_options.c,
+		"new",
+		"an option defined with a long name can be accessed by its short name."
+	);
+	
+	is(
+		t_options.d,
+		true,
+		"an option defined with a long name and no value are true."
+	);
+	
+	is(
+		typeof t_options.e,
+		"object",
+		"an option that can accept multiple values is defined."
+	);
+	
+	is(
+		t_options.e.length,
+		2,
+		"an option that can accept multiple values can have more than one value."
+	);
+	
+	is(
+		t_options.e[1],
+		"two",
+		"an option that can accept multiple values can be accessed as an array."
+	);
+	
+	is(
+		typeof t_options._,
+		"object",
+		"the property '_' is defined for unnamed options."
+	);
+	
+	is(
+		t_options._[0],
+		"foo",
+		"the property '_' can be accessed as an array."
+	);
+ */
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Reflection.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Reflection.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Reflection.js	(revision 505)
@@ -0,0 +1,26 @@
+/**@constructor*/
+function Reflection(obj) {
+	this.obj = obj;
+}
+
+Reflection.prototype.getConstructorName = function() {
+	if (this.obj.constructor.name) return this.obj.constructor.name;
+	var src = this.obj.constructor.toSource();
+	var name = src.substring(name.indexOf("function")+8, src.indexOf('(')).replace(/ /g,'');
+	return name;
+}
+
+Reflection.prototype.getMethod = function(name) {
+	for (var p in this.obj) {
+		if (p == name && typeof(this.obj[p]) == "function") return this.obj[p];
+	}
+	return null;
+}
+
+Reflection.prototype.getParameterNames = function() {
+	var src = this.obj.toSource();
+	src = src.substring(
+		src.indexOf("(", 8)+1, src.indexOf(")")
+	);
+	return src.split(/, ?/);
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/String.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/String.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/String.js	(revision 505)
@@ -0,0 +1,93 @@
+/**
+	@name String
+	@class Additions to the core string object.
+*/
+
+/** @author Steven Levithan, released as public domain. */
+String.prototype.trim = function() {
+	var str = this.replace(/^\s+/, '');
+	for (var i = str.length - 1; i >= 0; i--) {
+		if (/\S/.test(str.charAt(i))) {
+			str = str.substring(0, i + 1);
+			break;
+		}
+	}
+	return str;
+}
+/*t:
+	plan(6, "Testing String.prototype.trim.");
+	
+	var s = "   a bc   ".trim();
+	is(s, "a bc", "multiple spaces front and back are trimmed.");
+
+	s = "a bc\n\n".trim();
+	is(s, "a bc", "newlines only in back are trimmed.");
+	
+	s = "\ta bc".trim();
+	is(s, "a bc", "tabs only in front are trimmed.");
+	
+	s = "\n \t".trim();
+	is(s, "", "an all-space string is trimmed to empty.");
+	
+	s = "a b\nc".trim();
+	is(s, "a b\nc", "a string with no spaces in front or back is trimmed to itself.");
+	
+	s = "".trim();
+	is(s, "", "an empty string is trimmed to empty.");
+
+*/
+
+String.prototype.balance = function(open, close) {
+	var i = 0;
+	while (this.charAt(i) != open) {
+		if (i == this.length) return [-1, -1];
+		i++;
+	}
+	
+	var j = i+1;
+	var balance = 1;
+	while (j < this.length) {
+		if (this.charAt(j) == open) balance++;
+		if (this.charAt(j) == close) balance--;
+		if (balance == 0) break;
+		j++;
+		if (j == this.length) return [-1, -1];
+	}
+	
+	return [i, j];
+}
+/*t:
+	plan(16, "Testing String.prototype.balance.");
+	
+	var s = "{abc}".balance("{","}");
+	is(s[0], 0, "opener in first is found.");
+	is(s[1], 4, "closer in last is found.");
+	
+	s = "ab{c}de".balance("{","}");
+	is(s[0], 2, "opener in middle is found.");
+	is(s[1], 4, "closer in middle is found.");
+	
+	s = "a{b{c}de}f".balance("{","}");
+	is(s[0], 1, "nested opener is found.");
+	is(s[1], 8, "nested closer is found.");
+	
+	s = "{}".balance("{","}");
+	is(s[0], 0, "opener with no content is found.");
+	is(s[1], 1, "closer with no content is found.");
+	
+	s = "".balance("{","}");
+	is(s[0], -1, "empty string opener is -1.");
+	is(s[1], -1, "empty string closer is -1.");
+	
+	s = "{abc".balance("{","}");
+	is(s[0], -1, "opener with no closer returns -1.");
+	is(s[1], -1, "no closer returns -1.");
+	
+	s = "abc".balance("{","}");
+	is(s[0], -1, "no opener or closer returns -1 for opener.");
+	is(s[1], -1, "no opener or closer returns -1 for closer.");
+	
+	s = "a<bc}de".balance("<","}");
+	is(s[0], 1, "unmatching opener is found.");
+	is(s[1], 4, "unmatching closer is found.");
+*/
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Testrun.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Testrun.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/frame/Testrun.js	(revision 505)
@@ -0,0 +1,129 @@
+/**
+ * @fileOverview
+ * @name JsTestrun
+ * @author Michael Mathews micmath@gmail.com
+ * @url $HeadURL: https://jsdoc-toolkit.googlecode.com/svn/tags/jsdoc_toolkit-2.4.0/jsdoc-toolkit/app/frame/Testrun.js $
+ * @revision $Id: Testrun.js 418 2008-01-15 21:40:33Z micmath $
+ * @license <a href="http://en.wikipedia.org/wiki/MIT_License">X11/MIT License</a>
+ *          (See the accompanying README file for full details.)
+ */
+ 
+/**
+	Yet another unit testing tool for JavaScript.
+	@author Michael Mathews <a href="mailto:micmath@gmail.com">micmath@gmail.com</a>
+	@param {object} testCases Properties are testcase names, values are functions to execute as tests.
+*/
+function testrun(testCases) {
+	var ran = 0;
+	for (t in testCases) {
+		var result = testCases[t]();
+		ran++;
+	}
+	
+	return testrun.reportOut+"-------------------------------\n"+((testrun.fails>0)? ":( Failed "+testrun.fails+"/" : ":) Passed all ")+testrun.count+" test"+((testrun.count == 1)? "":"s")+".\n";
+}
+
+
+testrun.count = 0;
+testrun.current = null;
+testrun.passes = 0;
+testrun.fails = 0;
+testrun.reportOut = "";
+
+/** @private */
+testrun.report = function(text) {
+	testrun.reportOut += text+"\n";
+}
+
+/**
+	Check if test evaluates to true.
+	@param {string} test To be evaluated.
+	@param {string} message Optional. To be displayed in the report.
+	@return {boolean} True if the string test evaluates to true.
+*/
+ok = function(test, message) {
+	testrun.count++;
+	
+	var result;
+	try {
+		result = eval(test);
+		
+		if (result) {
+			testrun.passes++;
+			testrun.report("    OK "+testrun.count+" - "+((message != null)? message : ""));
+		}
+		else {
+			testrun.fails++;
+			testrun.report("NOT OK "+testrun.count+" - "+((message != null)? message : ""));
+		}
+	}
+	catch(e) {
+		testrun.fails++
+		testrun.report("NOT OK "+testrun.count+" - "+((message != null)? message : ""));
+
+	}
+}
+
+/**
+	Check if test is same as expected.
+	@param {string} test To be evaluated.
+	@param {string} expected
+	@param {string} message Optional. To be displayed in the report. 
+	@return {boolean} True if (test == expected). Note that the comparison is not a strict equality check.
+*/
+is = function(test, expected, message) {
+	testrun.count++;
+	
+	var result;
+	try {
+		result = eval(test);
+		
+		if (result == expected) {
+			testrun.passes++
+			testrun.report("    OK "+testrun.count+" - "+((message != null)? message : ""));
+		}
+		else {
+			testrun.fails++
+			testrun.report("NOT OK "+testrun.count+" - "+((message != null)? message : ""));
+			testrun.report("expected: "+expected);
+			testrun.report("     got: "+result);
+		}
+	}
+	catch(e) {
+		testrun.fails++
+		testrun.report("NOT OK "+testrun.count+" - "+((message != null)? message : ""));
+		testrun.report("expected: "+expected);
+		testrun.report("     got: "+result);}
+}
+
+/**
+	Check if test matches pattern.
+	@param {string} test To be evaluated.
+	@param {string} pattern Used to create a RegExp.
+	@param {string} message Optional. To be displayed in the report.
+	@return {boolean} True if test matches pattern.
+*/
+like = function(test, pattern, message) {
+	testrun.count++;
+
+	var result;
+	try {
+		result = eval(test);
+		var rgx = new RegExp(pattern);
+		
+		if (rgx.test(result)) {
+			testrun.passes++
+			testrun.report("    OK "+testrun.count+" - "+((message != null)? message : ""));
+		}
+		else {
+			testrun.fails++
+			testrun.report("NOT OK "+testrun.count+" - "+((message != null)? message : ""));
+			testrun.report("       this: "+result);
+			testrun.report("is not like: "+pattern);
+		}
+	}
+	catch(e) {
+		testrun.fails++
+		testrun.report("NOT OK "+testrun.count+" - "+((message != null)? message : ""));
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/FOODOC.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/FOODOC.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/FOODOC.js	(revision 505)
@@ -0,0 +1,26 @@
+/**
+   This is the main container for the FOODOC handler.
+   @namespace
+*/
+FOODOC = {
+};
+
+/** The current version string of this application. */
+FOODOC.VERSION = "1.0";
+
+FOODOC.handle = function(srcFile, src) {
+	LOG.inform("Handling file '" + srcFile + "'");
+	
+	return [
+		new JSDOC.Symbol(
+			"foo",
+			[],
+			"VIRTUAL",
+			new JSDOC.DocComment("/** This is a foo. */")
+		)
+	];
+};
+
+FOODOC.publish = function(symbolgroup) {
+	LOG.inform("Publishing symbolgroup.");
+};
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/XMLDOC.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/XMLDOC.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/XMLDOC.js	(revision 505)
@@ -0,0 +1,26 @@
+/**
+ * This is the main container for the XMLDOC handler.
+ * @namespace
+ * @author Brett Fattori (bfattori@fry.com)
+ * @version $Revision: 498 $
+ */
+XMLDOC = {
+	
+};
+
+/** The current version string of this application. */
+XMLDOC.VERSION = "1.0";
+
+/** Include the library necessary to handle XML files */
+IO.includeDir("handlers/XMLDOC/");
+
+/**
+ * @type Symbol[]
+ */
+XMLDOC.handle = function(srcFile, src) {
+	
+};
+
+XMLDOC.publish = function(symbolgroup) {
+	
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/XMLDOC/DomReader.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/XMLDOC/DomReader.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/XMLDOC/DomReader.js	(revision 505)
@@ -0,0 +1,159 @@
+LOG.inform("XMLDOC.DomReader loaded");
+
+XMLDOC.DomReader = function(root) {
+
+   this.dom = root;
+
+   /**
+    * The current node the reader is on
+    */
+   this.node = root;
+
+   /**
+    * Get the current node the reader is on
+    * @type XMLDOC.Parser.node
+    */
+   XMLDOC.DomReader.prototype.getNode = function() {
+      return this.node;
+   };
+
+   /**
+    * Set the node the reader should be positioned on.
+    * @param node {XMLDOC.Parser.node}
+    */
+   XMLDOC.DomReader.prototype.setNode = function(node) {
+      this.node = node;
+   };
+
+   /**
+    * A helper method to make sure the current node will
+    * never return null, unless null is passed as the root.
+    * @param step {String} An expression to evaluate - should return a node or null
+    */
+   XMLDOC.DomReader.prototype.navigate = function(step) {
+      var n;
+      if ((n = step) != null)
+      {
+         this.node = n;
+         return this.node;
+      }
+      return null;
+   };
+
+   /**
+    * Get the root node of the current node's document.
+    */
+   XMLDOC.DomReader.prototype.root = function() {
+      this.navigate(this.dom);
+   };
+
+   /**
+    * Get the parent of the current node.
+    */
+   XMLDOC.DomReader.prototype.parent = function() {
+      return this.navigate(this.node.parentNode());
+   };
+
+   /**
+    * Get the first child of the current node.
+    */
+   XMLDOC.DomReader.prototype.firstChild = function() {
+      return this.navigate(this.node.firstChild());
+   };
+
+   /**
+    * Get the last child of the current node.
+    */
+   XMLDOC.DomReader.prototype.lastChild = function() {
+      return this.navigate(this.node.lastChild());
+   };
+
+   /**
+    * Get the next sibling of the current node.
+    */
+   XMLDOC.DomReader.prototype.nextSibling = function() {
+      return this.navigate(this.node.nextSibling());
+   };
+
+   /**
+    * Get the previous sibling of the current node.
+    */
+   XMLDOC.DomReader.prototype.prevSibling = function() {
+      return this.navigate(this.node.prevSibling());
+   };
+
+   //===============================================================================================
+   // Support methods
+
+   /**
+    * Walk the tree starting with the current node, calling the plug-in for
+    * each node visited.  Each time the plug-in is called, the DomReader
+    * is passed as the only parameter.  Use the {@link XMLDOC.DomReader#getNode} method
+    * to access the current node.   <i>This method uses a depth first traversal pattern.</i>
+    *
+    * @param srcFile {String} The source file being evaluated
+    */
+   XMLDOC.DomReader.prototype.getSymbols = function(srcFile)
+   {
+      XMLDOC.DomReader.symbols = [];
+      XMLDOC.DomReader.currentFile = srcFile;
+      JSDOC.Symbol.srcFile = (srcFile || "");
+
+      if (defined(JSDOC.PluginManager)) {
+         JSDOC.PluginManager.run("onDomGetSymbols", this);
+      }
+
+      return XMLDOC.DomReader.symbols;
+   };
+
+   /**
+    * Find the node with the given name using a depth first traversal.
+    * Does not modify the DomReader's current node.
+    *
+    * @param name {String} The name of the node to find
+    * @return the node that was found, or null if not found
+    */
+   XMLDOC.DomReader.prototype.findNode = function(name)
+   {
+      var findNode = null;
+
+      // Start at the current node and move into the subtree,
+      // looking for the node with the given name
+      function deeper(node, find)
+      {
+         var look = null;
+
+         if (node) {
+            if (node.name == find)
+            {
+               return node;
+            }
+
+            if (node.firstChild())
+            {
+               look = deeper(node.firstChild(), find);
+            }
+
+            if (!look && node.nextSibling())
+            {
+               look = deeper(node.nextSibling(), find);
+            }
+         }
+
+         return look;
+      }
+
+      return deeper(this.getNode().firstChild(), name);
+   };
+
+   /**
+    * Find the next node with the given name using a depth first traversal.
+    *
+    * @param name {String} The name of the node to find
+    */
+   XMLDOC.DomReader.prototype.findPreviousNode = function(name)
+   {
+   };
+
+};
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/XMLDOC/XMLDoc.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/XMLDOC/XMLDoc.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/XMLDOC/XMLDoc.js	(revision 505)
@@ -0,0 +1,16 @@
+LOG.inform("XMLDOC.symbolize loaded");
+
+/**
+ * Convert the source file to a set of symbols
+ */
+XMLDOC.symbolize = function(srcFile, src) {
+
+   LOG.inform("Symbolizing file '" + srcFile + "'");
+
+   // XML files already have a defined structure, so we don't need to
+   // do anything but parse them.  The DOM reader can create a symbol
+   // table from the parsed XML.
+   var dr = new XMLDOC.DomReader(XMLDOC.Parser.parse(src));
+   return dr.getSymbols(srcFile);
+
+};
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/XMLDOC/XMLParse.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/XMLDOC/XMLParse.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/handlers/XMLDOC/XMLParse.js	(revision 505)
@@ -0,0 +1,292 @@
+LOG.inform("XMLDOC.Parser loaded");
+
+/**
+ * XML Parser object.  Returns an {@link #XMLDOC.Parser.node} which is
+ * the root element of the parsed document.
+ * <p/>
+ * By default, this parser will only handle well formed XML.  To
+ * allow the parser to handle HTML, set the <tt>XMLDOC.Parser.strictMode</tt>
+ * variable to <tt>false</tt> before calling <tt>XMLDOC.Parser.parse()</tt>.
+ * <p/>
+ * <i>Note: If you pass poorly formed XML, it will cause the parser to throw
+ * an exception.</i>
+ *
+ * @author Brett Fattori (bfattori@fry.com)
+ * @author $Author: micmath $
+ * @version $Revision: 497 $
+ */
+XMLDOC.Parser = {};
+
+/**
+ * Strict mode setting.  Setting this to false allows HTML-style source to
+ * be parsed.  Normally, well formed XML has defined end tags, or empty tags
+ * are properly formed.  Default: <tt>true</tt>
+ * @type Boolean
+ */
+XMLDOC.Parser.strictMode = true;
+
+/**
+ * A node in an XML Document.  Node types are ROOT, ELEMENT, COMMENT, PI, and TEXT.
+ * @param parent {XMLDOC.Parser.node} The parent node
+ * @param name {String} The node name
+ * @param type {String} One of the types
+ */
+XMLDOC.Parser.node = function(parent, name, type)
+{
+   this.name = name;
+   this.type = type || "ELEMENT";
+   this.parent = parent;
+   this.charData = "";
+   this.attrs = {};
+   this.nodes = [];
+   this.cPtr = 0;
+
+   XMLDOC.Parser.node.prototype.getAttributeNames = function() {
+      var a = [];
+      for (var o in this.attrs)
+      {
+         a.push(o);
+      }
+
+      return a;
+   };
+
+   XMLDOC.Parser.node.prototype.getAttribute = function(attr) {
+      return this.attrs[attr];
+   };
+
+   XMLDOC.Parser.node.prototype.setAttribute = function(attr, val) {
+      this.attrs[attr] = val;
+   };
+
+   XMLDOC.Parser.node.prototype.getChild = function(idx) {
+      return this.nodes[idx];
+   };
+
+   XMLDOC.Parser.node.prototype.parentNode = function() {
+      return this.parent;
+   };
+
+   XMLDOC.Parser.node.prototype.firstChild = function() {
+      return this.nodes[0];
+   };
+
+   XMLDOC.Parser.node.prototype.lastChild = function() {
+      return this.nodes[this.nodes.length - 1];
+   };
+
+   XMLDOC.Parser.node.prototype.nextSibling = function() {
+      var p = this.parent;
+      if (p && (p.nodes.indexOf(this) + 1 != p.nodes.length))
+      {
+         return p.getChild(p.nodes.indexOf(this) + 1);
+      }
+      return null;
+   };
+
+   XMLDOC.Parser.node.prototype.prevSibling = function() {
+      var p = this.parent;
+      if (p && (p.nodes.indexOf(this) - 1 >= 0))
+      {
+         return p.getChild(p.nodes.indexOf(this) - 1);
+      }
+      return null;
+   };
+};
+
+/**
+ * Parse an XML Document from the specified source.  The XML should be
+ * well formed, unless strict mode is disabled, then the parser will
+ * handle HTML-style XML documents.
+ * @param src {String} The source to parse
+ */
+XMLDOC.Parser.parse = function(src)
+{
+   var A = [];
+
+   // Normailize whitespace
+   A = src.split("\r\n");
+   src = A.join("\n");
+   A = src.split("\r");
+   src = A.join("\n");
+
+   // Remove XML and DOCTYPE specifier
+   src.replace(/<\?XML .*\?>/i, "");
+   src.replace(/<!DOCTYPE .*\>/i, "");
+
+   // The document is the root node and cannot be modified or removed
+   var doc = new XMLDOC.Parser.node(null, "ROOT", "DOCUMENT");
+
+   // Let's break it down
+   XMLDOC.Parser.eat(doc, src);
+
+   return doc;
+};
+
+/**
+ * The XML fragment processing routine.  This method is private and should not be called
+ * directly.
+ * @param parentNode {XMLDOC.Parser.node} The node which is the parent of this fragment
+ * @param src {String} The source within the fragment to process
+ * @private
+ */
+XMLDOC.Parser.eat = function(parentNode, src)
+{
+   // A simple tag def
+   var reTag = new RegExp("<(!|)(\\?|--|)((.|\\s)*?)\\2>","g");
+
+   // Special tag types
+   var reCommentTag = /<!--((.|\s)*?)-->/;
+   var rePITag = /<\?((.|\s)*?)\?>/;
+
+   // A start tag (with potential empty marker)
+   var reStartTag = /<(.*?)( +([\w_\-]*)=(\"|')(.*)\4)*(\/)?>/;
+
+   // An empty HTML style tag (not proper XML, but we'll accept it so we can process HTML)
+   var reHTMLEmptyTag = /<(.*?)( +([\w_\-]*)=(\"|')(.*)\4)*>/;
+
+   // Fully enclosing tag with nested tags
+   var reEnclosingTag = /<(.*?)( +([\w_\-]*)=(\"|')(.*?)\4)*>((.|\s)*?)<\/\1>/;
+
+   // Breaks down attributes
+   var reAttributes = new RegExp(" +([\\w_\\-]*)=(\"|')(.*?)\\2","g");
+
+   // Find us a tag
+   var tag;
+   while ((tag = reTag.exec(src)) != null)
+   {
+      if (tag.index > 0)
+      {
+         // The next tag has some text before it
+         var text = src.substring(0, tag.index).replace(/^[ \t\n]+((.|\n)*?)[ \t\n]+$/, "$1");
+
+         if (text.length > 0 && (text != "\n"))
+         {
+            var txtnode = new XMLDOC.Parser.node(parentNode, "", "TEXT");
+            txtnode.charData = text;
+
+            // Append the new text node
+            parentNode.nodes.push(txtnode);
+         }
+
+         // Reset the lastIndex of reTag
+         reTag.lastIndex -= src.substring(0, tag.index).length;
+
+         // Eat the text
+         src = src.substring(tag.index);
+      }
+
+      if (reCommentTag.test(tag[0]))
+      {
+         // Is this a comment?
+         var comment = new XMLDOC.Parser.node(parentNode, "", "COMMENT");
+         comment.charData = reCommentTag.exec(tag[0])[1];
+
+         // Append the comment
+         parentNode.nodes.push(comment);
+
+         // Move the lastIndex of reTag
+         reTag.lastIndex -= tag[0].length;
+
+         // Eat the tag
+         src = src.replace(reCommentTag, "");
+      }
+      else if (rePITag.test(tag[0]))
+      {
+         // Is this a processing instruction?
+         var pi = new XMLDOC.Parser.node(parentNode, "", "PI");
+         pi.charData = rePITag.exec(tag[0])[1];
+
+         // Append the processing instruction
+         parentNode.nodes.push(pi);
+
+         // Move the lastIndex of reTag
+         reTag.lastIndex -= tag[0].length;
+
+         // Eat the tag
+         src = src.replace(rePITag, "");
+      }
+      else if (reStartTag.test(tag[0]))
+      {
+         // Break it down
+         var e = reStartTag.exec(tag[0]);
+         var elem = new XMLDOC.Parser.node(parentNode, e[1], "ELEMENT");
+
+         // Get attributes from the tag
+         var a;
+         while ((a = reAttributes.exec(e[2])) != null )
+         {
+            elem.attrs[a[1]] = a[3];
+         }
+
+         // Is this an empty XML-style tag?
+         if (e[6] == "/")
+         {
+            // Append the empty element
+            parentNode.nodes.push(elem);
+
+            // Move the lastIndex of reTag (include the start tag length)
+            reTag.lastIndex -= e[0].length;
+
+            // Eat the tag
+            src = src.replace(reStartTag, "");
+         }
+         else
+         {
+            // Check for malformed XML tags
+            var htmlParsed = false;
+            var htmlStartTag = reHTMLEmptyTag.exec(src);
+
+            // See if there isn't an end tag within this block
+            var reHTMLEndTag = new RegExp("</" + htmlStartTag[1] + ">");
+            var htmlEndTag = reHTMLEndTag.exec(src);
+
+            if (XMLDOC.Parser.strictMode && htmlEndTag == null)
+            {
+               // Poorly formed XML fails in strict mode
+               var err = new Error("Malformed XML passed to XMLDOC.Parser... Error contains malformed 'src'");
+               err.src = src;
+               throw err;
+            }
+            else if (htmlEndTag == null)
+            {
+               // This is an HTML-style empty tag, store the element for it in non-strict mode
+               parentNode.nodes.push(elem);
+
+               // Eat the tag
+               src = src.replace(reHTMLEmptyTag, "");
+               htmlParsed = true;
+            }
+
+            // If we didn't parse HTML-style, it must be an enclosing tag
+            if (!htmlParsed)
+            {
+               var enc = reEnclosingTag.exec(src);
+
+               // Go deeper into the document
+               XMLDOC.Parser.eat(elem, enc[6]);
+
+               // Append the new element node
+               parentNode.nodes.push(elem);
+
+               // Eat the tag
+               src = src.replace(reEnclosingTag, "");
+            }
+         }
+
+         // Reset the lastIndex of reTag
+         reTag.lastIndex = 0;
+      }
+   }
+
+   // No tag was found... append the text if there is any
+   src = src.replace(/^[ \t\n]+((.|\n)*?)[ \t\n]+$/, "$1");
+   if (src.length > 0 && (src != "\n"))
+   {
+      var txtNode = new XMLDOC.Parser.node(parentNode, "", "TEXT");
+      txtNode.charData = src;
+
+      // Append the new text node
+      parentNode.nodes.push(txtNode);
+   }
+};
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC.js	(revision 505)
@@ -0,0 +1,106 @@
+/**
+	@overview
+	@date $Date: 2010-06-13 22:02:44 +0100 (Sun, 13 Jun 2010) $
+	@version $Revision: 837 $ 
+	@location $HeadURL: https://jsdoc-toolkit.googlecode.com/svn/tags/jsdoc_toolkit-2.4.0/jsdoc-toolkit/app/lib/JSDOC.js $
+	@name JSDOC.js
+ */
+
+/**
+	This is the main container for the JSDOC application.
+	@namespace
+*/
+JSDOC = {
+};
+
+/**
+	@requires Opt
+ */
+if (typeof arguments == "undefined") arguments = [];
+JSDOC.opt = Opt.get(
+	arguments, 
+	{
+		a: "allfunctions", 
+		c: "conf",
+		d: "directory",
+		"D[]": "define",
+		e: "encoding",
+		"E[]": "exclude",
+		h: "help",
+		m: "multiple",
+		n: "nocode",
+		o: "out",
+		p: "private",
+		q: "quiet",
+		r: "recurse",
+		S: "securemodules",
+		s: "suppress",
+		t: "template",
+		T: "testmode",
+		u: "unique",
+		v: "verbose",
+		x: "ext"
+	}
+);
+
+/** The current version string of this application. */
+JSDOC.VERSION = "2.4.0";
+
+/** Print out usage information and quit. */
+JSDOC.usage = function() {
+	print("USAGE: java -jar jsrun.jar app/run.js [OPTIONS] <SRC_DIR> <SRC_FILE> ...");
+	print("");
+	print("OPTIONS:");
+	print("  -a or --allfunctions\n          Include all functions, even undocumented ones.\n");
+	print("  -c or --conf\n          Load a configuration file.\n");
+	print("  -d=<PATH> or --directory=<PATH>\n          Output to this directory (defaults to \"out\").\n");
+	print("  -D=\"myVar:My value\" or --define=\"myVar:My value\"\n          Multiple. Define a variable, available in JsDoc as JSDOC.opt.D.myVar.\n");
+	print("  -e=<ENCODING> or --encoding=<ENCODING>\n          Use this encoding to read and write files.\n");
+	print("  -E=\"REGEX\" or --exclude=\"REGEX\"\n          Multiple. Exclude files based on the supplied regex.\n");
+	print("  -h or --help\n          Show this message and exit.\n");
+	print("  -m or --multiples\n          Don't warn about symbols being documented more than once.\n");
+	print("  -n or --nocode\n          Ignore all code, only document comments with @name tags.\n");
+	print("  -o=<PATH> or --out=<PATH>\n          Print log messages to a file (defaults to stdout).\n");
+	print("  -p or --private\n          Include symbols tagged as private, underscored and inner symbols.\n");
+	print("  -q or --quiet\n          Do not output any messages, not even warnings.\n");
+	print("  -r=<DEPTH> or --recurse=<DEPTH>\n          Descend into src directories.\n");
+	print("  -s or --suppress\n          Suppress source code output.\n");
+	print("  -S or --securemodules\n          Use Secure Modules mode to parse source code.\n");
+	print("  -t=<PATH> or --template=<PATH>\n          Required. Use this template to format the output.\n");
+	print("  -T or --test\n          Run all unit tests and exit.\n");
+	print("  -u or --unique\n          Force file names to be unique, but not based on symbol names.\n");
+	print("  -v or --verbose\n          Provide verbose feedback about what is happening.\n");
+	print("  -x=<EXT>[,EXT]... or --ext=<EXT>[,EXT]...\n          Scan source files with the given extension/s (defaults to js).\n");
+	
+	quit();
+}
+
+/*t:
+	plan(4, "Testing JSDOC namespace.");
+	
+	is(
+		typeof JSDOC,
+		"object",
+		"JSDOC.usage is a function."
+	);
+	
+	is(
+		typeof JSDOC.VERSION,
+		"string",
+		"JSDOC.VERSION is a string."
+	);
+	
+	is(
+		typeof JSDOC.usage,
+		"function",
+		"JSDOC.usage is a function."
+	);
+	
+	is(
+		typeof JSDOC.opt,
+		"object",
+		"JSDOC.opt is a object."
+	);
+ */
+
+if (this.IO) IO.includeDir("lib/JSDOC/");
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/DocComment.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/DocComment.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/DocComment.js	(revision 505)
@@ -0,0 +1,204 @@
+if (typeof JSDOC == "undefined") JSDOC = {};
+
+/**
+	Create a new DocComment. This takes a raw documentation comment,
+	and wraps it in useful accessors.
+	@class Represents a documentation comment object.
+ */ 
+JSDOC.DocComment = function(/**String*/comment) {
+	this.init();
+	if (typeof comment != "undefined") {
+		this.parse(comment);
+	}
+}
+
+JSDOC.DocComment.prototype.init = function() {
+	this.isUserComment = true;
+	this.src           = "";
+	this.meta          = "";
+	this.tagTexts      = [];
+	this.tags          = [];
+}
+
+/**
+	@requires JSDOC.DocTag
+ */
+JSDOC.DocComment.prototype.parse = function(/**String*/comment) {
+	if (comment == "") {
+		comment = "/** @desc */";
+		this.isUserComment = false;
+	}
+	
+	this.src = JSDOC.DocComment.unwrapComment(comment);
+	
+	this.meta = "";
+	if (this.src.indexOf("#") == 0) {
+		this.src.match(/#(.+[+-])([\s\S]*)$/);
+		if (RegExp.$1) this.meta = RegExp.$1;
+		if (RegExp.$2) this.src = RegExp.$2;
+	}
+	
+	if (typeof JSDOC.PluginManager != "undefined") {
+		JSDOC.PluginManager.run("onDocCommentSrc", this);
+	}
+	
+	this.fixDesc();
+
+	this.src = JSDOC.DocComment.shared+"\n"+this.src;
+	
+	this.tagTexts = 
+		this.src
+		.split(/(^|[\r\n])\s*@/)
+		.filter(function($){return $.match(/\S/)});
+	
+	/**
+		The tags found in the comment.
+		@type JSDOC.DocTag[]
+	 */
+	this.tags = this.tagTexts.map(function($){return new JSDOC.DocTag($)});
+	
+	if (typeof JSDOC.PluginManager != "undefined") {
+		JSDOC.PluginManager.run("onDocCommentTags", this);
+	}
+}
+
+/*t:
+	plan(5, "testing JSDOC.DocComment");
+	requires("../frame/String.js");
+	requires("../lib/JSDOC/DocTag.js");
+	
+	var com = new JSDOC.DocComment("/**@foo some\n* comment here*"+"/");
+	is(com.tagTexts[0], "foo some\ncomment here", "first tag text is found.");
+	is(com.tags[0].title, "foo", "the title is found in a comment with one tag.");
+	
+	var com = new JSDOC.DocComment("/** @foo first\n* @bar second*"+"/");
+	is(com.getTag("bar").length, 1, "getTag() returns one tag by that title.");
+	
+	JSDOC.DocComment.shared = "@author John Smith";
+	var com = new JSDOC.DocComment("/**@foo some\n* comment here*"+"/");
+	is(com.tags[0].title, "author", "shared comment is added.");
+	is(com.tags[1].title, "foo", "shared comment is added to existing tag.");
+*/
+
+/**
+	If no @desc tag is provided, this function will add it.
+ */
+JSDOC.DocComment.prototype.fixDesc = function() {
+	if (this.meta && this.meta != "@+") return;
+	if (/^\s*[^@\s]/.test(this.src)) {				
+		this.src = "@desc "+this.src;
+	}
+}
+
+/*t:
+	plan(5, "testing JSDOC.DocComment#fixDesc");
+	
+	var com = new JSDOC.DocComment();
+	
+	com.src = "this is a desc\n@author foo";
+	com.fixDesc();
+	is(com.src, "@desc this is a desc\n@author foo", "if no @desc tag is provided one is added.");
+
+	com.src = "x";
+	com.fixDesc();
+	is(com.src, "@desc x", "if no @desc tag is provided one is added to a single character.");
+
+	com.src = "\nx";
+	com.fixDesc();
+	is(com.src, "@desc \nx", "if no @desc tag is provided one is added to return and character.");
+	
+	com.src = " ";
+	com.fixDesc();
+	is(com.src, " ", "if no @desc tag is provided one is not added to just whitespace.");
+
+	com.src = "";
+	com.fixDesc();
+	is(com.src, "", "if no @desc tag is provided one is not added to empty.");
+*/
+
+/**
+	Remove slash-star comment wrapper from a raw comment string.
+	@type String
+ */
+JSDOC.DocComment.unwrapComment = function(/**String*/comment) {
+	if (!comment) return "";
+	var unwrapped = comment.replace(/(^\/\*\*|\*\/$)/g, "").replace(/^\s*\* ?/gm, "");
+	return unwrapped;
+}
+
+/*t:
+	plan(5, "testing JSDOC.DocComment.unwrapComment");
+	
+	var com = "/**x*"+"/";
+	var unwrapped = JSDOC.DocComment.unwrapComment(com);
+	is(unwrapped, "x", "a single character jsdoc is found.");
+	
+	com = "/***x*"+"/";
+	unwrapped = JSDOC.DocComment.unwrapComment(com);
+	is(unwrapped, "x", "three stars are allowed in the opener.");
+	
+	com = "/****x*"+"/";
+	unwrapped = JSDOC.DocComment.unwrapComment(com);
+	is(unwrapped, "*x", "fourth star in the opener is kept.");
+	
+	com = "/**x\n * y\n*"+"/";
+	unwrapped = JSDOC.DocComment.unwrapComment(com);
+	is(unwrapped, "x\ny\n", "leading stars and spaces are trimmed.");
+	
+	com = "/**x\n *   y\n*"+"/";
+	unwrapped = JSDOC.DocComment.unwrapComment(com);
+	is(unwrapped, "x\n  y\n", "only first space after leading stars are trimmed.");
+*/
+
+/**
+	Provides a printable version of the comment.
+	@type String
+ */
+JSDOC.DocComment.prototype.toString = function() {
+	return this.src;
+}
+
+/*t:
+	plan(1, "testing JSDOC.DocComment#fixDesc");
+	var com = new JSDOC.DocComment();
+	com.src = "foo";
+	is(""+com, "foo", "stringifying a comment returns the unwrapped src.");
+*/
+
+/**
+	Given the title of a tag, returns all tags that have that title.
+	@type JSDOC.DocTag[]
+ */
+JSDOC.DocComment.prototype.getTag = function(/**String*/tagTitle) {
+	return this.tags.filter(function($){return $.title == tagTitle});
+}
+
+JSDOC.DocComment.prototype.deleteTag = function(/**String*/tagTitle) {
+	this.tags = this.tags.filter(function($){return $.title != tagTitle})
+}
+
+/*t:
+	plan(1, "testing JSDOC.DocComment#getTag");
+	requires("../frame/String.js");
+	requires("../lib/JSDOC/DocTag.js");
+	
+	var com = new JSDOC.DocComment("/**@foo some\n* @bar\n* @bar*"+"/");
+	is(com.getTag("bar").length, 2, "getTag returns expected number of tags.");
+*/
+
+/**
+	Used to store the currently shared tag text.
+*/
+JSDOC.DocComment.shared = "";
+
+/*t:
+	plan(2, "testing JSDOC.DocComment.shared");
+	requires("../frame/String.js");
+	requires("../lib/JSDOC/DocTag.js");
+	
+	JSDOC.DocComment.shared = "@author Michael";
+	
+	var com = new JSDOC.DocComment("/**@foo\n* @foo*"+"/");
+	is(com.getTag("author").length, 1, "getTag returns shared tag.");
+	is(com.getTag("foo").length, 2, "getTag returns unshared tags too.");
+*/
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/DocTag.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/DocTag.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/DocTag.js	(revision 505)
@@ -0,0 +1,294 @@
+if (typeof JSDOC == "undefined") JSDOC = {};
+
+/**
+	@constructor
+ */
+JSDOC.DocTag = function(src) {
+	this.init();
+	if (typeof src != "undefined") {
+		this.parse(src);
+	}
+}
+
+/**
+	Create and initialize the properties of this.
+ */
+JSDOC.DocTag.prototype.init = function() {
+	this.title        = "";
+	this.type         = "";
+	this.name         = "";
+	this.isOptional   = false;
+	this.defaultValue = "";
+	this.desc         = "";
+	
+	return this;
+}
+
+/**
+	Populate the properties of this from the given tag src.
+	@param {string} src
+ */
+JSDOC.DocTag.prototype.parse = function(src) {
+	if (typeof src != "string") throw "src must be a string not "+(typeof src);
+
+	try {
+		src = this.nibbleTitle(src);
+		if (JSDOC.PluginManager) {
+			JSDOC.PluginManager.run("onDocTagSynonym", this);
+		}
+		
+		src = this.nibbleType(src);
+		
+		// only some tags are allowed to have names.
+		if (this.title == "param" || this.title == "property" || this.title == "config") { // @config is deprecated
+			src = this.nibbleName(src);
+		}
+	}
+	catch(e) {
+		if (LOG) LOG.warn(e);
+		else throw e;
+	}
+	this.desc = src; // whatever is left
+	
+	// example tags need to have whitespace preserved
+	if (this.title != "example") this.desc = this.desc.trim();
+	
+	if (JSDOC.PluginManager) {
+		JSDOC.PluginManager.run("onDocTag", this);
+	}
+}
+
+/**
+	Automatically called when this is stringified.
+ */
+JSDOC.DocTag.prototype.toString = function() {
+	return this.desc;
+}
+
+/*t:
+	plan(1, "testing JSDOC.DocTag#toString");
+	
+	var tag = new JSDOC.DocTag("param {object} date A valid date.");
+	is(""+tag, "A valid date.", "stringifying a tag returns the desc.");
+ */
+
+/**
+	Find and shift off the title of a tag.
+	@param {string} src
+	@return src
+ */
+JSDOC.DocTag.prototype.nibbleTitle = function(src) {
+	if (typeof src != "string") throw "src must be a string not "+(typeof src);
+	
+	var parts = src.match(/^\s*(\S+)(?:\s([\s\S]*))?$/);
+
+	if (parts && parts[1]) this.title = parts[1];
+	if (parts && parts[2]) src = parts[2];
+	else src = "";
+	
+	return src;
+}
+
+/*t:
+	plan(8, "testing JSDOC.DocTag#nibbleTitle");
+	
+	var tag = new JSDOC.DocTag();
+	
+	tag.init().nibbleTitle("aTitleGoesHere");
+	is(tag.title, "aTitleGoesHere", "a title can be found in a single-word string.");
+	
+	var src = tag.init().nibbleTitle("aTitleGoesHere and the rest");
+	is(tag.title, "aTitleGoesHere", "a title can be found in a multi-word string.");
+	is(src, "and the rest", "the rest is returned when the title is nibbled off.");
+	
+	src = tag.init().nibbleTitle("");
+	is(tag.title, "", "given an empty string the title is empty.");
+	is(src, "", "the rest is empty when the tag is empty.");
+
+	var src = tag.init().nibbleTitle(" aTitleGoesHere\n  a description");
+	is(tag.title, "aTitleGoesHere", "leading and trailing spaces are not part of the title.");
+	is(src, "  a description", "leading spaces (less one) are part of the description.");
+
+	tag.init().nibbleTitle("a.Title::Goes_Here foo");
+	is(tag.title, "a.Title::Goes_Here", "titles with punctuation are allowed.");
+ */
+
+/**
+	Find and shift off the type of a tag.
+	@requires frame/String.js
+	@param {string} src
+	@return src
+ */
+JSDOC.DocTag.prototype.nibbleType = function(src) {
+	if (typeof src != "string") throw "src must be a string not "+(typeof src);
+	
+	if (src.match(/^\s*\{/)) {
+		var typeRange = src.balance("{", "}");
+		if (typeRange[1] == -1) {
+			throw "Malformed comment tag ignored. Tag type requires an opening { and a closing }: "+src;
+		}
+		this.type = src.substring(typeRange[0]+1, typeRange[1]).trim();
+		this.type = this.type.replace(/\s*,\s*/g, "|"); // multiples can be separated by , or |
+		src = src.substring(typeRange[1]+1);
+	}
+	
+	return src;
+}
+
+/*t:
+	plan(5, "testing JSDOC.DocTag.parser.nibbleType");
+	requires("../frame/String.js");
+	
+	var tag = new JSDOC.DocTag();
+	
+	tag.init().nibbleType("{String[]} aliases");
+	is(tag.type, "String[]", "type can have non-alpha characters.");
+	
+	tag.init().nibbleType("{ aTypeGoesHere  } etc etc");
+	is(tag.type, "aTypeGoesHere", "type is trimmed.");
+	
+	tag.init().nibbleType("{ oneType, twoType ,\n threeType  } etc etc");
+	is(tag.type, "oneType|twoType|threeType", "multiple types can be separated by commas.");
+	
+	var error;
+	try { tag.init().nibbleType("{widget foo"); }
+	catch(e) { error = e; }
+	is(typeof error, "string", "malformed tag type throws error.");
+	isnt(error.indexOf("Malformed"), -1, "error message tells tag is malformed.");
+ */
+
+/**
+	Find and shift off the name of a tag.
+	@requires frame/String.js
+	@param {string} src
+	@return src
+ */
+JSDOC.DocTag.prototype.nibbleName = function(src) {
+	if (typeof src != "string") throw "src must be a string not "+(typeof src);
+	
+	src = src.trim();
+	
+	// is optional?
+	if (src.charAt(0) == "[") {
+		var nameRange = src.balance("[", "]");
+		if (nameRange[1] == -1) {
+			throw "Malformed comment tag ignored. Tag optional name requires an opening [ and a closing ]: "+src;
+		}
+		this.name = src.substring(nameRange[0]+1, nameRange[1]).trim();
+		this.isOptional = true;
+		
+		src = src.substring(nameRange[1]+1);
+		
+		// has default value?
+		var nameAndValue = this.name.split("=");
+		if (nameAndValue.length) {
+			this.name = nameAndValue.shift().trim();
+			this.defaultValue = nameAndValue.join("=");
+		}
+	}
+	else {
+		var parts = src.match(/^(\S+)(?:\s([\s\S]*))?$/);
+		if (parts) {
+			if (parts[1]) this.name = parts[1];
+			if (parts[2]) src = parts[2].trim();
+			else src = "";
+		}
+	}	
+
+	return src;
+}
+
+/*t:
+	requires("../frame/String.js");
+	plan(9, "testing JSDOC.DocTag.parser.nibbleName");
+	
+	var tag = new JSDOC.DocTag();
+	
+	tag.init().nibbleName("[foo] This is a description.");
+	is(tag.isOptional, true, "isOptional syntax is detected.");
+	is(tag.name, "foo", "optional param name is found.");
+ 	
+	tag.init().nibbleName("[foo] This is a description.");
+	is(tag.isOptional, true, "isOptional syntax is detected when no type.");
+	is(tag.name, "foo", "optional param name is found when no type.");
+	
+	tag.init().nibbleName("[foo=7] This is a description.");
+ 	is(tag.name, "foo", "optional param name is found when default value.");
+ 	is(tag.defaultValue, 7, "optional param default value is found when default value.");
+ 	
+ 	//tag.init().nibbleName("[foo= a value] This is a description.");
+ 	//is(tag.defaultValue, " a value", "optional param default value is found when default value has spaces (issue #112).");
+ 	
+ 	tag.init().nibbleName("[foo=[]] This is a description.");
+ 	is(tag.defaultValue, "[]", "optional param default value is found when default value is [] (issue #95).");
+ 	
+ 	tag.init().nibbleName("[foo=a=b] This is a description.");
+ 	is(tag.name, "foo", "optional param name is found when default value is a=b.");
+ 	is(tag.defaultValue, "a=b", "optional param default value is found when default value is a=b.")
+ */
+
+/*t:
+	plan(32, "Testing JSDOC.DocTag.parser.");
+	requires("../frame/String.js");
+	
+ 	var tag = new JSDOC.DocTag();
+ 	
+ 	is(typeof tag, "object", "JSDOC.DocTag.parser with an empty string returns an object.");
+ 	is(typeof tag.title, "string", "returned object has a string property 'title'.");
+ 	is(typeof tag.type, "string", "returned object has a string property 'type'.");
+ 	is(typeof tag.name, "string", "returned object has a string property 'name'.");
+ 	is(typeof tag.defaultValue, "string", "returned object has a string property 'defaultValue'.");
+ 	is(typeof tag.isOptional, "boolean", "returned object has a boolean property 'isOptional'.");
+ 	is(typeof tag.desc, "string", "returned object has a string property 'desc'.");
+  
+  	tag = new JSDOC.DocTag("param {widget} foo");
+  	is(tag.title, "param", "param title is found.");
+  	is(tag.name, "foo", "param name is found when desc is missing.");
+ 	is(tag.desc, "", "param desc is empty when missing.");
+ 	
+ 	tag = new JSDOC.DocTag("param {object} date A valid date.");
+ 	is(tag.name, "date", "param name is found with a type.");
+ 	is(tag.type, "object", "param type is found.");
+ 	is(tag.desc, "A valid date.", "param desc is found with a type.");
+ 	
+  	tag = new JSDOC.DocTag("param aName a description goes\n    here.");
+	is(tag.name, "aName", "param name is found without a type.");
+ 	is(tag.desc, "a description goes\n    here.", "param desc is found without a type.");
+ 	
+ 	tag = new JSDOC.DocTag("param {widget}");
+ 	is(tag.name, "", "param name is empty when it is not given.");
+	
+	tag = new JSDOC.DocTag("param {widget} [foo] This is a description.");
+	is(tag.name, "foo", "optional param name is found.");
+	
+	tag = new JSDOC.DocTag("return {aType} This is a description.");
+	is(tag.type, "aType", "when return tag has no name, type is found.");
+	is(tag.desc, "This is a description.", "when return tag has no name, desc is found.");
+	
+	tag = new JSDOC.DocTag("author Joe Coder <jcoder@example.com>");
+	is(tag.title, "author", "author tag has a title.");
+	is(tag.type, "", "the author tag has no type.");
+	is(tag.name, "", "the author tag has no name.");
+	is(tag.desc, "Joe Coder <jcoder@example.com>", "author tag has desc.");
+	
+	tag = new JSDOC.DocTag("private \t\n  ");
+	is(tag.title, "private", "private tag has a title.");
+	is(tag.type, "", "the private tag has no type.");
+	is(tag.name, "", "the private tag has no name.");
+	is(tag.desc, "", "private tag has no desc.");
+
+	tag = new JSDOC.DocTag("example\n   example(code);\n   more();");
+	is(tag.desc, "   example(code);\n   more();", "leading whitespace (less one) in examples code is preserved.");
+	
+	tag = new JSDOC.DocTag("param theName  \n");
+	is(tag.name, "theName", "name only is found.");
+	
+	tag = new JSDOC.DocTag("type theDesc  \n");
+	is(tag.desc, "theDesc", "desc only is found.");
+	
+	tag = new JSDOC.DocTag("type {theType} \n");
+	is(tag.type, "theType", "type only is found.");
+	
+	tag = new JSDOC.DocTag("");
+	is(tag.title, "", "title is empty when tag is empty.");
+ */
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/JsDoc.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/JsDoc.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/JsDoc.js	(revision 505)
@@ -0,0 +1,140 @@
+/**
+	@constructor
+	@param [opt] Used to override the commandline options. Useful for testing.
+	@version $Id: JsDoc.js 831 2010-03-09 14:24:56Z micmath $
+*/
+JSDOC.JsDoc = function(/**object*/ opt) {
+	if (opt) {
+		JSDOC.opt = opt;
+	}
+	
+	if (JSDOC.opt.h) {
+		JSDOC.usage();
+		quit();
+	}
+	
+	// defend against options that are not sane 
+	if (JSDOC.opt._.length == 0) {
+		LOG.warn("No source files to work on. Nothing to do.");
+		quit();
+	}
+	if (JSDOC.opt.t === true || JSDOC.opt.d === true) {
+		JSDOC.usage();
+	}
+	
+	if (typeof JSDOC.opt.d == "string") {
+		if (!JSDOC.opt.d.charAt(JSDOC.opt.d.length-1).match(/[\\\/]/)) {
+			JSDOC.opt.d = JSDOC.opt.d+"/";
+		}
+		LOG.inform("Output directory set to '"+JSDOC.opt.d+"'.");
+		IO.mkPath(JSDOC.opt.d);
+	}
+	if (JSDOC.opt.e) IO.setEncoding(JSDOC.opt.e);
+	
+	// the -r option: scan source directories recursively
+	if (typeof JSDOC.opt.r == "boolean") JSDOC.opt.r = 10;
+	else if (!isNaN(parseInt(JSDOC.opt.r))) JSDOC.opt.r = parseInt(JSDOC.opt.r);
+	else JSDOC.opt.r = 1;
+	
+	// the -D option: define user variables
+	var D = {};
+	if (JSDOC.opt.D) {
+		for (var i = 0; i < JSDOC.opt.D.length; i++) {
+			var param = JSDOC.opt.D[i];
+			// remove first and last character if both == "
+			if ( 
+				param.length > 1
+				&& param.charAt(0) == '"'
+				&& param.charAt(param.length-1) == '"'
+			) {
+				param = param.substr(1, param.length-2);
+			}
+			var defineParts = param.split(":");
+			if (defineParts && defineParts.length > 1) {
+				for ( var dpIdx = 2; dpIdx < defineParts.length; dpIdx++ ) {
+					defineParts[1] += ':' + defineParts[dpIdx];
+				}
+				D[defineParts[0]] = defineParts[1];
+			}
+		}
+	}
+	JSDOC.opt.D = D;
+	// combine any conf file D options with the commandline D options
+	if (defined(JSDOC.conf)) for (var c in JSDOC.conf.D) {
+ 		if (!defined(JSDOC.opt.D[c])) {
+ 			JSDOC.opt.D[c] = JSDOC.conf.D[c];
+ 		}
+ 	}
+	
+	// Give plugins a chance to initialize
+	if (defined(JSDOC.PluginManager)) {
+		JSDOC.PluginManager.run("onInit", JSDOC.opt);
+	}
+
+	JSDOC.opt.srcFiles = JSDOC.JsDoc._getSrcFiles();
+	JSDOC.JsDoc._parseSrcFiles();
+	JSDOC.JsDoc.symbolSet = JSDOC.Parser.symbols;
+}
+
+/**
+	Retrieve source file list.
+	@returns {String[]} The pathnames of the files to be parsed.
+ */
+JSDOC.JsDoc._getSrcFiles = function() {
+	JSDOC.JsDoc.srcFiles = [];
+	
+	var ext = ["js"];
+	if (JSDOC.opt.x) {
+		ext = JSDOC.opt.x.split(",").map(function($) {return $.toLowerCase()});
+	}
+	
+	for (var i = 0; i < JSDOC.opt._.length; i++) {
+		JSDOC.JsDoc.srcFiles = JSDOC.JsDoc.srcFiles.concat(
+			IO.ls(JSDOC.opt._[i], JSDOC.opt.r).filter(
+				function($) {
+					var thisExt = $.split(".").pop().toLowerCase();
+					
+					if (JSDOC.opt.E) {
+						for(var n = 0; n < JSDOC.opt.E.length; n++) {
+							if ($.match(new RegExp(JSDOC.opt.E[n]))) {
+								LOG.inform("Excluding " + $);
+								return false; // if the file matches the regex then it's excluded.
+							}
+						}
+					}
+					
+					return (ext.indexOf(thisExt) > -1); // we're only interested in files with certain extensions
+				}
+			)
+		);
+	}
+	
+	return JSDOC.JsDoc.srcFiles;
+}
+
+JSDOC.JsDoc._parseSrcFiles = function() {
+	JSDOC.Parser.init();
+	for (var i = 0, l = JSDOC.JsDoc.srcFiles.length; i < l; i++) {
+		var srcFile = JSDOC.JsDoc.srcFiles[i];
+		
+		if (JSDOC.opt.v) LOG.inform("Parsing file: " + srcFile);
+		
+		try {
+			var src = IO.readFile(srcFile);
+		}
+		catch(e) {
+			LOG.warn("Can't read source file '"+srcFile+"': "+e.message);
+		}
+
+		var tr = new JSDOC.TokenReader();
+		var ts = new JSDOC.TokenStream(tr.tokenize(new JSDOC.TextStream(src)));
+
+		JSDOC.Parser.parse(ts, srcFile);
+
+	}
+	JSDOC.Parser.finish();
+
+	if (JSDOC.PluginManager) {
+		JSDOC.PluginManager.run("onFinishedParsing", JSDOC.Parser.symbols);
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/JsPlate.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/JsPlate.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/JsPlate.js	(revision 505)
@@ -0,0 +1,109 @@
+/**
+	@constructor
+*/
+JSDOC.JsPlate = function(templateFile) {
+	if (templateFile) this.template = IO.readFile(templateFile);
+	
+	this.templateFile = templateFile;
+	this.code = "";
+	this.parse();
+}
+
+JSDOC.JsPlate.prototype.parse = function() {
+	this.template = this.template.replace(/\{#[\s\S]+?#\}/gi, "");
+	this.code = "var output=\u001e"+this.template;
+
+	this.code = this.code.replace(
+		/<for +each="(.+?)" +in="(.+?)" *>/gi, 
+		function (match, eachName, inName) {
+			return "\u001e;\rvar $"+eachName+"_keys = keys("+inName+");\rfor(var $"+eachName+"_i = 0; $"+eachName+"_i < $"+eachName+"_keys.length; $"+eachName+"_i++) {\rvar $"+eachName+"_last = ($"+eachName+"_i == $"+eachName+"_keys.length-1);\rvar $"+eachName+"_key = $"+eachName+"_keys[$"+eachName+"_i];\rvar "+eachName+" = "+inName+"[$"+eachName+"_key];\routput+=\u001e";
+		}
+	);	
+	this.code = this.code.replace(/<if test="(.+?)">/g, "\u001e;\rif ($1) { output+=\u001e");
+	this.code = this.code.replace(/<elseif test="(.+?)"\s*\/>/g, "\u001e;}\relse if ($1) { output+=\u001e");
+	this.code = this.code.replace(/<else\s*\/>/g, "\u001e;}\relse { output+=\u001e");
+	this.code = this.code.replace(/<\/(if|for)>/g, "\u001e;\r};\routput+=\u001e");
+	this.code = this.code.replace(
+		/\{\+\s*([\s\S]+?)\s*\+\}/gi,
+		function (match, code) {
+			code = code.replace(/"/g, "\u001e"); // prevent qoute-escaping of inline code
+			code = code.replace(/(\r?\n)/g, " ");
+			return "\u001e+ ("+code+") +\u001e";
+		}
+	);
+	this.code = this.code.replace(
+		/\{!\s*([\s\S]+?)\s*!\}/gi,
+		function (match, code) {
+			code = code.replace(/"/g, "\u001e"); // prevent qoute-escaping of inline code
+			code = code.replace(/(\n)/g, " ");
+			return "\u001e; "+code+";\routput+=\u001e";
+		}
+	);
+	this.code = this.code+"\u001e;";
+
+	this.code = this.code.replace(/(\r?\n)/g, "\\n");
+	this.code = this.code.replace(/"/g, "\\\"");
+	this.code = this.code.replace(/\u001e/g, "\"");
+}
+
+JSDOC.JsPlate.prototype.toCode = function() {
+	return this.code;
+}
+
+JSDOC.JsPlate.keys = function(obj) {
+	var keys = [];
+	if (obj.constructor.toString().indexOf("Array") > -1) {
+		for (var i = 0; i < obj.length; i++) {
+			keys.push(i);
+		}
+	}
+	else {
+		for (var i in obj) {
+			keys.push(i);
+		}
+	}
+	return keys;
+};
+
+JSDOC.JsPlate.values = function(obj) {
+	var values = [];
+	if (obj.constructor.toString().indexOf("Array") > -1) {
+		for (var i = 0; i < obj.length; i++) {
+			values.push(obj[i]);
+		}
+	}
+	else {
+		for (var i in obj) {
+			values.push(obj[i]);
+		}
+	}
+	return values;
+};
+
+JSDOC.JsPlate.prototype.process = function(data, compact) {
+	var keys = JSDOC.JsPlate.keys;
+	var values = JSDOC.JsPlate.values;
+	
+	try {
+		eval(this.code);
+	}
+	catch (e) {
+		print(">> There was an error evaluating the compiled code from template: "+this.templateFile);
+		print("   The error was on line "+e.lineNumber+" "+e.name+": "+e.message);
+		var lines = this.code.split("\r");
+		if (e.lineNumber-2 >= 0) print("line "+(e.lineNumber-1)+": "+lines[e.lineNumber-2]);
+		print("line "+e.lineNumber+": "+lines[e.lineNumber-1]);
+		print("");
+	}
+	
+	if (compact) { // patch by mcbain.asm
+ 		// Remove lines that contain only space-characters, usually left by lines in the template
+ 		// which originally only contained JSPlate tags or code. This makes it easier to write
+ 		// non-tricky templates which still put out nice code (not bloated with extra lines).
+ 		// Lines purposely left blank (just a line ending) are left alone.
+ 		output = output.replace(/\s+?(\r?)\n/g, "$1\n");
+ 	}
+ 	
+	/*debug*///print(this.code);
+	return output;
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Lang.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Lang.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Lang.js	(revision 505)
@@ -0,0 +1,144 @@
+/**
+	@namespace
+*/
+JSDOC.Lang = {
+}
+
+JSDOC.Lang.isBuiltin = function(name) {
+	return (JSDOC.Lang.isBuiltin.coreObjects.indexOf(name) > -1);
+}
+JSDOC.Lang.isBuiltin.coreObjects = ['_global_', 'Array', 'Boolean', 'Date', 'Error', 'Function', 'Math', 'Number', 'Object', 'RegExp', 'String'];
+
+JSDOC.Lang.whitespace = function(ch) {
+	return JSDOC.Lang.whitespace.names[ch];
+}
+JSDOC.Lang.whitespace.names = {
+	" ":      "SPACE",
+	"\f":     "FORMFEED",
+	"\t":     "TAB",
+	"\u0009": "UNICODE_TAB",
+	"\u000A": "UNICODE_NBR",
+	"\u0008": "VERTICAL_TAB"
+};
+
+JSDOC.Lang.newline = function(ch) {
+	return JSDOC.Lang.newline.names[ch];
+}
+JSDOC.Lang.newline.names = {
+	"\n":     "NEWLINE",
+	"\r":     "RETURN",
+	"\u000A": "UNICODE_LF",
+	"\u000D": "UNICODE_CR",
+	"\u2029": "UNICODE_PS",
+	"\u2028": "UNICODE_LS"
+};
+
+JSDOC.Lang.keyword = function(word) {
+	return JSDOC.Lang.keyword.names["="+word];
+}
+JSDOC.Lang.keyword.names = {
+	"=break":      "BREAK",
+	"=case":       "CASE",
+	"=catch":      "CATCH",
+	"=const":      "VAR",
+	"=continue":   "CONTINUE",
+	"=default":    "DEFAULT",
+	"=delete":     "DELETE",
+	"=do":         "DO",
+	"=else":       "ELSE",
+	"=false":      "FALSE",
+	"=finally":    "FINALLY",
+	"=for":        "FOR",
+	"=function":   "FUNCTION",
+	"=if":         "IF",
+	"=in":         "IN",
+	"=instanceof": "INSTANCEOF",
+	"=new":        "NEW",
+	"=null":       "NULL",
+	"=return":     "RETURN",
+	"=switch":     "SWITCH",
+	"=this":       "THIS",
+	"=throw":      "THROW",
+	"=true":       "TRUE",
+	"=try":        "TRY",
+	"=typeof":     "TYPEOF",
+	"=void":       "VOID",
+	"=while":      "WHILE",
+	"=with":       "WITH",
+	"=var":        "VAR"
+};
+
+JSDOC.Lang.punc = function(ch) {
+	return JSDOC.Lang.punc.names[ch];
+}
+JSDOC.Lang.punc.names = {
+	";":   "SEMICOLON",
+	",":   "COMMA",
+	"?":   "HOOK",
+	":":   "COLON",
+	"||":  "OR", 
+	"&&":  "AND",
+	"|":   "BITWISE_OR",
+	"^":   "BITWISE_XOR",
+	"&":   "BITWISE_AND",
+	"===": "STRICT_EQ", 
+	"==":  "EQ",
+	"=":   "ASSIGN",
+	"!==": "STRICT_NE",
+	"!=":  "NE",
+	"<<":  "LSH",
+	"<=":  "LE", 
+	"<":   "LT",
+	">>>": "URSH",
+	">>":  "RSH",
+	">=":  "GE",
+	">":   "GT", 
+	"++":  "INCREMENT",
+	"--":  "DECREMENT",
+	"+":   "PLUS",
+	"-":   "MINUS",
+	"*":   "MUL",
+	"/":   "DIV", 
+	"%":   "MOD",
+	"!":   "NOT",
+	"~":   "BITWISE_NOT",
+	".":   "DOT",
+	"[":   "LEFT_BRACKET",
+	"]":   "RIGHT_BRACKET",
+	"{":   "LEFT_CURLY",
+	"}":   "RIGHT_CURLY",
+	"(":   "LEFT_PAREN",
+	")":   "RIGHT_PAREN"
+};
+
+JSDOC.Lang.matching = function(name) {
+	return JSDOC.Lang.matching.names[name];
+}
+JSDOC.Lang.matching.names = {
+	"LEFT_PAREN": "RIGHT_PAREN",
+	"RIGHT_PAREN": "LEFT_PAREN",
+	"LEFT_CURLY": "RIGHT_CURLY",
+	"RIGHT_CURLY": "LEFT_CURLY",
+	"LEFT_BRACE": "RIGHT_BRACE",
+	"RIGHT_BRACE": "LEFT_BRACE"
+}
+
+JSDOC.Lang.isNumber = function(str) {
+	return /^(\.[0-9]|[0-9]+\.|[0-9])[0-9]*([eE][+-][0-9]+)?$/i.test(str);
+}
+
+JSDOC.Lang.isHexDec = function(str) {
+	return /^0x[0-9A-F]+$/i.test(str);
+}
+
+JSDOC.Lang.isWordChar = function(str) {
+	return /^[a-zA-Z0-9$_.]+$/.test(str);
+}
+
+JSDOC.Lang.isSpace = function(str) {
+	return (typeof JSDOC.Lang.whitespace(str) != "undefined");
+}
+
+JSDOC.Lang.isNewline = function(str) {
+	return (typeof JSDOC.Lang.newline(str) != "undefined");
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Parser.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Parser.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Parser.js	(revision 505)
@@ -0,0 +1,146 @@
+if (typeof JSDOC == "undefined") JSDOC = {};
+
+/**
+	@namespace
+	@requires JSDOC.Walker
+	@requires JSDOC.Symbol
+	@requires JSDOC.DocComment
+*/
+JSDOC.Parser = {
+	conf: {
+		ignoreCode:               JSDOC.opt.n,
+		ignoreAnonymous:           true, // factory: true
+		treatUnderscoredAsPrivate: true, // factory: true
+		explain:                   false // factory: false
+	},
+	
+	addSymbol: function(symbol) {
+
+		if (JSDOC.Parser.rename) {
+			for (var n in JSDOC.Parser.rename) {
+				if (symbol.alias.indexOf(n) == 0) {
+					if (symbol.name == symbol.alias) {
+						symbol.name = symbol.name.replace(n, JSDOC.Parser.rename[n]);
+					}
+					symbol.alias = symbol.alias.replace(n, JSDOC.Parser.rename[n]);
+				}
+			}
+		}
+		
+		if (JSDOC.opt.S) {
+			if (typeof JSDOC.Parser.secureModules == "undefined") JSDOC.Parser.secureModules = {};
+			if (/^exports\./.test(symbol.alias)) {
+				symbol.srcFile.match(/(^|[\\\/])([^\\\/]+)\.js/i);
+				var fileNS = RegExp.$2;
+				
+				// need to create the namespace associated with this file first
+				if (!JSDOC.Parser.secureModules[fileNS]) {
+					JSDOC.Parser.secureModules[fileNS] = 1;
+					var nsSymbol = new JSDOC.Symbol(fileNS, [], "GLOBAL", new JSDOC.DocComment(""));
+					nsSymbol.isNamespace = true;
+					nsSymbol.srcFile = "";
+					nsSymbol.isPrivate = false;
+					nsSymbol.srcFile = symbol.srcFile;
+					nsSymbol.desc = (JSDOC.Parser.symbols.getSymbol(symbol.srcFile) || {desc: ""}).desc;
+					JSDOC.Parser.addSymbol(nsSymbol);
+				}
+				
+				symbol.alias = symbol.alias.replace(/^exports\./, fileNS + '.');
+				symbol.name = symbol.name.replace(/^exports\./, '');
+				symbol.memberOf = fileNS;
+				symbol.isStatic = true;
+			}
+		}
+
+		// if a symbol alias is documented more than once the first one with the user docs wins
+		if (JSDOC.Parser.symbols.hasSymbol(symbol.alias)) {
+ 			var oldSymbol = JSDOC.Parser.symbols.getSymbol(symbol.alias);
+			if (oldSymbol.comment.isUserComment) {
+				if (JSDOC.opt.m) return;
+				if (symbol.comment.isUserComment) { // old and new are both documented
+					LOG.warn("The symbol '"+symbol.alias+"' is documented more than once.");
+					return;
+				}
+				else { // old is documented but new isn't
+					return;
+				}
+			}
+		}
+		
+		// we don't document anonymous things
+		if (JSDOC.Parser.conf.ignoreAnonymous && symbol.name.match(/\$anonymous\b/)) return;
+
+		// uderscored things may be treated as if they were marked private, this cascades
+		if (JSDOC.Parser.conf.treatUnderscoredAsPrivate && symbol.name.match(/[.#-]_[^.#-]+$/)) {
+			if (!symbol.comment.getTag("public").length > 0) symbol.isPrivate = true;
+		}
+		
+		// -p flag is required to document private things
+		if (!JSDOC.opt.p && symbol.isPrivate) return; // issue #161 fixed by mcbain.asm
+		
+		// ignored things are not documented, this doesn't cascade
+		if (symbol.isIgnored) return;
+		JSDOC.Parser.symbols.addSymbol(symbol);
+	},
+	
+	addBuiltin: function(name) {
+		var builtin = new JSDOC.Symbol(name, [], "CONSTRUCTOR", new JSDOC.DocComment(""));
+		builtin.isNamespace = true;
+		builtin.srcFile = "";
+		builtin.isPrivate = false;
+		JSDOC.Parser.addSymbol(builtin);
+		return builtin;
+	},
+	
+	init: function() {
+		JSDOC.Parser.symbols = new JSDOC.SymbolSet();
+		JSDOC.Parser.walker = new JSDOC.Walker();
+	},
+	
+	finish: function() {
+		JSDOC.Parser.symbols.relate();		
+		
+		// make a litle report about what was found
+		if (JSDOC.Parser.conf.explain) {
+			var symbols = JSDOC.Parser.symbols.toArray();
+			var srcFile = "";
+			for (var i = 0, l = symbols.length; i < l; i++) {
+				var symbol = symbols[i];
+				if (srcFile != symbol.srcFile) {
+					srcFile = symbol.srcFile;
+					print("\n"+srcFile+"\n-------------------");
+				}
+				print(i+":\n  alias => "+symbol.alias + "\n  name => "+symbol.name+ "\n  isa => "+symbol.isa + "\n  memberOf => " + symbol.memberOf + "\n  isStatic => " + symbol.isStatic + ",  isInner => " + symbol.isInner+ ",  isPrivate => " + symbol.isPrivate);
+			}
+			print("-------------------\n");
+		}
+	}
+}
+
+JSDOC.Parser.parse = function(/**JSDOC.TokenStream*/ts, /**String*/srcFile) {
+	JSDOC.Symbol.srcFile = (srcFile || "");
+	JSDOC.DocComment.shared = ""; // shared comments don't cross file boundaries
+	
+	if (!JSDOC.Parser.walker) JSDOC.Parser.init();
+	JSDOC.Parser.walker.walk(ts); // adds to our symbols
+	
+	// filter symbols by option
+	for (var p = JSDOC.Parser.symbols._index.first(); p; p = JSDOC.Parser.symbols._index.next()) {
+		var symbol = p.value;
+		
+		if (!symbol) continue;
+		
+		if (symbol.is("FILE") || symbol.is("GLOBAL")) {
+			continue;
+		}
+		else if (!JSDOC.opt.a && !symbol.comment.isUserComment) {
+			JSDOC.Parser.symbols.deleteSymbol(symbol.alias);
+		}
+		
+		if (/#$/.test(symbol.alias)) { // we don't document prototypes
+			JSDOC.Parser.symbols.deleteSymbol(symbol.alias);
+		}
+	}
+	
+	return JSDOC.Parser.symbols.toArray();
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/PluginManager.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/PluginManager.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/PluginManager.js	(revision 505)
@@ -0,0 +1,33 @@
+/**
+	@namespace Holds functionality related to running plugins.
+*/
+JSDOC.PluginManager = {
+}
+
+/**
+	@param name A unique name that identifies that plugin.
+	@param handlers A collection of named functions. The names correspond to hooks in the core code.
+*/
+JSDOC.PluginManager.registerPlugin = function(/**String*/name, /**Object*/handlers) {
+	if (!defined(JSDOC.PluginManager.plugins))
+		/** The collection of all plugins. Requires a unique name for each.
+		*/
+		JSDOC.PluginManager.plugins = {};
+	
+	
+	JSDOC.PluginManager.plugins[name] = handlers;
+}
+
+/**
+	@param hook The name of the hook that is being caught.
+	@param target Any object. This will be passed as the only argument to the handler whose
+	name matches the hook name. Handlers cannot return a value, so must modify the target
+	object to have an effect.
+*/
+JSDOC.PluginManager.run = function(/**String*/hook, /**Mixed*/target) {
+	for (var name in JSDOC.PluginManager.plugins) {
+		if (defined(JSDOC.PluginManager.plugins[name][hook])) {
+			JSDOC.PluginManager.plugins[name][hook](target);
+		}
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Symbol.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Symbol.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Symbol.js	(revision 505)
@@ -0,0 +1,644 @@
+if (typeof JSDOC == "undefined") JSDOC = {};
+
+/**
+	Create a new Symbol.
+	@class Represents a symbol in the source code.
+ */
+JSDOC.Symbol = function() {
+	this.init();
+	if (arguments.length) this.populate.apply(this, arguments);
+}
+
+JSDOC.Symbol.count = 0;
+
+JSDOC.Symbol.prototype.init = function() {
+	this._name = "";
+	this._params = [];
+	this.$args = [];
+	this.addOn = "";
+	this.alias = "";
+	this.augments = [];
+	this.author = "";
+	this.classDesc = "";
+	this.comment = {};
+	this.defaultValue = undefined;
+	this.deprecated = "";
+	this.desc = "";
+	this.example = [];
+	this.exceptions = [];
+	this.fires = [];
+	this.id = JSDOC.Symbol.count++;
+	this.inherits = [];
+	this.inheritsFrom = [];
+	this.isa = "OBJECT";
+	this.isConstant = false;
+	this.isEvent = false;
+	this.isIgnored = false;
+	this.isInner = false;
+	this.isNamespace = false;
+	this.isPrivate = false;
+	this.isStatic = false;
+	this.memberOf = "";
+	this.methods = [];
+	this.properties = [];
+	this.requires = [];
+	this.returns = [];
+	this.see = [];
+	this.since = "";
+	this.srcFile = {};
+	this.type = "";
+	this.version = "";
+}
+
+JSDOC.Symbol.prototype.serialize = function() {
+	var keys = [];
+	for (var p in this) {
+		keys.push (p);
+	}
+	keys = keys.sort();
+	
+	var out = "";
+	for (var i in keys) {
+		if (typeof this[keys[i]] == "function") continue;
+		out += keys[i]+" => "+Dumper.dump(this[keys[i]])+",\n";
+	}
+	return "\n{\n" + out + "}\n";
+}
+
+JSDOC.Symbol.prototype.clone = function() {
+	var clone = new JSDOC.Symbol();
+	clone.populate.apply(clone, this.$args); // repopulate using the original arguments
+	clone.srcFile = this.srcFile; // not the current srcFile, the one when the original was made
+	return clone;
+}
+
+JSDOC.Symbol.prototype.__defineSetter__("name",
+	function(n) { n = n.replace(/^_global_[.#-]/, ""); n = n.replace(/\.prototype\.?/g, '#'); this._name = n; }
+);
+JSDOC.Symbol.prototype.__defineGetter__("name",
+	function() { return this._name; }
+);
+JSDOC.Symbol.prototype.__defineSetter__("params", 
+	function(v) {
+		for (var i = 0, l = v.length; i < l; i++) {
+			if (v[i].constructor != JSDOC.DocTag) { // may be a generic object parsed from signature, like {type:..., name:...}
+				this._params[i] = new JSDOC.DocTag("param"+((v[i].type)?" {"+v[i].type+"}":"")+" "+v[i].name);
+			}
+			else {
+				this._params[i] = v[i];
+			}
+		}
+	}
+);
+JSDOC.Symbol.prototype.__defineGetter__("params",
+	function() { return this._params; }
+);
+
+JSDOC.Symbol.prototype.getEvents = function() {
+	var events = [];
+	for (var i = 0, l = this.methods.length; i < l; i++) {
+		if (this.methods[i].isEvent) {
+			this.methods[i].name = this.methods[i].name.replace("event:", "");
+			events.push(this.methods[i]);
+		}
+	}
+	return events;
+}
+
+JSDOC.Symbol.prototype.getMethods = function() {
+	var nonEvents = [];
+	for (var i = 0, l = this.methods.length; i < l; i++) {
+		if (!this.methods[i].isEvent) {
+			nonEvents.push(this.methods[i]);
+		}
+	}
+	return nonEvents;
+}
+
+
+JSDOC.Symbol.prototype.populate = function(
+		/** String */ name,
+		/** Object[] */ params,
+		/** String */ isa,
+		/** JSDOC.DocComment */ comment
+) {
+	this.$args = arguments;
+	
+	this.name = name;
+	this.alias = this.name;
+	
+	this.params = params;
+	this.isa = (isa == "VIRTUAL")? "OBJECT":isa;
+	this.comment = comment || new JSDOC.DocComment("");
+	this.srcFile = JSDOC.Symbol.srcFile;
+	
+	if (this.is("FILE") && !this.alias) this.alias = this.srcFile;
+
+	this.setTags();
+	
+	if (typeof JSDOC.PluginManager != "undefined") {
+		JSDOC.PluginManager.run("onSymbol", this);
+	}
+}
+
+JSDOC.Symbol.prototype.setTags = function() {
+	// @author
+	var authors = this.comment.getTag("author");
+	if (authors.length) {
+		this.author = authors.map(function($){return $.desc;}).join(", ");
+	}
+	
+	/*t:
+		plan(34, "testing JSDOC.Symbol");
+		
+		requires("../lib/JSDOC/DocComment.js");
+		requires("../frame/String.js");
+		requires("../lib/JSDOC/DocTag.js");
+
+		var sym = new JSDOC.Symbol("foo", [], "OBJECT", new JSDOC.DocComment("/**@author Joe Smith*"+"/"));
+		is(sym.author, "Joe Smith", "@author tag, author is found.");
+	*/
+	
+	// @desc
+	var descs = this.comment.getTag("desc");
+	if (descs.length) {
+		this.desc = descs.map(function($){return $.desc;}).join("\n"); // multiple descriptions are concatenated into one
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "OBJECT", new JSDOC.DocComment("/**@desc This is a description.*"+"/"));
+		is(sym.desc, "This is a description.", "@desc tag, description is found.");
+	*/
+	
+	// @overview
+	if (this.is("FILE")) {
+		if (!this.alias) this.alias = this.srcFile;
+		
+		var overviews = this.comment.getTag("overview");
+		if (overviews.length) {
+			this.desc = [this.desc].concat(overviews.map(function($){return $.desc;})).join("\n");
+		}
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "FILE", new JSDOC.DocComment("/**@overview This is an overview.*"+"/"));
+		is(sym.desc, "\nThis is an overview.", "@overview tag, description is found.");
+	*/
+	
+	// @since
+	var sinces = this.comment.getTag("since");
+	if (sinces.length) {
+		this.since = sinces.map(function($){return $.desc;}).join(", ");
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "FILE", new JSDOC.DocComment("/**@since 1.01*"+"/"));
+		is(sym.since, "1.01", "@since tag, description is found.");
+	*/
+	
+	// @constant
+	if (this.comment.getTag("constant").length) {
+		this.isConstant = true;
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "FILE", new JSDOC.DocComment("/**@constant*"+"/"));
+		is(sym.isConstant, true, "@constant tag, isConstant set.");
+	*/
+	
+	// @version
+	var versions = this.comment.getTag("version");
+	if (versions.length) {
+		this.version = versions.map(function($){return $.desc;}).join(", ");
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "FILE", new JSDOC.DocComment("/**@version 2.0x*"+"/"));
+		is(sym.version, "2.0x", "@version tag, version is found.");
+	*/
+	
+	// @deprecated
+	var deprecateds = this.comment.getTag("deprecated");
+	if (deprecateds.length) {
+		this.deprecated = deprecateds.map(function($){return $.desc;}).join("\n");
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "FILE", new JSDOC.DocComment("/**@deprecated Use other method.*"+"/"));
+		is(sym.deprecated, "Use other method.", "@deprecated tag, desc is found.");
+	*/
+	
+	// @example
+	var examples = this.comment.getTag("example");
+	if (examples.length) {
+		this.example = examples.map(
+			// trim trailing whitespace
+			function($) {
+				$.desc = $.desc.replace(/\s+$/, "");
+				return $;
+			}
+		);
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "FILE", new JSDOC.DocComment("/**@example This\n  is an example. \n*"+"/"));
+		isnt(typeof sym.example[0], "undefined", "@example tag, creates sym.example array.");
+		is(sym.example[0], "This\n  is an example.", "@example tag, desc is found.");
+	*/
+	
+	// @see
+	var sees = this.comment.getTag("see");
+	if (sees.length) {
+		var thisSee = this.see;
+		sees.map(function($){thisSee.push($.desc);});
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "FILE", new JSDOC.DocComment("/**@see The other thing.*"+"/"));
+		is(sym.see, "The other thing.", "@see tag, desc is found.");
+	*/
+	
+	// @class
+	var classes = this.comment.getTag("class");
+	if (classes.length) {
+		this.isa = "CONSTRUCTOR";
+		this.classDesc = classes[0].desc; // desc can't apply to the constructor as there is none.
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "OBJECT", new JSDOC.DocComment("/**@class This describes the class.*"+"/"));
+		is(sym.isa, "CONSTRUCTOR", "@class tag, makes symbol a constructor.");
+		is(sym.classDesc, "This describes the class.", "@class tag, class description is found.");
+	*/
+	
+	// @namespace
+	var namespaces = this.comment.getTag("namespace");
+	if (namespaces.length) {
+		this.classDesc = namespaces[0].desc;
+		this.isNamespace = true;
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "OBJECT", new JSDOC.DocComment("/**@namespace This describes the namespace.*"+"/"));
+		is(sym.classDesc, "This describes the namespace.", "@namespace tag, class description is found.");
+	*/
+	
+	// @param
+	var params = this.comment.getTag("param");
+	if (params.length) {
+		// user-defined params overwrite those with same name defined by the parser
+		var thisParams = this.params;
+
+		if (thisParams.length == 0) { // none exist yet, so just bung all these user-defined params straight in
+			this.params = params;
+		}
+		else { // need to overlay these user-defined params on to existing parser-defined params
+			for (var i = 0, l = params.length; i < l; i++) {
+				if (thisParams[i]) {
+					if (params[i].type) thisParams[i].type = params[i].type;
+					thisParams[i].name = params[i].name;
+					thisParams[i].desc = params[i].desc;
+					thisParams[i].isOptional = params[i].isOptional;
+					thisParams[i].defaultValue = params[i].defaultValue;
+				}
+				else thisParams[i] = params[i];
+			}
+		}
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [{type: "array", name: "pages"}], "FUNCTION", new JSDOC.DocComment("/**Description.*"+"/"));
+		is(sym.params.length, 1, "parser defined param is found.");
+		
+		sym = new JSDOC.Symbol("foo", [], "FUNCTION", new JSDOC.DocComment("/**Description.\n@param {array} pages*"+"/"));
+		is(sym.params.length, 1, "user defined param is found.");
+		is(sym.params[0].type, "array", "user defined param type is found.");
+		is(sym.params[0].name, "pages", "user defined param name is found.");
+		
+		sym = new JSDOC.Symbol("foo", [{type: "array", name: "pages"}], "FUNCTION", new JSDOC.DocComment("/**Description.\n@param {string} uid*"+"/"));
+		is(sym.params.length, 1, "user defined param overwrites parser defined param.");
+		is(sym.params[0].type, "string", "user defined param type overwrites parser defined param type.");
+		is(sym.params[0].name, "uid", "user defined param name overwrites parser defined param name.");
+	
+		sym = new JSDOC.Symbol("foo", [{type: "array", name: "pages"}, {type: "number", name: "count"}], "FUNCTION", new JSDOC.DocComment("/**Description.\n@param {string} uid*"+"/"));
+		is(sym.params.length, 2, "user defined params  overlay parser defined params.");
+		is(sym.params[1].type, "number", "user defined param type overlays parser defined param type.");
+		is(sym.params[1].name, "count", "user defined param name overlays parser defined param name.");
+
+		sym = new JSDOC.Symbol("foo", [], "FUNCTION", new JSDOC.DocComment("/**Description.\n@param {array} pages The pages description.*"+"/"));
+		is(sym.params.length, 1, "user defined param with description is found.");
+		is(sym.params[0].desc, "The pages description.", "user defined param description is found.");
+	*/
+	
+	// @constructor
+	if (this.comment.getTag("constructor").length) {
+		this.isa = "CONSTRUCTOR";
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "OBJECT", new JSDOC.DocComment("/**@constructor*"+"/"));
+		is(sym.isa, "CONSTRUCTOR", "@constructor tag, makes symbol a constructor.");
+	*/
+	
+	// @static
+	if (this.comment.getTag("static").length) {
+		this.isStatic = true;
+		if (this.isa == "CONSTRUCTOR") {
+			this.isNamespace = true;
+		}
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "OBJECT", new JSDOC.DocComment("/**@static\n@constructor*"+"/"));
+		is(sym.isStatic, true, "@static tag, makes isStatic true.");
+		is(sym.isNamespace, true, "@static and @constructor tag, makes isNamespace true.");
+	*/
+	
+	// @inner
+	if (this.comment.getTag("inner").length) {
+		this.isInner = true;
+		this.isStatic = false;
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "OBJECT", new JSDOC.DocComment("/**@inner*"+"/"));
+		is(sym.isStatic, false, "@inner tag, makes isStatic false.");
+		is(sym.isInner, true, "@inner makes isInner true.");
+	*/
+	
+	// @name
+	var names = this.comment.getTag("name");
+	if (names.length) {
+		this.name = names[0].desc;
+	}
+	
+	/*t:
+		// todo
+	*/
+	
+	// @field
+	if (this.comment.getTag("field").length) {
+		this.isa = "OBJECT";
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "FUNCTION", new JSDOC.DocComment("/**@field*"+"/"));
+		is(sym.isa, "OBJECT", "@field tag, makes symbol an object.");
+	*/
+	
+	// @function
+	if (this.comment.getTag("function").length) {
+		this.isa = "FUNCTION";
+		if (/event:/.test(this.alias)) this.isEvent = true;
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "OBJECT", new JSDOC.DocComment("/**@function*"+"/"));
+		is(sym.isa, "FUNCTION", "@function tag, makes symbol a function.");
+	*/
+	
+	// @event
+	var events = this.comment.getTag("event");
+	if (events.length) {
+		this.isa = "FUNCTION";
+		this.isEvent = true;
+		if (!/event:/.test(this.alias))
+			this.alias = this.alias.replace(/^(.*[.#-])([^.#-]+)$/, "$1event:$2");
+	}
+	
+	/*t:
+		var sym = new JSDOC.Symbol("foo", [], "OBJECT", new JSDOC.DocComment("/**@event*"+"/"));
+		is(sym.isa, "FUNCTION", "@event tag, makes symbol a function.");
+		is(sym.isEvent, true, "@event makes isEvent true.");
+	*/
+	
+	// @fires
+	var fires = this.comment.getTag("fires");
+	if (fires.length) {
+		for (var i = 0; i < fires.length; i++) {
+			this.fires.push(fires[i].desc);
+		}
+	}
+	
+	/*t:
+		// todo
+	*/
+	
+	// @property
+	var properties = this.comment.getTag("property");
+	if (properties.length) {
+		thisProperties = this.properties;
+		for (var i = 0; i < properties.length; i++) {
+			var property = new JSDOC.Symbol(this.alias+"#"+properties[i].name, [], "OBJECT", new JSDOC.DocComment("/**"+properties[i].desc+"*/"));
+			// TODO: shouldn't the following happen in the addProperty method of Symbol?
+			if (properties[i].type) property.type = properties[i].type;
+			if (properties[i].defaultValue) property.defaultValue = properties[i].defaultValue;
+			this.addProperty(property);
+			if (!JSDOC.Parser.symbols.getSymbolByName(property.name))
+				JSDOC.Parser.addSymbol(property);
+		}
+	}
+	
+	/*t:
+		// todo
+	*/
+
+	// @return
+	var returns = this.comment.getTag("return");
+	if (returns.length) { // there can be many return tags in a single doclet
+		this.returns = returns;
+		this.type = returns.map(function($){return $.type}).join(", ");
+	}
+	
+	/*t:
+		// todo
+	*/
+	
+	// @exception
+	this.exceptions = this.comment.getTag("throws");
+	
+	/*t:
+		// todo
+	*/
+	
+	// @requires
+	var requires = this.comment.getTag("requires");
+	if (requires.length) {
+		this.requires = requires.map(function($){return $.desc});
+	}
+	
+	/*t:
+		// todo
+	*/
+	
+	// @type
+	var types = this.comment.getTag("type");
+	if (types.length) {
+		this.type = types[0].desc; //multiple type tags are ignored
+	}
+	
+	/*t:
+		// todo
+	*/
+	
+	// @private
+	if (this.comment.getTag("private").length || this.isInner) {
+		this.isPrivate = true;
+	}
+	
+	// @ignore
+	if (this.comment.getTag("ignore").length) {
+		this.isIgnored = true;
+	}
+	
+	/*t:
+		// todo
+	*/
+	
+	// @inherits ... as ...
+	var inherits = this.comment.getTag("inherits");
+	if (inherits.length) {
+		for (var i = 0; i < inherits.length; i++) {
+			if (/^\s*([a-z$0-9_.#:-]+)(?:\s+as\s+([a-z$0-9_.#:-]+))?/i.test(inherits[i].desc)) {
+				var inAlias = RegExp.$1;
+				var inAs = RegExp.$2 || inAlias;
+
+				if (inAlias) inAlias = inAlias.replace(/\.prototype\.?/g, "#");
+				
+				if (inAs) {
+					inAs = inAs.replace(/\.prototype\.?/g, "#");
+					inAs = inAs.replace(/^this\.?/, "#");
+				}
+
+				if (inAs.indexOf(inAlias) != 0) { //not a full namepath
+					var joiner = ".";
+					if (this.alias.charAt(this.alias.length-1) == "#" || inAs.charAt(0) == "#") {
+						joiner = "";
+					}
+					inAs = this.alias + joiner + inAs;
+				}
+			}
+			this.inherits.push({alias: inAlias, as: inAs});
+		}
+	}
+	
+	/*t:
+		// todo
+	*/
+	
+	// @augments
+	this.augments = this.comment.getTag("augments");
+	
+	// @default
+	var defaults = this.comment.getTag("default");
+	if (defaults.length) {
+		if (this.is("OBJECT")) {
+			this.defaultValue = defaults[0].desc;
+		}
+	}
+	
+	/*t:
+		// todo
+	*/
+	
+	// @memberOf
+	var memberOfs = this.comment.getTag("memberOf");
+	if (memberOfs.length) {
+		this.memberOf = memberOfs[0].desc;
+		this.memberOf = this.memberOf.replace(/\.prototype\.?/g, "#");
+	}
+
+	/*t:
+		// todo
+	*/
+	
+	// @public
+	if (this.comment.getTag("public").length) {
+		this.isPrivate = false;
+	}
+	
+	/*t:
+		// todo
+	*/
+		
+	if (JSDOC.PluginManager) {
+		JSDOC.PluginManager.run("onSetTags", this);
+	}
+}
+
+JSDOC.Symbol.prototype.is = function(what) {
+	return this.isa === what;
+}
+
+JSDOC.Symbol.prototype.isBuiltin = function() {
+	return JSDOC.Lang.isBuiltin(this.alias);
+}
+
+JSDOC.Symbol.prototype.setType = function(/**String*/comment, /**Boolean*/overwrite) {
+	if (!overwrite && this.type) return;
+	var typeComment = JSDOC.DocComment.unwrapComment(comment);
+	this.type = typeComment;
+}
+
+JSDOC.Symbol.prototype.inherit = function(symbol) {
+	if (!this.hasMember(symbol.name) && !symbol.isInner) {
+		if (symbol.is("FUNCTION"))
+			this.methods.push(symbol);
+		else if (symbol.is("OBJECT"))
+			this.properties.push(symbol);
+	}
+}
+
+JSDOC.Symbol.prototype.hasMember = function(name) {
+	return (this.hasMethod(name) || this.hasProperty(name));
+}
+
+JSDOC.Symbol.prototype.addMember = function(symbol) {
+	if (symbol.is("FUNCTION")) { this.addMethod(symbol); }
+	else if (symbol.is("OBJECT")) { this.addProperty(symbol); }
+}
+
+JSDOC.Symbol.prototype.hasMethod = function(name) {
+	var thisMethods = this.methods;
+	for (var i = 0, l = thisMethods.length; i < l; i++) {
+		if (thisMethods[i].name == name) return true;
+		if (thisMethods[i].alias == name) return true;
+	}
+	return false;
+}
+
+JSDOC.Symbol.prototype.addMethod = function(symbol) {
+	var methodAlias = symbol.alias;
+	var thisMethods = this.methods;
+	for (var i = 0, l = thisMethods.length; i < l; i++) {
+		if (thisMethods[i].alias == methodAlias) {
+			thisMethods[i] = symbol; // overwriting previous method
+			return;
+		}
+	}
+	thisMethods.push(symbol); // new method with this alias
+}
+
+JSDOC.Symbol.prototype.hasProperty = function(name) {
+	var thisProperties = this.properties;
+	for (var i = 0, l = thisProperties.length; i < l; i++) {
+		if (thisProperties[i].name == name) return true;
+		if (thisProperties[i].alias == name) return true;
+	}
+	return false;
+}
+
+JSDOC.Symbol.prototype.addProperty = function(symbol) {
+	var propertyAlias = symbol.alias;
+	var thisProperties = this.properties;
+	for (var i = 0, l = thisProperties.length; i < l; i++) {
+		if (thisProperties[i].alias == propertyAlias) {
+			thisProperties[i] = symbol; // overwriting previous property
+			return;
+		}
+	}
+
+	thisProperties.push(symbol); // new property with this alias
+}
+
+JSDOC.Symbol.srcFile = ""; //running reference to the current file being parsed
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/SymbolSet.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/SymbolSet.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/SymbolSet.js	(revision 505)
@@ -0,0 +1,243 @@
+/** @constructor */
+JSDOC.SymbolSet = function() {
+	this.init();
+}
+
+JSDOC.SymbolSet.prototype.init = function() {
+	this._index = new Hash();
+}
+
+JSDOC.SymbolSet.prototype.keys = function() {
+	return this._index.keys();
+}
+
+JSDOC.SymbolSet.prototype.hasSymbol = function(alias) {
+	return this._index.hasKey(alias);
+}
+
+JSDOC.SymbolSet.prototype.addSymbol = function(symbol) {
+	if (JSDOC.opt.a && this.hasSymbol(symbol.alias)) {
+		LOG.warn("Overwriting symbol documentation for: " + symbol.alias + ".");
+		this.deleteSymbol(symbol.alias);
+	}
+	this._index.set(symbol.alias, symbol);
+}
+
+JSDOC.SymbolSet.prototype.getSymbol = function(alias) {
+	if (this.hasSymbol(alias)) return this._index.get(alias);
+}
+
+JSDOC.SymbolSet.prototype.getSymbolByName = function(name) {
+	for (var p = this._index.first(); p; p = this._index.next()) {
+		var symbol = p.value;
+		if (symbol.name == name) return symbol;
+	}
+}
+
+JSDOC.SymbolSet.prototype.toArray = function() {
+	return this._index.values();
+}
+
+JSDOC.SymbolSet.prototype.deleteSymbol = function(alias) {
+	if (!this.hasSymbol(alias)) return;
+	this._index.drop(alias);
+}
+
+JSDOC.SymbolSet.prototype.renameSymbol = function(oldName, newName) {
+	// todo: should check if oldname or newname already exist
+	this._index.replace(oldName, newName);
+	this._index.get(newName).alias = newName;
+	return newName;
+}
+
+JSDOC.SymbolSet.prototype.relate = function() {
+	this.resolveBorrows();
+	this.resolveMemberOf();
+	this.resolveAugments();
+}
+
+JSDOC.SymbolSet.prototype.resolveBorrows = function() {
+	for (var p = this._index.first(); p; p = this._index.next()) {
+		var symbol = p.value;
+		if (symbol.is("FILE") || symbol.is("GLOBAL")) continue;
+		
+		var borrows = symbol.inherits;
+		for (var i = 0; i < borrows.length; i++) {
+		
+if (/#$/.test(borrows[i].alias)) {
+	LOG.warn("Attempted to borrow entire instance of "+borrows[i].alias+" but that feature is not yet implemented.");
+	return;
+}
+			var borrowed = this.getSymbol(borrows[i].alias);
+			
+			if (!borrowed) {
+				LOG.warn("Can't borrow undocumented "+borrows[i].alias+".");
+				continue;
+			}
+
+			if (borrows[i].as == borrowed.alias) {
+				var assumedName = borrowed.name.split(/([#.-])/).pop();
+				borrows[i].as = symbol.name+RegExp.$1+assumedName;
+				LOG.inform("Assuming borrowed as name is "+borrows[i].as+" but that feature is experimental.");
+			}
+			
+			var borrowAsName = borrows[i].as;
+			var borrowAsAlias = borrowAsName;
+			if (!borrowAsName) {
+				LOG.warn("Malformed @borrow, 'as' is required.");
+				continue;
+			}
+			
+			if (borrowAsName.length > symbol.alias.length && borrowAsName.indexOf(symbol.alias) == 0) {
+				borrowAsName = borrowAsName.replace(borrowed.alias, "")
+			}
+			else {
+				var joiner = "";
+				if (borrowAsName.charAt(0) != "#") joiner = ".";
+				borrowAsAlias = borrowed.alias + joiner + borrowAsName;
+			}
+			
+			borrowAsName = borrowAsName.replace(/^[#.]/, "");
+					
+			if (this.hasSymbol(borrowAsAlias)) continue;
+
+			var clone = borrowed.clone();
+			clone.name = borrowAsName;
+			clone.alias = borrowAsAlias;
+			this.addSymbol(clone);
+		}
+	}
+}
+
+JSDOC.SymbolSet.prototype.resolveMemberOf = function() {
+	for (var p = this._index.first(); p; p = this._index.next()) {
+		var symbol = p.value;
+
+		if (symbol.is("FILE") || symbol.is("GLOBAL")) continue;
+		
+		// the memberOf value was provided in the @memberOf tag
+		else if (symbol.memberOf) {			
+			// like foo.bar is a memberOf foo
+			if (symbol.alias.indexOf(symbol.memberOf) == 0) {
+				var memberMatch = new RegExp("^("+symbol.memberOf+")[.#-]?(.+)$");
+				var aliasParts = symbol.alias.match(memberMatch);
+				
+				if (aliasParts) {
+					symbol.memberOf = aliasParts[1];
+					symbol.name = aliasParts[2];
+				}
+				
+				var nameParts = symbol.name.match(memberMatch);
+
+				if (nameParts) {
+					symbol.name = nameParts[2];
+				}
+			}
+			// like bar is a memberOf foo
+			else {
+				var joiner = symbol.memberOf.charAt(symbol.memberOf.length-1);
+				if (!/[.#-]/.test(joiner)) symbol.memberOf += ".";
+				this.renameSymbol(symbol.alias, symbol.memberOf + symbol.name);
+			}
+		}
+		// the memberOf must be calculated
+		else {
+			var parts = symbol.alias.match(/^(.*[.#-])([^.#-]+)$/);
+
+			if (parts) {
+				symbol.memberOf = parts[1];
+				symbol.name = parts[2];				
+			}
+		}
+
+		// set isStatic, isInner
+		if (symbol.memberOf) {
+			switch (symbol.memberOf.charAt(symbol.memberOf.length-1)) {
+				case '#' :
+					symbol.isStatic = false;
+					symbol.isInner = false;
+				break;
+				case '.' :
+					symbol.isStatic = true;
+					symbol.isInner = false;
+				break;
+				case '-' :
+					symbol.isStatic = false;
+					symbol.isInner = true;
+				break;
+				default: // memberOf ends in none of the above
+					symbol.isStatic = true;
+				break;
+			}
+		}
+		
+		// unowned methods and fields belong to the global object
+		if (!symbol.is("CONSTRUCTOR") && !symbol.isNamespace && symbol.memberOf == "") {
+			symbol.memberOf = "_global_";
+		}
+
+		// clean up
+		if (symbol.memberOf.match(/[.#-]$/)) {
+			symbol.memberOf = symbol.memberOf.substr(0, symbol.memberOf.length-1);
+		}
+		// add to parent's methods or properties list
+		if (symbol.memberOf) {
+
+			var container = this.getSymbol(symbol.memberOf);
+			if (!container) {
+				if (JSDOC.Lang.isBuiltin(symbol.memberOf)) container = JSDOC.Parser.addBuiltin(symbol.memberOf);
+				else {
+					LOG.warn("Trying to document "+symbol.name +" as a member of undocumented symbol "+symbol.memberOf+".");
+				}
+			}
+			
+			if (container) container.addMember(symbol);
+		}
+	}
+}
+
+JSDOC.SymbolSet.prototype.resolveAugments = function() {
+	for (var p = this._index.first(); p; p = this._index.next()) {
+		var symbol = p.value;
+		
+		if (symbol.alias == "_global_" || symbol.is("FILE")) continue;
+		JSDOC.SymbolSet.prototype.walk.apply(this, [symbol]);
+	}
+}
+
+JSDOC.SymbolSet.prototype.walk = function(symbol) {
+	var augments = symbol.augments;
+	for(var i = 0; i < augments.length; i++) {
+		var contributer = this.getSymbol(augments[i]);
+		if (!contributer && JSDOC.Lang.isBuiltin(''+augments[i])) {
+			contributer = new JSDOC.Symbol("_global_."+augments[i], [], augments[i], new JSDOC.DocComment("Built in."));
+			contributer.isNamespace = true;
+			contributer.srcFile = "";
+			contributer.isPrivate = false;
+			JSDOC.Parser.addSymbol(contributer);
+		}
+		
+		if (contributer) {			
+			if (contributer.augments.length) {
+				JSDOC.SymbolSet.prototype.walk.apply(this, [contributer]);
+			}
+			
+			symbol.inheritsFrom.push(contributer.alias);
+			//if (!isUnique(symbol.inheritsFrom)) {
+			//	LOG.warn("Can't resolve augments: Circular reference: "+symbol.alias+" inherits from "+contributer.alias+" more than once.");
+			//}
+			//else {
+				var cmethods = contributer.methods;
+				var cproperties = contributer.properties;
+				
+				for (var ci = 0, cl = cmethods.length; ci < cl; ci++) {
+					if (!cmethods[ci].isStatic) symbol.inherit(cmethods[ci]);
+				}
+				for (var ci = 0, cl = cproperties.length; ci < cl; ci++) {
+					if (!cproperties[ci].isStatic) symbol.inherit(cproperties[ci]);
+				}	
+			//}
+		}
+		else LOG.warn("Can't augment contributer: "+augments[i]+", not found.");
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/TextStream.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/TextStream.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/TextStream.js	(revision 505)
@@ -0,0 +1,41 @@
+
+/**
+	@constructor
+*/
+JSDOC.TextStream = function(text) {
+	if (typeof(text) == "undefined") text = "";
+	text = ""+text;
+	this.text = text;
+	this.cursor = 0;
+}
+
+JSDOC.TextStream.prototype.look = function(n) {
+	if (typeof n == "undefined") n = 0;
+	
+	if (this.cursor+n < 0 || this.cursor+n >= this.text.length) {
+		var result = new String("");
+		result.eof = true;
+		return result;
+	}
+	return this.text.charAt(this.cursor+n);
+}
+
+JSDOC.TextStream.prototype.next = function(n) {
+	if (typeof n == "undefined") n = 1;
+	if (n < 1) return null;
+	
+	var pulled = "";
+	for (var i = 0; i < n; i++) {
+		if (this.cursor+i < this.text.length) {
+			pulled += this.text.charAt(this.cursor+i);
+		}
+		else {
+			var result = new String("");
+			result.eof = true;
+			return result;
+		}
+	}
+
+	this.cursor += n;
+	return pulled;
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Token.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Token.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Token.js	(revision 505)
@@ -0,0 +1,18 @@
+if (typeof JSDOC == "undefined") JSDOC = {};
+
+/**
+	@constructor
+*/
+JSDOC.Token = function(data, type, name) {
+	this.data = data;
+	this.type = type;
+	this.name = name;
+}
+
+JSDOC.Token.prototype.toString = function() { 
+	return "<"+this.type+" name=\""+this.name+"\">"+this.data+"</"+this.type+">";
+}
+
+JSDOC.Token.prototype.is = function(what) {
+	return this.name === what || this.type === what;
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/TokenReader.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/TokenReader.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/TokenReader.js	(revision 505)
@@ -0,0 +1,332 @@
+if (typeof JSDOC == "undefined") JSDOC = {};
+
+/**
+	@class Search a {@link JSDOC.TextStream} for language tokens.
+*/
+JSDOC.TokenReader = function() {
+	this.keepDocs = true;
+	this.keepWhite = false;
+	this.keepComments = false;
+}
+
+/**
+	@type {JSDOC.Token[]}
+ */
+JSDOC.TokenReader.prototype.tokenize = function(/**JSDOC.TextStream*/stream) {
+	var tokens = [];
+	/**@ignore*/ tokens.last    = function() { return tokens[tokens.length-1]; }
+	/**@ignore*/ tokens.lastSym = function() {
+		for (var i = tokens.length-1; i >= 0; i--) {
+			if (!(tokens[i].is("WHIT") || tokens[i].is("COMM"))) return tokens[i];
+		}
+	}
+
+	while (!stream.look().eof) {
+		if (this.read_mlcomment(stream, tokens)) continue;
+		if (this.read_slcomment(stream, tokens)) continue;
+		if (this.read_dbquote(stream, tokens))   continue;
+		if (this.read_snquote(stream, tokens))   continue;
+		if (this.read_regx(stream, tokens))      continue;
+		if (this.read_numb(stream, tokens))      continue;
+		if (this.read_punc(stream, tokens))      continue;
+		if (this.read_newline(stream, tokens))   continue;
+		if (this.read_space(stream, tokens))     continue;
+		if (this.read_word(stream, tokens))      continue;
+		
+		// if execution reaches here then an error has happened
+		tokens.push(new JSDOC.Token(stream.next(), "TOKN", "UNKNOWN_TOKEN"));
+	}
+	return tokens;
+}
+
+/**
+	@returns {Boolean} Was the token found?
+ */
+JSDOC.TokenReader.prototype.read_word = function(/**JSDOC.TokenStream*/stream, tokens) {
+	var found = "";
+	while (!stream.look().eof && JSDOC.Lang.isWordChar(stream.look())) {
+		found += stream.next();
+	}
+	
+	if (found === "") {
+		return false;
+	}
+	else {
+		var name;
+		if ((name = JSDOC.Lang.keyword(found))) tokens.push(new JSDOC.Token(found, "KEYW", name));
+		else tokens.push(new JSDOC.Token(found, "NAME", "NAME"));
+		return true;
+	}
+}
+
+/**
+	@returns {Boolean} Was the token found?
+ */
+JSDOC.TokenReader.prototype.read_punc = function(/**JSDOC.TokenStream*/stream, tokens) {
+	var found = "";
+	var name;
+	while (!stream.look().eof && JSDOC.Lang.punc(found+stream.look())) {
+		found += stream.next();
+	}
+	
+	if (found === "") {
+		return false;
+	}
+	else {
+		tokens.push(new JSDOC.Token(found, "PUNC", JSDOC.Lang.punc(found)));
+		return true;
+	}
+}
+
+/**
+	@returns {Boolean} Was the token found?
+ */
+JSDOC.TokenReader.prototype.read_space = function(/**JSDOC.TokenStream*/stream, tokens) {
+	var found = "";
+	
+	while (!stream.look().eof && JSDOC.Lang.isSpace(stream.look())) {
+		found += stream.next();
+	}
+	
+	if (found === "") {
+		return false;
+	}
+	else {
+		if (this.collapseWhite) found = " ";
+		if (this.keepWhite) tokens.push(new JSDOC.Token(found, "WHIT", "SPACE"));
+		return true;
+	}
+}
+
+/**
+	@returns {Boolean} Was the token found?
+ */
+JSDOC.TokenReader.prototype.read_newline = function(/**JSDOC.TokenStream*/stream, tokens) {
+	var found = "";
+	
+	while (!stream.look().eof && JSDOC.Lang.isNewline(stream.look())) {
+		found += stream.next();
+	}
+	
+	if (found === "") {
+		return false;
+	}
+	else {
+		if (this.collapseWhite) found = "\n";
+		if (this.keepWhite) tokens.push(new JSDOC.Token(found, "WHIT", "NEWLINE"));
+		return true;
+	}
+}
+
+/**
+	@returns {Boolean} Was the token found?
+ */
+JSDOC.TokenReader.prototype.read_mlcomment = function(/**JSDOC.TokenStream*/stream, tokens) {
+	if (stream.look() == "/" && stream.look(1) == "*") {
+		var found = stream.next(2);
+		
+		while (!stream.look().eof && !(stream.look(-1) == "/" && stream.look(-2) == "*")) {
+			found += stream.next();
+		}
+		
+		// to start doclet we allow /** or /*** but not /**/ or /****
+		if (/^\/\*\*([^\/]|\*[^*])/.test(found) && this.keepDocs) tokens.push(new JSDOC.Token(found, "COMM", "JSDOC"));
+		else if (this.keepComments) tokens.push(new JSDOC.Token(found, "COMM", "MULTI_LINE_COMM"));
+		return true;
+	}
+	return false;
+}
+
+/**
+	@returns {Boolean} Was the token found?
+ */
+JSDOC.TokenReader.prototype.read_slcomment = function(/**JSDOC.TokenStream*/stream, tokens) {
+	var found;
+	if (
+		(stream.look() == "/" && stream.look(1) == "/" && (found=stream.next(2)))
+		|| 
+		(stream.look() == "<" && stream.look(1) == "!" && stream.look(2) == "-" && stream.look(3) == "-" && (found=stream.next(4)))
+	) {
+		
+		while (!stream.look().eof && !JSDOC.Lang.isNewline(stream.look())) {
+			found += stream.next();
+		}
+		
+		if (this.keepComments) {
+			tokens.push(new JSDOC.Token(found, "COMM", "SINGLE_LINE_COMM"));
+		}
+		return true;
+	}
+	return false;
+}
+
+/**
+	@returns {Boolean} Was the token found?
+ */
+JSDOC.TokenReader.prototype.read_dbquote = function(/**JSDOC.TokenStream*/stream, tokens) {
+	if (stream.look() == "\"") {
+		// find terminator
+		var string = stream.next();
+		
+		while (!stream.look().eof) {
+			if (stream.look() == "\\") {
+				if (JSDOC.Lang.isNewline(stream.look(1))) {
+					do {
+						stream.next();
+					} while (!stream.look().eof && JSDOC.Lang.isNewline(stream.look()));
+					string += "\\\n";
+				}
+				else {
+					string += stream.next(2);
+				}
+			}
+			else if (stream.look() == "\"") {
+				string += stream.next();
+				tokens.push(new JSDOC.Token(string, "STRN", "DOUBLE_QUOTE"));
+				return true;
+			}
+			else {
+				string += stream.next();
+			}
+		}
+	}
+	return false; // error! unterminated string
+}
+
+/**
+	@returns {Boolean} Was the token found?
+ */
+JSDOC.TokenReader.prototype.read_snquote = function(/**JSDOC.TokenStream*/stream, tokens) {
+	if (stream.look() == "'") {
+		// find terminator
+		var string = stream.next();
+		
+		while (!stream.look().eof) {
+			if (stream.look() == "\\") { // escape sequence
+				string += stream.next(2);
+			}
+			else if (stream.look() == "'") {
+				string += stream.next();
+				tokens.push(new JSDOC.Token(string, "STRN", "SINGLE_QUOTE"));
+				return true;
+			}
+			else {
+				string += stream.next();
+			}
+		}
+	}
+	return false; // error! unterminated string
+}
+
+/**
+	@returns {Boolean} Was the token found?
+ */
+JSDOC.TokenReader.prototype.read_numb = function(/**JSDOC.TokenStream*/stream, tokens) {
+	if (stream.look() === "0" && stream.look(1) == "x") {
+		return this.read_hex(stream, tokens);
+	}
+	
+	var found = "";
+	
+	while (!stream.look().eof && JSDOC.Lang.isNumber(found+stream.look())){
+		found += stream.next();
+	}
+	
+	if (found === "") {
+		return false;
+	}
+	else {
+		if (/^0[0-7]/.test(found)) tokens.push(new JSDOC.Token(found, "NUMB", "OCTAL"));
+		else tokens.push(new JSDOC.Token(found, "NUMB", "DECIMAL"));
+		return true;
+	}
+}
+/*t:
+	requires("../lib/JSDOC/TextStream.js");
+	requires("../lib/JSDOC/Token.js");
+	requires("../lib/JSDOC/Lang.js");
+	
+	plan(3, "testing JSDOC.TokenReader.prototype.read_numb");
+	
+	//// setup
+	var src = "function foo(num){while (num+8.0 >= 0x20 && num < 0777){}}";
+	var tr = new JSDOC.TokenReader();
+	var tokens = tr.tokenize(new JSDOC.TextStream(src));
+	
+	var hexToken, octToken, decToken;
+	for (var i = 0; i < tokens.length; i++) {
+		if (tokens[i].name == "HEX_DEC") hexToken = tokens[i];
+		if (tokens[i].name == "OCTAL") octToken = tokens[i];
+		if (tokens[i].name == "DECIMAL") decToken = tokens[i];
+	}
+	////
+	
+	is(decToken.data, "8.0", "decimal number is found in source.");
+	is(hexToken.data, "0x20", "hexdec number is found in source (issue #99).");
+	is(octToken.data, "0777", "octal number is found in source.");
+*/
+
+/**
+	@returns {Boolean} Was the token found?
+ */
+JSDOC.TokenReader.prototype.read_hex = function(/**JSDOC.TokenStream*/stream, tokens) {
+	var found = stream.next(2);
+	
+	while (!stream.look().eof) {
+		if (JSDOC.Lang.isHexDec(found) && !JSDOC.Lang.isHexDec(found+stream.look())) { // done
+			tokens.push(new JSDOC.Token(found, "NUMB", "HEX_DEC"));
+			return true;
+		}
+		else {
+			found += stream.next();
+		}
+	}
+	return false;
+}
+
+/**
+	@returns {Boolean} Was the token found?
+ */
+JSDOC.TokenReader.prototype.read_regx = function(/**JSDOC.TokenStream*/stream, tokens) {
+	var last;
+	if (
+		stream.look() == "/"
+		&& 
+		(
+			
+			(
+				!(last = tokens.lastSym()) // there is no last, the regex is the first symbol
+				|| 
+				(
+					   !last.is("NUMB")
+					&& !last.is("NAME")
+					&& !last.is("RIGHT_PAREN")
+					&& !last.is("RIGHT_BRACKET")
+				)
+			)
+		)
+	) {
+		var regex = stream.next();
+		
+		while (!stream.look().eof) {
+			if (stream.look() == "\\") { // escape sequence
+				regex += stream.next(2);
+			}
+			else if (stream.look() == "/") {
+				regex += stream.next();
+				
+				while (/[gmi]/.test(stream.look())) {
+					regex += stream.next();
+				}
+				
+				tokens.push(new JSDOC.Token(regex, "REGX", "REGX"));
+				return true;
+			}
+			else {
+				regex += stream.next();
+			}
+		}
+		// error: unterminated regex
+	}
+	return false;
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/TokenStream.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/TokenStream.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/TokenStream.js	(revision 505)
@@ -0,0 +1,133 @@
+if (typeof JSDOC == "undefined") JSDOC = {};
+
+/**
+	@constructor
+*/
+JSDOC.TokenStream = function(tokens) {
+	this.tokens = (tokens || []);
+	this.rewind();
+}
+
+/**
+	@constructor
+	@private
+*/
+function VoidToken(/**String*/type) {
+	this.toString = function() {return "<VOID type=\""+type+"\">"};
+	this.is = function(){return false;}
+}
+
+JSDOC.TokenStream.prototype.rewind = function() {
+	this.cursor = -1;
+}
+
+/**
+	@type JSDOC.Token
+*/
+JSDOC.TokenStream.prototype.look = function(/**Number*/n, /**Boolean*/considerWhitespace) {
+	if (typeof n == "undefined") n = 0;
+
+	if (considerWhitespace == true) {
+		if (this.cursor+n < 0 || this.cursor+n > this.tokens.length) return {};
+		return this.tokens[this.cursor+n];
+	}
+	else {
+		var count = 0;
+		var i = this.cursor;
+
+		while (true) {
+			if (i < 0) return new JSDOC.Token("", "VOID", "START_OF_STREAM");
+			else if (i > this.tokens.length) return new JSDOC.Token("", "VOID", "END_OF_STREAM");
+
+			if (i != this.cursor && (this.tokens[i] === undefined || this.tokens[i].is("WHIT"))) {
+				if (n < 0) i--; else i++;
+				continue;
+			}
+			
+			if (count == Math.abs(n)) {
+				return this.tokens[i];
+			}
+			count++;
+			(n < 0)? i-- : i++;
+		}
+
+		return new JSDOC.Token("", "VOID", "STREAM_ERROR"); // because null isn't an object and caller always expects an object
+	}
+}
+
+/**
+	@type JSDOC.Token|JSDOC.Token[]
+*/
+JSDOC.TokenStream.prototype.next = function(/**Number*/howMany) {
+	if (typeof howMany == "undefined") howMany = 1;
+	if (howMany < 1) return null;
+	var got = [];
+
+	for (var i = 1; i <= howMany; i++) {
+		if (this.cursor+i >= this.tokens.length) {
+			return null;
+		}
+		got.push(this.tokens[this.cursor+i]);
+	}
+	this.cursor += howMany;
+
+	if (howMany == 1) {
+		return got[0];
+	}
+	else return got;
+}
+
+/**
+	@type JSDOC.Token[]
+*/
+JSDOC.TokenStream.prototype.balance = function(/**String*/start, /**String*/stop) {
+	if (!stop) stop = JSDOC.Lang.matching(start);
+	
+	var depth = 0;
+	var got = [];
+	var started = false;
+	
+	while ((token = this.look())) {
+		if (token.is(start)) {
+			depth++;
+			started = true;
+		}
+		
+		if (started) {
+			got.push(token);
+		}
+		
+		if (token.is(stop)) {
+			depth--;
+			if (depth == 0) return got;
+		}
+		if (!this.next()) break;
+	}
+}
+
+JSDOC.TokenStream.prototype.getMatchingToken = function(/**String*/start, /**String*/stop) {
+	var depth = 0;
+	var cursor = this.cursor;
+	
+	if (!start) {
+		start = JSDOC.Lang.matching(stop);
+		depth = 1;
+	}
+	if (!stop) stop = JSDOC.Lang.matching(start);
+	
+	while ((token = this.tokens[cursor])) {
+		if (token.is(start)) {
+			depth++;
+		}
+		
+		if (token.is(stop) && cursor) {
+			depth--;
+			if (depth == 0) return this.tokens[cursor];
+		}
+		cursor++;
+	}
+}
+
+JSDOC.TokenStream.prototype.insertAhead = function(/**JSDOC.Token*/token) {
+	this.tokens.splice(this.cursor+1, 0, token);
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Util.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Util.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Util.js	(revision 505)
@@ -0,0 +1,32 @@
+/**
+ * @namespace
+ * @deprecated Use {@link FilePath} instead.
+ */
+JSDOC.Util = {
+}
+
+/**
+ * @deprecated Use {@link FilePath.fileName} instead.
+ */
+JSDOC.Util.fileName = function(path) {
+	LOG.warn("JSDOC.Util.fileName is deprecated. Use FilePath.fileName instead.");
+	var nameStart = Math.max(path.lastIndexOf("/")+1, path.lastIndexOf("\\")+1, 0);
+	return path.substring(nameStart);
+}
+
+/**
+ * @deprecated Use {@link FilePath.fileExtension} instead.
+ */
+JSDOC.Util.fileExtension = function(filename) {
+	LOG.warn("JSDOC.Util.fileExtension is deprecated. Use FilePath.fileExtension instead.");
+	return filename.split(".").pop().toLowerCase();
+};
+
+/**
+ * @deprecated Use {@link FilePath.dir} instead.
+ */
+JSDOC.Util.dir = function(path) {
+	LOG.warn("JSDOC.Util.dir is deprecated. Use FilePath.dir instead.");
+	var nameStart = Math.max(path.lastIndexOf("/")+1, path.lastIndexOf("\\")+1, 0);
+	return path.substring(0, nameStart-1);
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Walker.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Walker.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/lib/JSDOC/Walker.js	(revision 505)
@@ -0,0 +1,507 @@
+if (typeof JSDOC == "undefined") JSDOC = {};
+
+/** @constructor */
+JSDOC.Walker = function(/**JSDOC.TokenStream*/ts) {
+	this.init();
+	if (typeof ts != "undefined") {
+		this.walk(ts);
+	}
+}
+
+JSDOC.Walker.prototype.init = function() {
+	this.ts = null;
+
+	var globalSymbol = new JSDOC.Symbol("_global_", [], "GLOBAL", new JSDOC.DocComment(""));
+	globalSymbol.isNamespace = true;
+	globalSymbol.srcFile = "";
+	globalSymbol.isPrivate = false;
+	JSDOC.Parser.addSymbol(globalSymbol);
+	this.lastDoc = null;
+	this.token = null;
+	
+	/**
+		The chain of symbols under which we are currently nested.
+		@type Array
+	*/
+	this.namescope = [globalSymbol];
+	this.namescope.last = function(n){ if (!n) n = 0; return this[this.length-(1+n)] || "" };
+}
+
+JSDOC.Walker.prototype.walk = function(/**JSDOC.TokenStream*/ts) {
+	this.ts = ts;
+	while (this.token = this.ts.look()) {
+		if (this.token.popNamescope) {
+			
+			var symbol = this.namescope.pop();
+			if (symbol.is("FUNCTION")) {
+				if (this.ts.look(1).is("LEFT_PAREN") && symbol.comment.getTag("function").length == 0) {
+					symbol.isa = "OBJECT";
+				}
+			}
+		}
+		this.step();
+		if (!this.ts.next()) break;
+	}
+}
+
+JSDOC.Walker.prototype.step = function() {
+	if (this.token.is("JSDOC")) { // it's a doc comment
+	
+		var doc = new JSDOC.DocComment(this.token.data);
+		
+				
+		if (doc.getTag("exports").length > 0) {
+			var exports = doc.getTag("exports")[0];
+
+			exports.desc.match(/(\S+) as (\S+)/i);
+			var n1 = RegExp.$1;
+			var n2 = RegExp.$2;
+			
+			if (!n1 && n2) throw "@exports tag requires a value like: 'name as ns.name'";
+			
+			JSDOC.Parser.rename = (JSDOC.Parser.rename || {});	
+			JSDOC.Parser.rename[n1] = n2
+		}
+		
+		if (doc.getTag("lends").length > 0) {
+			var lends = doc.getTag("lends")[0];
+
+			var name = lends.desc
+			if (!name) throw "@lends tag requires a value.";
+			
+			var symbol = new JSDOC.Symbol(name, [], "OBJECT", doc);
+			
+			this.namescope.push(symbol);
+			
+			var matching = this.ts.getMatchingToken("LEFT_CURLY");
+			if (matching) matching.popNamescope = name;
+			else LOG.warn("Mismatched } character. Can't parse code in file " + symbol.srcFile + ".");
+			
+			this.lastDoc = null;
+			return true;
+		}
+		else if (doc.getTag("name").length > 0 && doc.getTag("overview").length == 0) { // it's a virtual symbol
+			var virtualName = doc.getTag("name")[0].desc;
+			if (!virtualName) throw "@name tag requires a value.";
+			
+			if (doc.getTag("memberOf").length > 0) {
+				virtualName = (doc.getTag("memberOf")[0] + "." + virtualName)
+					.replace(/([#.])\./, "$1");
+				doc.deleteTag("memberOf");
+			}
+
+			var symbol = new JSDOC.Symbol(virtualName, [], "VIRTUAL", doc);
+			
+			JSDOC.Parser.addSymbol(symbol);
+			
+			this.lastDoc = null;
+			return true;
+		}
+		else if (doc.meta) { // it's a meta doclet
+			if (doc.meta == "@+") JSDOC.DocComment.shared = doc.src;
+			else if (doc.meta == "@-") JSDOC.DocComment.shared = "";
+			else if (doc.meta == "nocode+") JSDOC.Parser.conf.ignoreCode = true;
+			else if (doc.meta == "nocode-") JSDOC.Parser.conf.ignoreCode = JSDOC.opt.n;
+			else throw "Unrecognized meta comment: "+doc.meta;
+			
+			this.lastDoc = null;
+			return true;
+		}
+		else if (doc.getTag("overview").length > 0) { // it's a file overview
+			symbol = new JSDOC.Symbol("", [], "FILE", doc);
+			
+			JSDOC.Parser.addSymbol(symbol);
+			
+			this.lastDoc = null;
+			return true;
+		}
+		else {
+			this.lastDoc = doc;
+			return false;
+		}
+	}
+	else if (!JSDOC.Parser.conf.ignoreCode) { // it's code
+		if (this.token.is("NAME")) { // it's the name of something
+			var symbol;
+			var name = this.token.data;
+			var doc = null; if (this.lastDoc) doc = this.lastDoc;
+			var params = [];
+		
+			// it's inside an anonymous object
+			if (this.ts.look(1).is("COLON") && this.ts.look(-1).is("LEFT_CURLY") && !(this.ts.look(-2).is("JSDOC") || this.namescope.last().comment.getTag("lends").length || this.ts.look(-2).is("ASSIGN") || this.ts.look(-2).is("COLON"))) {
+				name = "$anonymous";
+				name = this.namescope.last().alias+"-"+name
+					
+				params = [];
+				
+				symbol = new JSDOC.Symbol(name, params, "OBJECT", doc);
+
+				JSDOC.Parser.addSymbol(symbol);
+				
+				this.namescope.push(symbol);
+				
+				var matching = this.ts.getMatchingToken(null, "RIGHT_CURLY");
+				if (matching) matching.popNamescope = name;
+				else LOG.warn("Mismatched } character. Can't parse code in file " + symbol.srcFile + ".");
+			}
+			// function foo() {}
+			else if (this.ts.look(-1).is("FUNCTION") && this.ts.look(1).is("LEFT_PAREN")) {
+				var isInner;
+				
+				if (this.lastDoc) doc = this.lastDoc;
+				
+				if (doc && doc.getTag("memberOf").length > 0) {
+					name = (doc.getTag("memberOf")[0]+"."+name).replace("#.", "#");
+					doc.deleteTag("memberOf");
+				}
+				else {
+					name = this.namescope.last().alias+"-"+name;
+					if (!this.namescope.last().is("GLOBAL")) isInner = true;
+				}
+				
+				if (!this.namescope.last().is("GLOBAL")) isInner = true;
+				
+				params = JSDOC.Walker.onParamList(this.ts.balance("LEFT_PAREN"));
+
+				symbol = new JSDOC.Symbol(name, params, "FUNCTION", doc);
+				if (isInner) symbol.isInner = true;
+
+				if (this.ts.look(1).is("JSDOC")) {
+					var inlineReturn = ""+this.ts.look(1).data;
+					inlineReturn = inlineReturn.replace(/(^\/\*\* *| *\*\/$)/g, "");
+					symbol.type = inlineReturn;
+				}
+				
+				JSDOC.Parser.addSymbol(symbol);
+				
+				this.namescope.push(symbol);
+				
+				var matching = this.ts.getMatchingToken("LEFT_CURLY");
+				if (matching) matching.popNamescope = name;
+				else LOG.warn("Mismatched } character. Can't parse code in file " + symbol.srcFile + ".");
+			}
+			// foo = function() {}
+			else if (this.ts.look(1).is("ASSIGN") && this.ts.look(2).is("FUNCTION")) {
+				var constructs;
+				var isConstructor = false;
+				if (doc && (constructs = doc.getTag("constructs")) && constructs.length) {
+					if (constructs[0].desc) {
+						name = constructs[0].desc;
+						isConstructor = true;
+					}
+				}
+					
+				var isInner;
+				if (this.ts.look(-1).is("VAR") || this.isInner) {
+					if (doc && doc.getTag("memberOf").length > 0) {
+						name = (doc.getTag("memberOf")[0]+"."+name).replace("#.", "#");
+						doc.deleteTag("memberOf");
+					}
+					else {
+						name = this.namescope.last().alias+"-"+name;
+						if (!this.namescope.last().is("GLOBAL")) isInner = true;
+					}
+					if (!this.namescope.last().is("GLOBAL")) isInner = true;
+				}
+				else if (name.indexOf("this.") == 0) {
+					name = this.resolveThis(name);
+				}
+
+				if (this.lastDoc) doc = this.lastDoc;
+				params = JSDOC.Walker.onParamList(this.ts.balance("LEFT_PAREN"));
+				
+				symbol = new JSDOC.Symbol(name, params, "FUNCTION", doc);
+
+				if (isInner) symbol.isInner = true;
+				if (isConstructor) symbol.isa = "CONSTRUCTOR";
+				
+				if (this.ts.look(1).is("JSDOC")) {
+					var inlineReturn = ""+this.ts.look(1).data;
+					inlineReturn = inlineReturn.replace(/(^\/\*\* *| *\*\/$)/g, "");
+					symbol.type = inlineReturn;
+				}
+
+				JSDOC.Parser.addSymbol(symbol);
+				
+				this.namescope.push(symbol);
+				
+				var matching = this.ts.getMatchingToken("LEFT_CURLY");
+				if (matching) matching.popNamescope = name;
+				else LOG.warn("Mismatched } character. Can't parse code in file " + symbol.srcFile + ".");
+			}
+			// foo = new function() {} or foo = (function() {}
+			else if (this.ts.look(1).is("ASSIGN") && (this.ts.look(2).is("NEW") || this.ts.look(2).is("LEFT_PAREN")) && this.ts.look(3).is("FUNCTION")) {
+				var isInner;
+				if (this.ts.look(-1).is("VAR") || this.isInner) {
+					name = this.namescope.last().alias+"-"+name
+					if (!this.namescope.last().is("GLOBAL")) isInner = true;
+				}
+				else if (name.indexOf("this.") == 0) {
+					name = this.resolveThis(name);
+				}
+
+				this.ts.next(3); // advance past the "new" or "("
+				
+				if (this.lastDoc) doc = this.lastDoc;
+				params = JSDOC.Walker.onParamList(this.ts.balance("LEFT_PAREN"));
+				
+				symbol = new JSDOC.Symbol(name, params, "OBJECT", doc);
+				if (isInner) symbol.isInner = true;
+				
+				if (this.ts.look(1).is("JSDOC")) {
+					var inlineReturn = ""+this.ts.look(1).data;
+					inlineReturn = inlineReturn.replace(/(^\/\*\* *| *\*\/$)/g, "");
+					symbol.type = inlineReturn;
+				}
+				
+				JSDOC.Parser.addSymbol(symbol);
+				
+				symbol.scopeType = "INSTANCE";
+				this.namescope.push(symbol);
+				
+				var matching = this.ts.getMatchingToken("LEFT_CURLY");
+				if (matching) matching.popNamescope = name;
+				else LOG.warn("Mismatched } character. Can't parse code in file " + symbol.srcFile + ".");
+			}
+			// foo: function() {}
+			else if (this.ts.look(1).is("COLON") && this.ts.look(2).is("FUNCTION")) {
+				name = (this.namescope.last().alias+"."+name).replace("#.", "#");
+				
+				if (this.lastDoc) doc = this.lastDoc;
+				params = JSDOC.Walker.onParamList(this.ts.balance("LEFT_PAREN"));
+				
+				if (doc && doc.getTag("constructs").length) {
+					name = name.replace(/\.prototype(\.|$)/, "#");
+					
+					if (name.indexOf("#") > -1) name = name.match(/(^[^#]+)/)[0];
+					else name = this.namescope.last().alias;
+
+					symbol = new JSDOC.Symbol(name, params, "CONSTRUCTOR", doc);
+				}
+				else {
+					symbol = new JSDOC.Symbol(name, params, "FUNCTION", doc);
+				}
+				
+				if (this.ts.look(1).is("JSDOC")) {
+					var inlineReturn = ""+this.ts.look(1).data;
+					inlineReturn = inlineReturn.replace(/(^\/\*\* *| *\*\/$)/g, "");
+					symbol.type = inlineReturn;
+				}
+				
+				JSDOC.Parser.addSymbol(symbol);
+				
+				this.namescope.push(symbol);
+				
+				var matching = this.ts.getMatchingToken("LEFT_CURLY");
+				if (matching) matching.popNamescope = name;
+				else LOG.warn("Mismatched } character. Can't parse code in file " + symbol.srcFile + ".");
+			}
+			// foo = {}
+			else if (this.ts.look(1).is("ASSIGN") && this.ts.look(2).is("LEFT_CURLY")) {
+				var isInner;
+				if (this.ts.look(-1).is("VAR") || this.isInner) {
+					name = this.namescope.last().alias+"-"+name
+					if (!this.namescope.last().is("GLOBAL")) isInner = true;
+				}
+				else if (name.indexOf("this.") == 0) {
+					name = this.resolveThis(name);
+				}
+				
+				if (this.lastDoc) doc = this.lastDoc;
+				
+				symbol = new JSDOC.Symbol(name, params, "OBJECT", doc);
+				if (isInner) symbol.isInner = true;
+				
+			
+				if (doc) JSDOC.Parser.addSymbol(symbol);
+
+				this.namescope.push(symbol);
+				
+				var matching = this.ts.getMatchingToken("LEFT_CURLY");
+				if (matching) matching.popNamescope = name;
+				else LOG.warn("Mismatched } character. Can't parse code in file " + symbol.srcFile + ".");
+			}
+			// var foo;
+			else if (this.ts.look(1).is("SEMICOLON")) {
+				var isInner;
+
+				if (this.ts.look(-1).is("VAR") || this.isInner) {
+					name = this.namescope.last().alias+"-"+name
+					if (!this.namescope.last().is("GLOBAL")) isInner = true;
+					
+					if (this.lastDoc) doc = this.lastDoc;
+				
+					symbol = new JSDOC.Symbol(name, params, "OBJECT", doc);
+					if (isInner) symbol.isInner = true;
+					
+				
+					if (doc) JSDOC.Parser.addSymbol(symbol);
+				}
+			}
+			// foo = x
+			else if (this.ts.look(1).is("ASSIGN")) {				
+				var isInner;
+				if (this.ts.look(-1).is("VAR") || this.isInner) {
+					name = this.namescope.last().alias+"-"+name
+					if (!this.namescope.last().is("GLOBAL")) isInner = true;
+				}
+				else if (name.indexOf("this.") == 0) {
+					name = this.resolveThis(name);
+				}
+				
+				if (this.lastDoc) doc = this.lastDoc;
+				
+				symbol = new JSDOC.Symbol(name, params, "OBJECT", doc);
+				if (isInner) symbol.isInner = true;
+				
+			
+				if (doc) JSDOC.Parser.addSymbol(symbol);
+			}
+			// foo: {}
+			else if (this.ts.look(1).is("COLON") && this.ts.look(2).is("LEFT_CURLY")) {
+				name = (this.namescope.last().alias+"."+name).replace("#.", "#");
+				
+				if (this.lastDoc) doc = this.lastDoc;
+				
+				symbol = new JSDOC.Symbol(name, params, "OBJECT", doc);
+				
+			
+				if (doc) JSDOC.Parser.addSymbol(symbol);
+				
+				this.namescope.push(symbol);
+				
+				var matching = this.ts.getMatchingToken("LEFT_CURLY");
+				if (matching) matching.popNamescope = name;
+				else LOG.warn("Mismatched } character. Can't parse code in file " + symbol.srcFile + ".");
+			}
+			// foo: x
+			else if (this.ts.look(1).is("COLON")) {
+				name = (this.namescope.last().alias+"."+name).replace("#.", "#");;
+				
+				if (this.lastDoc) doc = this.lastDoc;
+				
+				symbol = new JSDOC.Symbol(name, params, "OBJECT", doc);
+				
+			
+				if (doc) JSDOC.Parser.addSymbol(symbol);
+			}
+			// foo(...)
+			else if (this.ts.look(1).is("LEFT_PAREN")) {
+				if (typeof JSDOC.PluginManager != "undefined") {
+					var functionCall = {name: name};
+				
+					var cursor = this.ts.cursor;
+					params = JSDOC.Walker.onParamList(this.ts.balance("LEFT_PAREN"));
+					this.ts.cursor = cursor;
+					
+					for (var i = 0; i < params.length; i++)
+						functionCall["arg" + (i + 1)] = params[i].name;
+				
+					JSDOC.PluginManager.run("onFunctionCall", functionCall);
+					if (functionCall.doc) {
+						this.ts.insertAhead(new JSDOC.Token(functionCall.doc, "COMM", "JSDOC"));
+					}
+				}
+			}
+			this.lastDoc = null;
+		}
+		else if (this.token.is("FUNCTION")) { // it's an anonymous function
+			if (
+				(!this.ts.look(-1).is("COLON") || !this.ts.look(-1).is("ASSIGN"))
+				&& !this.ts.look(1).is("NAME")
+			) {
+				if (this.lastDoc) doc = this.lastDoc;
+				
+				name = "$anonymous";
+				name = this.namescope.last().alias+"-"+name
+				
+				params = JSDOC.Walker.onParamList(this.ts.balance("LEFT_PAREN"));
+				
+				symbol = new JSDOC.Symbol(name, params, "FUNCTION", doc);
+				
+				JSDOC.Parser.addSymbol(symbol);
+				
+				this.namescope.push(symbol);
+				
+				var matching = this.ts.getMatchingToken("LEFT_CURLY");
+				if (matching) matching.popNamescope = name;
+				else LOG.warn("Mismatched } character. Can't parse code in file " + symbol.srcFile + ".");
+			}
+		}
+	}
+	return true;
+}
+
+/**
+	Resolves what "this." means when it appears in a name.
+	@param name The name that starts with "this.".
+	@returns The name with "this." resolved.
+ */
+JSDOC.Walker.prototype.resolveThis = function(name) {
+	name.match(/^this\.(.+)$/)
+	var nameFragment = RegExp.$1;
+	if (!nameFragment) return name;
+	
+	var symbol = this.namescope.last();
+	var scopeType = symbol.scopeType || symbol.isa;
+
+	// if we are in a constructor function, `this` means the instance
+	if (scopeType == "CONSTRUCTOR") {
+		name = symbol.alias+"#"+nameFragment;
+	}
+	
+	// if we are in an anonymous constructor function, `this` means the instance
+	else if (scopeType == "INSTANCE") {
+		name = symbol.alias+"."+nameFragment;
+	}
+	
+	// if we are in a function, `this` means the container (possibly the global)
+	else if (scopeType == "FUNCTION") {
+		// in a method of a prototype, so `this` means the constructor
+		if (symbol.alias.match(/(^.*)[#.-][^#.-]+/)) {
+			var parentName = RegExp.$1;
+			var parent = JSDOC.Parser.symbols.getSymbol(parentName);
+
+			if (!parent) {
+				if (JSDOC.Lang.isBuiltin(parentName)) parent = JSDOC.Parser.addBuiltin(parentName);
+				else {
+					if (symbol.alias.indexOf("$anonymous") < 0) // these will be ignored eventually
+						LOG.warn("Trying to document "+symbol.alias+" without first documenting "+parentName+".");
+				}
+			}
+			if (parent) name = parentName+(parent.is("CONSTRUCTOR")?"#":".")+nameFragment;
+		}
+		else {
+			parent = this.namescope.last(1);
+			name = parent.alias+(parent.is("CONSTRUCTOR")?"#":".")+nameFragment;
+		}
+	}
+	// otherwise it means the global
+	else {
+		name = nameFragment;
+	}
+	
+	return name;
+}
+
+JSDOC.Walker.onParamList = function(/**Array*/paramTokens) {
+	if (!paramTokens) {
+		LOG.warn("Malformed parameter list. Can't parse code.");
+		return [];
+	}
+	var params = [];
+	for (var i = 0, l = paramTokens.length; i < l; i++) {
+		if (paramTokens[i].is("JSDOC")) {
+			var paramType = paramTokens[i].data.replace(/(^\/\*\* *| *\*\/$)/g, "");
+			
+			if (paramTokens[i+1] && paramTokens[i+1].is("NAME")) {
+				i++;
+				params.push({type: paramType, name: paramTokens[i].data});
+			}
+		}
+		else if (paramTokens[i].is("NAME")) {
+			params.push({name: paramTokens[i].data});
+		}
+	}
+	return params;
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/main.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/main.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/main.js	(revision 505)
@@ -0,0 +1,111 @@
+/**
+ * @version $Id: main.js 818 2009-11-08 14:51:41Z micmath $
+ */
+
+function main() {
+	IO.include("lib/JSDOC.js");
+	IO.includeDir("plugins/");
+	
+	// process the options
+	
+	// the -c option: options are defined in a configuration file
+	if (JSDOC.opt.c) {
+		eval("JSDOC.conf = " + IO.readFile(JSDOC.opt.c));
+		
+		LOG.inform("Using configuration file at '"+JSDOC.opt.c+"'.");
+		
+		for (var c in JSDOC.conf) {
+			if (c !== "D" && !defined(JSDOC.opt[c])) { // commandline overrules config file
+				JSDOC.opt[c] = JSDOC.conf[c];
+			}
+		}
+		
+		if (typeof JSDOC.conf["_"] != "undefined") {
+			JSDOC.opt["_"] = JSDOC.opt["_"].concat(JSDOC.conf["_"]);
+		}
+		
+		LOG.inform("With configuration: ");
+		for (var o in JSDOC.opt) {
+			LOG.inform("    "+o+": "+JSDOC.opt[o]);
+		}
+	}
+	
+	// be verbose
+	if (JSDOC.opt.v) LOG.verbose = true;
+	
+	// send log messages to a file
+	if (JSDOC.opt.o) LOG.out = IO.open(JSDOC.opt.o);
+	
+	// run the unit tests
+	if (JSDOC.opt.T) {
+		LOG.inform("JsDoc Toolkit running in test mode at "+new Date()+".");
+		IO.include("frame/Testrun.js");
+		IO.include("test.js");
+	}
+	else {
+		// a template must be defined and must be a directory path
+		if (!JSDOC.opt.t && System.getProperty("jsdoc.template.dir")) {
+			JSDOC.opt.t = System.getProperty("jsdoc.template.dir");
+		}
+		if (JSDOC.opt.t && SYS.slash != JSDOC.opt.t.slice(-1)) {
+			JSDOC.opt.t += SYS.slash;
+		}
+		
+		// verbose messages about the options we were given
+		LOG.inform("JsDoc Toolkit main() running at "+new Date()+".");
+		LOG.inform("With options: ");
+		for (var o in JSDOC.opt) {
+			LOG.inform("    "+o+": "+JSDOC.opt[o]);
+		}
+		
+		// initialize and build a symbolSet from your code
+		JSDOC.JsDoc();
+		
+		// debugger's option: dump the entire symbolSet produced from your code
+		if (JSDOC.opt.Z) {
+			LOG.warn("So you want to see the data structure, eh? This might hang if you have circular refs...");
+			IO.include("frame/Dumper.js");
+			var symbols = JSDOC.JsDoc.symbolSet.toArray();
+			for (var i = 0, l = symbols.length; i < l; i++) {
+				var symbol = symbols[i];
+				print("// symbol: " + symbol.alias);
+				print(symbol.serialize());
+			}
+		}
+		else {
+			if (typeof JSDOC.opt.t != "undefined") {
+				try {
+					// a file named "publish.js" must exist in the template directory
+					load(JSDOC.opt.t+"publish.js");
+					
+					// and must define a function named "publish"
+					if (!publish) {
+						LOG.warn("No publish() function is defined in that template so nothing to do.");
+					}
+					else {
+						// which will be called with the symbolSet produced from your code
+						publish(JSDOC.JsDoc.symbolSet);
+					}
+				}
+				catch(e) {
+					LOG.warn("Sorry, that doesn't seem to be a valid template: "+JSDOC.opt.t+"publish.js : "+e);
+				}
+			}
+			else {
+				LOG.warn("No template given. Might as well read the usage notes.");
+				JSDOC.usage();
+			}
+		}
+	}
+	
+	// notify of any warnings
+	if (!JSDOC.opt.q && LOG.warnings.length) {
+		print(LOG.warnings.length+" warning"+(LOG.warnings.length != 1? "s":"")+".");
+	}
+	
+	// stop sending log messages to a file
+	if (LOG.out) {
+		LOG.out.flush();
+		LOG.out.close();
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/commentSrcJson.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/commentSrcJson.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/commentSrcJson.js	(revision 505)
@@ -0,0 +1,20 @@
+JSDOC.PluginManager.registerPlugin(
+	"JSDOC.commentSrcJson",
+	{
+		onDocCommentSrc: function(comment) {
+			var json;
+			if (/^\s*@json\b/.test(comment)) {
+				comment.src = new String(comment.src).replace("@json", "");
+
+				eval("json = "+comment.src);
+				var tagged = "";
+				for (var i in json) {
+					var tag = json[i];
+					// todo handle cases where tag is an object
+					tagged += "@"+i+" "+tag+"\n";
+				}
+				comment.src = tagged;
+			}
+		}
+	}
+);
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/frameworkPrototype.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/frameworkPrototype.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/frameworkPrototype.js	(revision 505)
@@ -0,0 +1,16 @@
+JSDOC.PluginManager.registerPlugin(
+	"JSDOC.frameworkPrototype",
+	{
+		onPrototypeClassCreate: function(classCreator) {
+			var desc = "";
+			if (classCreator.comment) {
+				desc = classCreator.comment;
+			}
+			var insert = desc+"/** @name "+classCreator.name+"\n@constructor\n@scope "+classCreator.name+".prototype */"
+			
+			insert = insert.replace(/\*\/\/\*\*/g, "\n");
+			/*DEBUG*///print("insert is "+insert);
+			classCreator.addComment.data = insert;
+		}
+	}
+);
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/functionCall.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/functionCall.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/functionCall.js	(revision 505)
@@ -0,0 +1,10 @@
+JSDOC.PluginManager.registerPlugin(
+	"JSDOC.functionCall",
+	{
+		onFunctionCall: function(functionCall) {
+			if (functionCall.name == "dojo.define" && functionCall.arg1) {
+				functionCall.doc = "/** @lends "+eval(functionCall.arg1)+".prototype */";
+			}
+		}
+	}
+);
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/publishSrcHilite.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/publishSrcHilite.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/publishSrcHilite.js	(revision 505)
@@ -0,0 +1,62 @@
+JSDOC.PluginManager.registerPlugin(
+	"JSDOC.publishSrcHilite",
+	{
+		onPublishSrc: function(src) {
+			if (src.path in JsHilite.cache) {
+				return; // already generated src code
+			}
+			else JsHilite.cache[src.path] = true;
+		
+			try {
+				var sourceCode = IO.readFile(src.path);
+			}
+			catch(e) {
+				print(e.message);
+				quit();
+			}
+
+			var hiliter = new JsHilite(sourceCode, src.charset);
+			src.hilited = hiliter.hilite();
+		}
+	}
+);
+
+function JsHilite(src, charset) {
+
+	var tr = new JSDOC.TokenReader();
+	
+	tr.keepComments = true;
+	tr.keepDocs = true;
+	tr.keepWhite = true;
+	
+	this.tokens = tr.tokenize(new JSDOC.TextStream(src));
+	
+	// TODO is redefining toString() the best way?
+	JSDOC.Token.prototype.toString = function() { 
+		return "<span class=\""+this.type+"\">"+this.data.replace(/</g, "&lt;")+"</span>";
+	}
+	
+	if (!charset) charset = "utf-8";
+	
+	this.header = '<html><head><meta http-equiv="content-type" content="text/html; charset='+charset+'"> '+
+	"<style>\n\
+	.KEYW {color: #933;}\n\
+	.COMM {color: #bbb; font-style: italic;}\n\
+	.NUMB {color: #393;}\n\
+	.STRN {color: #393;}\n\
+	.REGX {color: #339;}\n\
+	.line {border-right: 1px dotted #666; color: #666; font-style: normal;}\n\
+	</style></head><body><pre>";
+	this.footer = "</pre></body></html>";
+	this.showLinenumbers = true;
+}
+
+JsHilite.cache = {};
+
+JsHilite.prototype.hilite = function() {
+	var hilited = this.tokens.join("");
+	var line = 1;
+	if (this.showLinenumbers) hilited = hilited.replace(/(^|\n)/g, function(m){return m+"<span class='line'>"+((line<10)? " ":"")+((line<100)? " ":"")+(line++)+"</span> "});
+	
+	return this.header+hilited+this.footer;
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/symbolLink.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/symbolLink.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/symbolLink.js	(revision 505)
@@ -0,0 +1,10 @@
+JSDOC.PluginManager.registerPlugin(
+	"JSDOC.symbolLink",
+	{
+		onSymbolLink: function(link) {
+			// modify link.linkPath (the href part of the link)
+			// or link.linkText (the text displayed)
+			// or link.linkInner (the #name part of the link)
+		}
+	}
+);
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/tagParamConfig.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/tagParamConfig.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/tagParamConfig.js	(revision 505)
@@ -0,0 +1,31 @@
+JSDOC.PluginManager.registerPlugin(
+	"JSDOC.tagParamConfig",
+	{
+		onDocCommentTags: function(comment) {
+			var currentParam = null;
+			var tags = comment.tags;
+			for (var i = 0, l = tags.length; i < l; i++) {
+				
+				if (tags[i].title == "param") {
+					if (tags[i].name.indexOf(".") == -1) {
+						currentParam = i;
+					}
+				}
+				else if (tags[i].title == "config") {
+					tags[i].title = "param";
+					if (currentParam == null) {
+						tags[i].name = "arguments"+"."+tags[i].name;
+					}
+					else if (tags[i].name.indexOf(tags[currentParam].name+".") != 0) {
+						tags[i].name = tags[currentParam].name+"."+tags[i].name;
+					}
+					currentParam != null
+					//tags[currentParam].properties.push(tags[i]);
+				}
+				else {
+					currentParam = null;
+				}
+			}
+		}
+	}
+);
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/tagSynonyms.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/tagSynonyms.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/plugins/tagSynonyms.js	(revision 505)
@@ -0,0 +1,43 @@
+JSDOC.PluginManager.registerPlugin(
+	"JSDOC.tagSynonyms",
+	{
+		onDocCommentSrc: function(comment) {
+			comment.src = comment.src.replace(/@methodOf\b/i, "@function\n@memberOf");
+			comment.src = comment.src.replace(/@fieldOf\b/i, "@field\n@memberOf");
+		},
+		
+		onDocCommentTags: function(comment) {
+			for (var i = 0, l = comment.tags.length; i < l; i++) {
+				var title = comment.tags[i].title.toLowerCase();
+				var syn;
+				if ((syn = JSDOC.tagSynonyms.synonyms["="+title])) {
+					comment.tags[i].title = syn;
+				}
+			}
+		}
+	}
+);
+
+new Namespace(
+	"JSDOC.tagSynonyms",
+	function() {
+		JSDOC.tagSynonyms.synonyms = {
+			"=member":             "memberOf",
+			"=memberof":           "memberOf",
+			"=description":        "desc",
+			"=exception":          "throws",
+			"=argument":           "param",
+			"=returns":            "return",
+			"=classdescription":   "class",
+			"=fileoverview":       "overview",
+			"=extends":            "augments",
+			"=base":               "augments",
+			"=projectdescription": "overview",
+			"=classdescription":   "class",
+			"=link":               "see",
+			"=borrows":            "inherits",
+			"=scope":              "lends",
+			"=construct":          "constructor"
+		}
+	}
+);
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/run.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/run.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/run.js	(revision 505)
@@ -0,0 +1,348 @@
+/**
+ * @fileOverview
+ * A bootstrap script that creates some basic required objects
+ * for loading other scripts.
+ * @author Michael Mathews, micmath@gmail.com
+ * @version $Id: run.js 756 2009-01-07 21:32:58Z micmath $
+ */
+
+/**
+ * @namespace Keep track of any messages from the running script.
+ */
+LOG = {
+	warn: function(msg, e) {
+		if (JSDOC.opt.q) return;
+		if (e) msg = e.fileName+", line "+e.lineNumber+": "+msg;
+		
+		msg = ">> WARNING: "+msg;
+		LOG.warnings.push(msg);
+		if (LOG.out) LOG.out.write(msg+"\n");
+		else print(msg);
+	},
+
+	inform: function(msg) {
+		if (JSDOC.opt.q) return;
+		msg = " > "+msg;
+		if (LOG.out) LOG.out.write(msg+"\n");
+		else if (typeof LOG.verbose != "undefined" && LOG.verbose) print(msg);
+	}
+};
+LOG.warnings = [];
+LOG.verbose = false
+LOG.out = undefined;
+
+/**
+ *	@class Manipulate a filepath.
+ */
+function FilePath(absPath, separator) {
+	this.slash =  separator || "/"; 
+	this.root = this.slash;
+	this.path = [];
+	this.file = "";
+	
+	var parts = absPath.split(/[\\\/]/);
+	if (parts) {
+		if (parts.length) this.root = parts.shift() + this.slash;
+		if (parts.length) this.file =  parts.pop()
+		if (parts.length) this.path = parts;
+	}
+	
+	this.path = this.resolvePath();
+}
+
+/** Collapse any dot-dot or dot items in a filepath. */
+FilePath.prototype.resolvePath = function() {
+	var resolvedPath = [];
+	for (var i = 0; i < this.path.length; i++) {
+		if (this.path[i] == "..") resolvedPath.pop();
+		else if (this.path[i] != ".") resolvedPath.push(this.path[i]);
+	}
+	return resolvedPath;
+}
+
+/** Trim off the filename. */
+FilePath.prototype.toDir = function() {
+	if (this.file) this.file = "";
+	return this;
+}
+
+/** Go up a directory. */
+FilePath.prototype.upDir = function() {
+	this.toDir();
+	if (this.path.length) this.path.pop();
+	return this;
+}
+
+FilePath.prototype.toString = function() {
+	return this.root
+		+ this.path.join(this.slash)
+		+ ((this.path.length > 0)? this.slash : "")
+		+ this.file;
+}
+
+/**
+ * Turn a path into just the name of the file.
+ */
+FilePath.fileName = function(path) {
+	var nameStart = Math.max(path.lastIndexOf("/")+1, path.lastIndexOf("\\")+1, 0);
+	return path.substring(nameStart);
+}
+
+/**
+ * Get the extension of a filename
+ */
+FilePath.fileExtension = function(filename) {
+   return filename.split(".").pop().toLowerCase();
+};
+
+/**
+ * Turn a path into just the directory part.
+ */
+FilePath.dir = function(path) {
+	var nameStart = Math.max(path.lastIndexOf("/")+1, path.lastIndexOf("\\")+1, 0);
+	return path.substring(0, nameStart-1);
+}
+
+
+importClass(java.lang.System);
+
+/**
+ * @namespace A collection of information about your system.
+ */
+SYS = {
+	/**
+	 * Information about your operating system: arch, name, version.
+	 * @type string
+	 */
+	os: [
+		new String(System.getProperty("os.arch")),
+		new String(System.getProperty("os.name")),
+		new String(System.getProperty("os.version"))
+	].join(", "),
+	
+	/**
+	 * Which way does your slash lean.
+	 * @type string
+	 */
+	slash: System.getProperty("file.separator")||"/",
+	
+	/**
+	 * The path to the working directory where you ran java.
+	 * @type string
+	 */
+	userDir: new String(System.getProperty("user.dir")),
+	
+	/**
+	 * Where is Java's home folder.
+	 * @type string
+	 */
+	javaHome: new String(System.getProperty("java.home")),
+	
+	/**
+	 * The absolute path to the directory containing this script.
+	 * @type string
+	 */
+	pwd: undefined
+};
+
+// jsrun appends an argument, with the path to here.
+if (arguments[arguments.length-1].match(/^-j=(.+)/)) {
+	if (RegExp.$1.charAt(0) == SYS.slash || RegExp.$1.charAt(1) == ":") { // absolute path to here
+		SYS.pwd = new FilePath(RegExp.$1).toDir().toString();
+	}
+	else { // relative path to here
+		SYS.pwd = new FilePath(SYS.userDir + SYS.slash + RegExp.$1).toDir().toString();
+	}
+	arguments.pop();
+}
+else {
+	print("The run.js script requires you use jsrun.jar.");
+	quit();
+}
+
+// shortcut
+var File = Packages.java.io.File;
+
+/**
+ * @namespace A collection of functions that deal with reading a writing to disk.
+ */
+IO = {
+
+	/**
+	 * Create a new file in the given directory, with the given name and contents.
+	 */
+	saveFile: function(/**string*/ outDir, /**string*/ fileName, /**string*/ content) {
+		var out = new Packages.java.io.PrintWriter(
+			new Packages.java.io.OutputStreamWriter(
+				new Packages.java.io.FileOutputStream(outDir+SYS.slash+fileName),
+				IO.encoding
+			)
+		);
+		out.write(content);
+		out.flush();
+		out.close();
+	},
+	
+	/**
+	 * @type string
+	 */
+	readFile: function(/**string*/ path) {
+		if (!IO.exists(path)) {
+			throw "File doesn't exist there: "+path;
+		}
+		return readFile(path, IO.encoding);
+	},
+
+	/**
+	 * @param inFile 
+	 * @param outDir
+	 * @param [fileName=The original filename]
+	 */
+	copyFile: function(/**string*/ inFile, /**string*/ outDir, /**string*/ fileName) {
+		if (fileName == null) fileName = FilePath.fileName(inFile);
+	
+		var inFile = new File(inFile);
+		var outFile = new File(outDir+SYS.slash+fileName);
+		
+		var bis = new Packages.java.io.BufferedInputStream(new Packages.java.io.FileInputStream(inFile), 4096);
+		var bos = new Packages.java.io.BufferedOutputStream(new Packages.java.io.FileOutputStream(outFile), 4096);
+		var theChar;
+		while ((theChar = bis.read()) != -1) {
+			bos.write(theChar);
+		}
+		bos.close();
+		bis.close();
+	},
+
+	/**
+	 * Creates a series of nested directories.
+	 */
+	mkPath: function(/**Array*/ path) {
+		if (path.constructor != Array) path = path.split(/[\\\/]/);
+		var make = "";
+		for (var i = 0, l = path.length; i < l; i++) {
+			make += path[i] + SYS.slash;
+			if (! IO.exists(make)) {
+				IO.makeDir(make);
+			}
+		}
+	},
+	
+	/**
+	 * Creates a directory at the given path.
+	 */
+	makeDir: function(/**string*/ path) {
+		(new File(path)).mkdir();
+	},
+
+	/**
+	 * @type string[]
+	 * @param dir The starting directory to look in.
+	 * @param [recurse=1] How many levels deep to scan.
+	 * @returns An array of all the paths to files in the given dir.
+	 */
+	ls: function(/**string*/ dir, /**number*/ recurse, _allFiles, _path) {
+		if (_path === undefined) { // initially
+			var _allFiles = [];
+			var _path = [dir];
+		}
+		if (_path.length == 0) return _allFiles;
+		if (recurse === undefined) recurse = 1;
+		
+		dir = new File(dir);
+		if (!dir.directory) return [String(dir)];
+		var files = dir.list();
+		
+		for (var f = 0; f < files.length; f++) {
+			var file = String(files[f]);
+			if (file.match(/^\.[^\.\/\\]/)) continue; // skip dot files
+	
+			if ((new File(_path.join(SYS.slash)+SYS.slash+file)).list()) { // it's a directory
+				_path.push(file);
+				if (_path.length-1 < recurse) IO.ls(_path.join(SYS.slash), recurse, _allFiles, _path);
+				_path.pop();
+			}
+			else {
+				_allFiles.push((_path.join(SYS.slash)+SYS.slash+file).replace(SYS.slash+SYS.slash, SYS.slash));
+			}
+		}
+	
+		return _allFiles;
+	},
+
+	/**
+	 * @type boolean
+	 */
+	exists: function(/**string*/ path) {
+		file = new File(path);
+	
+		if (file.isDirectory()){
+			return true;
+		}
+		if (!file.exists()){
+			return false;
+		}
+		if (!file.canRead()){
+			return false;
+		}
+		return true;
+	},
+
+	/**
+	 * 
+	 */
+	open: function(/**string*/ path, /**string*/ append) {
+		var append = true;
+		var outFile = new File(path);
+		var out = new Packages.java.io.PrintWriter(
+			new Packages.java.io.OutputStreamWriter(
+				new Packages.java.io.FileOutputStream(outFile, append),
+				IO.encoding
+			)
+		);
+		return out;
+	},
+
+	/**
+	 * Sets {@link IO.encoding}.
+	 * Encoding is used when reading and writing text to files,
+	 * and in the meta tags of HTML output.
+	 */
+	setEncoding: function(/**string*/ encoding) {
+		if (/ISO-8859-([0-9]+)/i.test(encoding)) {
+			IO.encoding = "ISO8859_"+RegExp.$1;
+		}
+		else {
+			IO.encoding = encoding;
+		}
+	},
+
+	/**
+	 * @default "utf-8"
+	 * @private
+	 */
+	encoding: "utf-8",
+	
+	/**
+	 * Load the given script.
+	 */
+	include: function(relativePath) {
+		load(SYS.pwd+relativePath);
+	},
+	
+	/**
+	 * Loads all scripts from the given directory path.
+	 */
+	includeDir: function(path) {
+		if (!path) return;
+		
+		for (var lib = IO.ls(SYS.pwd+path), i = 0; i < lib.length; i++) 
+			if (/\.js$/i.test(lib[i])) load(lib[i]);
+	}
+}
+
+// now run the application
+IO.include("frame.js");
+IO.include("main.js");
+
+main();
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/t/TestDoc.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/t/TestDoc.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/t/TestDoc.js	(revision 505)
@@ -0,0 +1,144 @@
+var TestDoc = {
+	fails: 0,
+	plans: 0,
+	passes: 0,
+	results: []
+};
+
+TestDoc.record = function(result) {
+	TestDoc.results.push(result);
+	if (typeof result.verdict == "boolean") {
+		if (result.verdict === false) TestDoc.fails++;
+		if (result.verdict === true) TestDoc.passes++;
+	}
+}
+
+TestDoc.prove = function(filePath) {
+	if (typeof document != "undefined" && typeof document.write != "undefined") {
+		if (TestDoc.console) print = function(s) { TestDoc.console.appendChild(document.createTextNode(s+"\n")); }
+		else print = function(s) { document.write(s+"<br />"); }
+	}
+	TestDoc.run(TestDoc.readFile(filePath));
+}
+
+TestDoc.run = function(src) {
+	try { eval(src); } catch(e) { print("# ERROR! "+e); }
+	
+	var chunks = src.split(/\/\*t:/);
+	
+	var run = function(chunk) {
+		// local shortcuts
+		var is = TestDoc.assertEquals;
+		var isnt = TestDoc.assertNotEquals;
+		var plan = TestDoc.plan;
+		var requires = TestDoc.requires;
+		
+		try { eval(chunk); } catch(e) { print("# ERROR! "+e); }
+	}
+	for (var start = -1, end = 0; (start = src.indexOf("/*t:", end)) > end; start = end) {
+		run(
+			src.substring(
+				start+4,
+				(end = src.indexOf("*/", start))
+			)
+		);
+	}
+}
+
+TestDoc.Result = function(verdict, message) {
+	this.verdict = verdict;
+	this.message = message;
+}
+
+TestDoc.Result.prototype.toString = function() {
+	if (typeof this.verdict == "boolean") {
+		return (this.verdict? "ok" : "not ok") + " " + (++TestDoc.report.counter) + " - " + this.message;
+	}
+	
+	return "# " + this.message;
+}
+
+TestDoc.requires = function(file) {
+	if (!TestDoc.requires.loaded[file]) {
+		load(file);
+		TestDoc.requires.loaded[file] = true;
+	}
+}
+TestDoc.requires.loaded = {};
+
+TestDoc.report = function() {
+	TestDoc.report.counter = 0;
+	print("1.."+TestDoc.plans);
+	for (var i = 0; i < TestDoc.results.length; i++) {
+		print(TestDoc.results[i]);
+	}
+	print("----------------------------------------");
+	if (TestDoc.fails == 0 && TestDoc.passes == TestDoc.plans) {
+		print("All tests successful.");
+	}
+	else {
+		print("Failed " + TestDoc.fails + "/" + TestDoc.plans + " tests, "+((TestDoc.plans == 0)? 0 : Math.round(TestDoc.passes/(TestDoc.passes+TestDoc.fails)*10000)/100)+"% okay. Planned to run "+TestDoc.plans+", did run "+(TestDoc.passes+TestDoc.fails)+".")
+	}
+}
+
+TestDoc.plan = function(n, message) {
+	TestDoc.plans += n;
+	TestDoc.record(new TestDoc.Result(null, message+" ("+n+" tests)"));
+}
+
+TestDoc.assertEquals = function(a, b, message) {
+	var result = (a == b);
+	if (!result) message += "\n#\n# " + a + " does not equal " + b + "\n#";
+	TestDoc.record(new TestDoc.Result(result, message));
+}
+
+TestDoc.assertNotEquals = function(a, b, message) {
+	var result = (a != b);
+	if (!result) message += "\n#\n# " + a + " equals " + b + "\n#";
+	TestDoc.record(new TestDoc.Result(result, message));
+}
+
+TestDoc.readFile = (function(){
+	// rhino
+	if (typeof readFile == "function") {
+		return function(url) {
+			var text = readFile(url);
+			return text || "";
+		}
+	}
+
+	// a web browser
+	else {
+		return function(url) {
+			var httpRequest;
+		
+			if (window.XMLHttpRequest) { // Mozilla, Safari, etc
+				httpRequest = new XMLHttpRequest();
+			} 
+			else if (window.ActiveXObject) { // IE
+				try {
+					httpRequest = new ActiveXObject("Msxml2.XMLHTTP");
+				} 
+				catch (e) {
+				   try {
+						httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
+					} 
+					catch (e) {
+					}
+				}
+			}
+		
+			if (!httpRequest) { throw "Cannot create HTTP Request."; }
+			
+			httpRequest.open('GET', url, false);
+			httpRequest.send('');
+			if (httpRequest.readyState == 4) {
+				if (httpRequest.status >= 400) {
+					throw "The HTTP Request returned an error code: "+httpRequest.status;
+				}
+			}
+			
+			return httpRequest.responseText || "";
+		}
+	}
+})();
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/t/runner.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/t/runner.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/t/runner.js	(revision 505)
@@ -0,0 +1,13 @@
+// try: java -jar ../../jsrun.jar runner.js
+
+load("TestDoc.js");
+
+TestDoc.prove("../frame/Opt.js");
+TestDoc.prove("../lib/JSDOC.js");
+TestDoc.prove("../frame/String.js");
+TestDoc.prove("../lib/JSDOC/DocTag.js");
+TestDoc.prove("../lib/JSDOC/DocComment.js");
+TestDoc.prove("../lib/JSDOC/TokenReader.js");
+TestDoc.prove("../lib/JSDOC/Symbol.js");
+
+TestDoc.report();
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test.js	(revision 505)
@@ -0,0 +1,342 @@
+load("app/frame/Dumper.js");
+function symbolize(opt) {
+	symbols = null;
+	JSDOC.JsDoc(opt);
+	symbols = JSDOC.JsDoc.symbolSet;
+}
+
+var testCases = [
+	function() {
+		symbolize({a:true, p:true, _: [SYS.pwd+"test/overview.js"]});
+		//print(Dumper.dump(symbols));	
+		is('symbols.getSymbolByName("My Cool Library").name', 'My Cool Library', 'File overview can be found by alias.');		
+	}
+	,
+	function() {
+		symbolize({_: [SYS.pwd+"test/name.js"]});
+
+		is('symbols.getSymbol("Response").name', "Response", 'Virtual class name is found.');
+		is('symbols.getSymbol("Response#text").alias', "Response#text", 'Virtual method name is found.');
+		is('symbols.getSymbol("Response#text").memberOf', "Response", 'Virtual method parent name is found.');
+	}
+	,
+	function() {
+		symbolize({a:true, p:true, _: [SYS.pwd+"test/prototype.js"]});
+
+		is('symbols.getSymbol("Article").name', "Article", 'Function set to constructor prototype with inner constructor name is found.');
+		is('symbols.getSymbol("Article").hasMethod("init")', true, 'The initializer method name of prototype function is correct.');
+		is('symbols.getSymbol("Article").hasMember("counter")', true, 'A static property set in the prototype definition is found.');
+		is('symbols.getSymbol("Article").hasMember("title")', true, 'An instance property set in the prototype is found.');
+		is('symbols.getSymbol("Article#title").isStatic', false, 'An instance property has isStatic set to false.');
+		is('symbols.getSymbol("Article.counter").name', "counter", 'A static property set in the initializer has the name set correctly.');
+		is('symbols.getSymbol("Article.counter").memberOf', "Article", 'A static property set in the initializer has the memberOf set correctly.');
+		is('symbols.getSymbol("Article.counter").isStatic', true, 'A static property set in the initializer has isStatic set to true.');
+	}
+	,
+	function() {
+		symbolize({a:true, _: [SYS.pwd+"test/prototype_oblit.js"]});
+		
+		is('symbols.getSymbol("Article").name', "Article", 'Oblit set to constructor prototype name is found.');
+		is('typeof symbols.getSymbol("Article.prototype")', "undefined", 'The prototype oblit is not a symbol.');
+		is('symbols.getSymbol("Article#getTitle").name', "getTitle", 'The nonstatic method name of prototype oblit is correct.');
+		is('symbols.getSymbol("Article#getTitle").alias', "Article#getTitle", 'The alias of non-static method of prototype oblit is correct.');
+		is('symbols.getSymbol("Article#getTitle").isStatic', false, 'The isStatic of a nonstatic method of prototype oblit is correct.');
+		is('symbols.getSymbol("Article.getTitle").name', "getTitle", 'The static method name of prototype oblit is correct.');
+		is('symbols.getSymbol("Article.getTitle").isStatic', true, 'The isStatic of a static method of prototype oblit is correct.');
+		is('symbols.getSymbol("Article#getTitle").isa', "FUNCTION", 'The isa of non-static method of prototype oblit is correct.');
+		is('symbols.getSymbol("Article.getTitle").alias', "Article.getTitle", 'The alias of a static method of prototype oblit is correct.');
+		is('symbols.getSymbol("Article.getTitle").isa', "FUNCTION", 'The isa of static method of prototype oblit is correct.');
+	}
+	,
+	function() {
+		symbolize({a:true, p:true, _: [SYS.pwd+"test/prototype_oblit_constructor.js"]});
+		
+		is('symbols.getSymbol("Article").name', "Article", 'Oblit set to constructor prototype with inner constructor name is found.');
+		is('symbols.getSymbol("Article#init").name', "init", 'The initializer method name of prototype oblit is correct.');
+		is('symbols.getSymbol("Article").hasMember("pages")', true, 'Property set by initializer method "this" is on the outer constructor.');
+		is('symbols.getSymbol("Article#Title").name', "Title", 'Name of the inner constructor name is found.');
+		is('symbols.getSymbol("Article#Title").memberOf', "Article", 'The memberOf of the inner constructor name is found.');
+		is('symbols.getSymbol("Article#Title").isa', "CONSTRUCTOR", 'The isa of the inner constructor name is constructor.');
+		is('symbols.getSymbol("Article#Title").hasMember("title")', true, 'A property set on the inner constructor "this"  is on the inner constructor.');
+	}
+	,
+	function() {
+		symbolize({a:true, p:true, _: [SYS.pwd+"test/inner.js"]});
+		
+		is('symbols.getSymbol("Outer").name', "Outer", 'Outer constructor prototype name is found.');
+		is('symbols.getSymbol("Outer").methods.length', 1, 'Inner function doesnt appear as a method of the outer.');
+		is('symbols.getSymbol("Outer").hasMethod("open")', true, 'Outer constructors methods arent affected by inner function.');
+		is('symbols.getSymbol("Outer-Inner").alias', "Outer-Inner", 'Alias of inner function is found.');
+		is('symbols.getSymbol("Outer-Inner").isa', "CONSTRUCTOR", 'isa of inner function constructor is found.');
+		is('symbols.getSymbol("Outer-Inner").memberOf', "Outer", 'The memberOf of inner function is found.');
+		is('symbols.getSymbol("Outer-Inner").name', "Inner", 'The name of inner function is found.');
+		is('symbols.getSymbol("Outer-Inner#name").name', "name", 'A member of the inner function constructor, attached to "this" is found on inner.');
+		is('symbols.getSymbol("Outer-Inner#name").memberOf', "Outer-Inner", 'The memberOf of an inner function member is found.');		
+	}
+	,
+	function() {
+		symbolize({a:true, _: [SYS.pwd+"test/prototype_nested.js"]});
+		
+		is('symbols.getSymbol("Word").name', "Word", 'Base constructor name is found.');
+		is('symbols.getSymbol("Word").hasMethod("reverse")', true, 'Base constructor method is found.');
+		is('symbols.getSymbol("Word").methods.length', 1, 'Base constructor has only one method.');
+		is('symbols.getSymbol("Word").memberOf', "", 'Base constructor memberOf is empty.');
+		is('symbols.getSymbol("Word#reverse").name', "reverse", 'Member of constructor prototype name is found.');
+		is('symbols.getSymbol("Word#reverse").memberOf', "Word", 'Member of constructor prototype memberOf is found.');
+		is('symbols.getSymbol("Word#reverse.utf8").name', "utf8", 'Member of constructor prototype method name is found.');
+		is('symbols.getSymbol("Word#reverse.utf8").memberOf', "Word#reverse", 'Static nested member memberOf is found.');
+	}
+	,
+	function() {
+		symbolize({a:true, _: [SYS.pwd+"test/namespace_nested.js"]});
+		
+		is('symbols.getSymbol("ns1").name', "ns1", 'Base namespace name is found.');
+		is('symbols.getSymbol("ns1").memberOf', "", 'Base namespace memberOf is empty (its a constructor).');
+		is('symbols.getSymbol("ns1.ns2").name', "ns2", 'Nested namespace name is found.');
+ 		is('symbols.getSymbol("ns1.ns2").alias', "ns1.ns2", 'Nested namespace alias is found.');
+ 		is('symbols.getSymbol("ns1.ns2").memberOf', "ns1", 'Nested namespace memberOf is found.');
+ 		is('symbols.getSymbol("ns1.ns2.Function1").name', "Function1", 'Method of nested namespace name is found.');
+ 		is('symbols.getSymbol("ns1.ns2.Function1").memberOf', "ns1.ns2", 'Constructor of nested namespace memberOf is found.');			
+	}
+	,
+	function() {
+		symbolize({a:true, p:true, _: [SYS.pwd+"test/functions_nested.js"]});
+		
+		is('symbols.getSymbol("Zop").name', "Zop", 'Any constructor name is found.');
+		is('symbols.getSymbol("Zop").isa', "CONSTRUCTOR", 'It isa constructor.');
+		is('symbols.getSymbol("Zop").hasMethod("zap")', true, 'Its method name, set later, is in methods array.');
+		is('symbols.getSymbol("Foo").name', "Foo", 'The containing constructor name is found.');
+		is('symbols.getSymbol("Foo").hasMethod("methodOne")', true, 'Its method name is found.');
+		is('symbols.getSymbol("Foo").hasMethod("methodTwo")', true, 'Its second method name is found.');
+		is('symbols.getSymbol("Foo#methodOne").alias', "Foo#methodOne", 'A methods alias is found.');
+		is('symbols.getSymbol("Foo#methodOne").isStatic', false, 'A methods is not static.');
+		is('symbols.getSymbol("Bar").name', "Bar", 'A global function declared inside another function is found.');
+		is('symbols.getSymbol("Bar").isa', "FUNCTION", 'It isa function.');
+		is('symbols.getSymbol("Bar").memberOf', "_global_", 'It is global.');
+		is('symbols.getSymbol("Foo-inner").name', "inner", 'An inner functions name is found.');
+		is('symbols.getSymbol("Foo-inner").memberOf', "Foo", 'It is member of the outer function.');
+		is('symbols.getSymbol("Foo-inner").isInner', true, 'It is an inner function.');
+	}
+	,
+	function() {
+		symbolize({a:true, _: [SYS.pwd+"test/memberof_constructor.js"]});
+		
+		is('symbols.getSymbol("Circle#Tangent").name', "Tangent", 'Constructor set on prototype using @member has correct name.');
+ 		is('symbols.getSymbol("Circle#Tangent").memberOf', "Circle", 'Constructor set on prototype using @member has correct memberOf.');
+ 		is('symbols.getSymbol("Circle#Tangent").alias', "Circle#Tangent", 'Constructor set on prototype using @member has correct alias.');
+ 		is('symbols.getSymbol("Circle#Tangent").isa', "CONSTRUCTOR", 'Constructor set on prototype using @member has correct isa.');
+		is('symbols.getSymbol("Circle#Tangent").isStatic', false, 'Constructor set on prototype using @member is not static.');
+		is('symbols.getSymbol("Circle#Tangent#getDiameter").name', "getDiameter", 'Method set on prototype using @member has correct name.');
+		is('symbols.getSymbol("Circle#Tangent#getDiameter").memberOf', "Circle#Tangent", 'Method set on prototype using @member has correct memberOf.');
+		is('symbols.getSymbol("Circle#Tangent#getDiameter").alias', "Circle#Tangent#getDiameter", 'Method set on prototype using @member has correct alias.');
+		is('symbols.getSymbol("Circle#Tangent#getDiameter").isa', "FUNCTION", 'Method set on prototype using @member has correct isa.');
+		is('symbols.getSymbol("Circle#Tangent#getDiameter").isStatic', false, 'Method set on prototype using @member is not static.');
+	}
+	,
+	function() {
+		symbolize({a:true, p: true,  _: [SYS.pwd+"test/memberof.js"]});
+		
+		is('symbols.getSymbol("pack.install").alias', "pack.install", 'Using @memberOf sets alias, when parent name is in memberOf tag.');
+		is('symbols.getSymbol("pack.install.overwrite").name', "install.overwrite", 'Using @memberOf sets name, even if the name is dotted.');
+		is('symbols.getSymbol("pack.install.overwrite").memberOf', "pack", 'Using @memberOf sets memberOf.');
+ 		is('symbols.getSymbol("pack.install.overwrite").isStatic', true, 'Using @memberOf with value not ending in octothorp sets isStatic to true.');
+	}
+	,
+	function() {
+		symbolize({a:true, p: true,  _: [SYS.pwd+"test/memberof2.js"]});
+		
+		is('symbols.getSymbol("Foo#bar").alias', "Foo#bar", 'An inner function can be documented as an instance method.');
+		is('symbols.getSymbol("Foo.zip").alias', "Foo.zip", 'An inner function can be documented as a static method.');
+		is('symbols.getSymbol("Foo.Fiz").alias', "Foo.Fiz", 'An inner function can be documented as a static constructor.');
+		is('symbols.getSymbol("Foo.Fiz#fipple").alias', "Foo.Fiz#fipple", 'An inner function can be documented as a static constructor with a method.');
+		is('symbols.getSymbol("Foo#blat").alias', "Foo#blat", 'An global function can be documented as an instance method.');
+	}
+	,
+	function() {
+		symbolize({a:true, p: true,  _: [SYS.pwd+"test/memberof3.js"]});
+		
+		is('symbols.getSymbol("Foo#bar").alias', "Foo#bar", 'A virtual field can be documented as an instance method.');
+		is('symbols.getSymbol("Foo2#bar").alias', "Foo2#bar", 'A virtual field with the same name can be documented as an instance method.');
+	}
+	,
+	function() {
+		symbolize({a:true, p:true, _: [SYS.pwd+"test/borrows.js"]});
+
+		is('symbols.getSymbol("Layout").name', "Layout", 'Constructor can be found.');
+		is('symbols.getSymbol("Layout").hasMethod("init")', true, 'Constructor method name can be found.');
+		is('symbols.getSymbol("Layout").hasMember("orientation")', true, 'Constructor property name can be found.');
+		
+		is('symbols.getSymbol("Page").hasMethod("reset")', true, 'Second constructor method name can be found.');
+		is('symbols.getSymbol("Page").hasMember("orientation")', true, 'Second constructor borrowed property name can be found in properties.');
+		is('symbols.getSymbol("Page#orientation").memberOf', "Page", 'Second constructor borrowed property memberOf can be found.');
+		is('symbols.getSymbol("Page-getInnerElements").alias', "Page-getInnerElements", 'Can borrow an inner function and it is still inner.');
+		is('symbols.getSymbol("Page.units").alias', "Page.units", 'Can borrow a static function and it is still static.');
+		
+		is('symbols.getSymbol("ThreeColumnPage#init").alias', "ThreeColumnPage#init", 'Third constructor method can be found even though method with same name is borrowed.');
+		is('symbols.getSymbol("ThreeColumnPage#reset").alias', "ThreeColumnPage#reset", 'Borrowed method can be found.');
+		is('symbols.getSymbol("ThreeColumnPage#orientation").alias', "ThreeColumnPage#orientation", 'Twice borrowed method can be found.');
+	
+	}
+	,
+	function() {
+		symbolize({a:true, p:true, _: [SYS.pwd+"test/borrows2.js"]});
+
+		is('symbols.getSymbol("Foo").hasMethod("my_zop")', true, 'Borrowed method can be found.');		
+		is('symbols.getSymbol("Bar").hasMethod("my_zip")', true, 'Second borrowed method can be found.');
+	}
+	,
+	function() {
+		symbolize({a:true, p:true, _: [SYS.pwd+"test/constructs.js"]});
+
+		is('symbols.getSymbol("Person").hasMethod("say")', true, 'The constructs tag creates a class that lends can add a method to.');		
+	}
+	,
+	function() {
+		symbolize({a: true, _: [SYS.pwd+"test/augments.js", SYS.pwd+"test/augments2.js"]});
+		
+		is('symbols.getSymbol("Page").augments[0]', "Layout", 'An augmented class can be found.');
+		is('symbols.getSymbol("Page#reset").alias', "Page#reset", 'Method of augmenter can be found.');
+		is('symbols.getSymbol("Page").hasMethod("Layout#init")', true, 'Method from augmented can be found.');
+		is('symbols.getSymbol("Page").hasMember("Layout#orientation")', true, 'Property from augmented can be found.');
+		is('symbols.getSymbol("Page").methods.length', 3, 'Methods of augmented class are included in methods array.');
+	
+		is('symbols.getSymbol("ThreeColumnPage").augments[0]', "Page", 'The extends tag is a synonym for augments.');
+		is('symbols.getSymbol("ThreeColumnPage").hasMethod("ThreeColumnPage#init")', true, 'Local method overrides augmented method of same name.');
+		is('symbols.getSymbol("ThreeColumnPage").methods.length', 3, 'Local method count is right.');
+		
+		is('symbols.getSymbol("NewsletterPage").augments[0]', "ThreeColumnPage", 'Can augment across file boundaries.');
+		is('symbols.getSymbol("NewsletterPage").augments.length', 2, 'Multiple augments are supported.');
+		is('symbols.getSymbol("NewsletterPage").inherits[0].alias', "Junkmail#annoy", 'Inherited method with augments.');
+		is('symbols.getSymbol("NewsletterPage").methods.length', 6, 'Methods of augmented class are included in methods array across files.');
+		is('symbols.getSymbol("NewsletterPage").properties.length', 1, 'Properties of augmented class are included in properties array across files.');
+	}
+	,
+	function() {
+		symbolize({a:true, _: [SYS.pwd+"test/static_this.js"]});
+		
+		is('symbols.getSymbol("box.holder").name', "holder", 'Static namespace name can be found.');
+		is('symbols.getSymbol("box.holder.foo").name', "foo", 'Static namespace method name can be found.');
+		is('symbols.getSymbol("box.holder").isStatic', true, 'Static namespace method is static.');
+		
+		is('symbols.getSymbol("box.holder.counter").name', "counter", 'Instance namespace property name set on "this" can be found.');
+		is('symbols.getSymbol("box.holder.counter").alias', "box.holder.counter", 'Instance namespace property alias set on "this" can be found.');
+		is('symbols.getSymbol("box.holder.counter").memberOf', "box.holder", 'Static namespace property memberOf set on "this" can be found.');
+	}
+	,
+	function() {
+		symbolize({a:true, p: true, _: [SYS.pwd+"test/lend.js"]});
+
+		is('symbols.getSymbol("Person").name', "Person", 'Class defined in lend comment is found.');
+		is('symbols.getSymbol("Person").hasMethod("initialize")', true, 'Lent instance method name can be found.');
+		is('symbols.getSymbol("Person").hasMethod("say")', true, 'Second instance method can be found.');
+		is('symbols.getSymbol("Person#sing").isStatic', false, 'Instance method is known to be not static.');
+		
+		is('symbols.getSymbol("Person.getCount").name', "getCount", 'Static method name from second lend comment can be found.');
+		is('symbols.getSymbol("Person.getCount").isStatic', true, 'Static method from second lend comment is known to be static.');
+	
+		is('LOG.warnings.filter(function($){if($.indexOf("notok") > -1) return $}).length', 1, 'A warning is emitted when lending to an undocumented parent.');
+	}
+	,
+	function() {
+		symbolize({a:true, _: [SYS.pwd+"test/param_inline.js"]});
+	
+		is('symbols.getSymbol("Layout").params[0].type', "int", 'Inline param name is set.');
+		is('symbols.getSymbol("Layout").params[0].desc', "The number of columns.", 'Inline param desc is set from comment.');
+		is('symbols.getSymbol("Layout#getElement").params[0].name', "id", 'User defined param documentation takes precedence over parser defined.');
+		is('symbols.getSymbol("Layout#getElement").params[0].isOptional', true, 'Default for param is to not be optional.');
+		is('symbols.getSymbol("Layout#getElement").params[1].isOptional', false, 'Can mark a param as being optional.');
+		is('symbols.getSymbol("Layout#getElement").params[1].type', "number|string", 'Type of inline param doc can have multiple values.');
+		is('symbols.getSymbol("Layout#Canvas").params[0].type', "", 'Type can be not defined for some params.');
+		is('symbols.getSymbol("Layout#Canvas").params[2].type', "int", 'Type can be defined inline for only some params.');
+		is('symbols.getSymbol("Layout#rotate").params.length', 0, 'Docomments inside function sig is ignored without a param.');
+		is('symbols.getSymbol("Layout#init").params[2].type', "zoppler", 'Doc comment type overrides inline type for param with same name.');
+	}
+	,
+	function() {
+		symbolize({a: true, _: [SYS.pwd+"test/shared.js", SYS.pwd+"test/shared2.js"]});
+
+		is('symbols.getSymbol("Array#some").name', 'some', 'The name of a symbol in a shared section is found.');
+		is('symbols.getSymbol("Array#some").alias', 'Array#some', 'The alias of a symbol in a shared section is found.');
+		is('symbols.getSymbol("Array#some").desc', "Extension to builtin array.", 'A description can be shared.');
+		is('symbols.getSymbol("Array#filter").desc', "Extension to builtin array.\nChange every element of an array.", 'A shared description is appended.');
+		is('symbols.getSymbol("Queue").desc', "A first in, first out data structure.", 'A description is not shared when outside a shared section.');
+		is('symbols.getSymbol("Queue.rewind").alias', "Queue.rewind", 'Second shared tag can be started.');
+		is('symbols.getSymbol("startOver").alias', "startOver", 'Shared tag doesnt cross over files.');
+	}
+	,
+	function() {
+		symbolize({a: true, _: [SYS.pwd+"test/config.js"]});
+		is('symbols.getSymbol("Contact").params[0].name', 'person', 'The name of a param is found.');
+		is('symbols.getSymbol("Contact").params[1].name', 'person.name', 'The name of a param set with a dot name is found.');
+		is('symbols.getSymbol("Contact").params[2].name', 'person.age', 'The name of a second param set with a dot name is found.');
+		is('symbols.getSymbol("Contact").params[4].name', 'connection', 'The name of a param after config is found.');
+		
+		is('symbols.getSymbol("Family").params[0].name', 'persons', 'Another name of a param is found.');
+		is('symbols.getSymbol("Family").params[1].name', 'persons.Father', 'The name of a param+config is found.');
+		is('symbols.getSymbol("Family").params[2].name', 'persons.Mother', 'The name of a second param+config is found.');
+		is('symbols.getSymbol("Family").params[3].name', 'persons.Children', 'The name of a third param+config is found.');	
+	}
+	,
+	function() {
+		symbolize({a:true, p:true, _: [SYS.pwd+"test/ignore.js"]});
+		is('LOG.warnings.filter(function($){if($.indexOf("undocumented symbol Ignored") > -1) return $}).length', 1, 'A warning is emitted when documenting members of an ignored parent.');
+	}
+	,
+	function() {
+		symbolize({a:true, p:true, _: [SYS.pwd+"test/functions_anon.js"]});
+		is('symbols.getSymbol("a.b").alias', 'a.b', 'In anonymous constructor this is found to be the container object.');
+		is('symbols.getSymbol("a.f").alias', 'a.f', 'In anonymous constructor this can have a method.');
+		is('symbols.getSymbol("a.c").alias', 'a.c', 'In anonymous constructor method this is found to be the container object.');
+		is('symbols.getSymbol("g").alias', 'g', 'In anonymous function executed inline this is the global.');
+		is('symbols.getSymbol("bar2.p").alias', 'bar2.p', 'In named constructor executed inline this is the container object.');
+		is('symbols.getSymbol("module.pub").alias', 'module.pub', 'In parenthesized anonymous function executed inline function scoped variables arent documented.');
+	}
+	,
+	function() {
+		symbolize({a:true, p:true, _: [SYS.pwd+"test/oblit_anon.js"]});
+		is('symbols.getSymbol("opt").name', 'opt', 'Anonymous object properties are created.');
+		is('symbols.getSymbol("opt.conf.keep").alias', 'opt.conf.keep', 'Anonymous object first property is assigned to $anonymous.');
+		is('symbols.getSymbol("opt.conf.base").alias', 'opt.conf.base', 'Anonymous object second property is assigned to $anonymous.');
+	}
+	,
+	function() {
+		symbolize({a:true, p:true, _: [SYS.pwd+"test/params_optional.js"]});
+		is('symbols.getSymbol("Document").params.length', 3, 'Correct number of params are found when optional param syntax is used.');
+		is('symbols.getSymbol("Document").params[1].name', "id", 'Name of optional param is found.');
+		is('symbols.getSymbol("Document").params[1].isOptional', true, 'Optional param is marked isOptional.');
+		is('symbols.getSymbol("Document").params[2].name', "title", 'Name of optional param with default value is found.');
+		is('symbols.getSymbol("Document").params[2].isOptional', true, 'Optional param with default value is marked isOptional.');
+		is('symbols.getSymbol("Document").params[2].defaultValue', " This is untitled.", 'Optional param default value is found.');
+	}
+	,
+	function() {
+		symbolize({a:true, p:true, _: [SYS.pwd+"test/synonyms.js"]});
+		is('symbols.getSymbol("myObject.myFunc").type', 'function', 'Type can be set to function.');
+	}
+	,
+	function() {
+		symbolize({a:true, p:true, _: [SYS.pwd+"test/event.js"]});
+		is('symbols.getSymbol("Kitchen#event:cakeEaten").isEvent', true, 'Function with event prefix is an event.');
+		is('symbols.getSymbol("Kitchen#cakeEaten").isa', "FUNCTION", 'Function with same name as event isa function.');
+	}
+	,
+	function() {
+		symbolize({x:"js", a:true, _: [SYS.pwd+"test/scripts/"]});
+		is('JSDOC.JsDoc.srcFiles.length', 1, 'Only js files are scanned when -x=js.');
+	}
+	,
+	function() {
+		symbolize({x:"js", a:true, _: [SYS.pwd+"test/exports.js"]});
+		is('symbols.getSymbol("mxn.Map#doThings").name', 'doThings', 'Exports creates a documentation alias that can have methods.');
+	}
+	,
+	function() {
+		symbolize({p:true, a:true, _: [SYS.pwd+"test/module.js"]});
+		is('symbols.getSymbol("myProject.myModule.myPublicMethod").name', 'myPublicMethod', 'A function wrapped in parens can be recognized.');
+		is('symbols.getSymbol("myProject.myModule-myPrivateMethod").name', 'myPrivateMethod', 'A private method in the scope of a function wrapped in parens can be recognized.');
+		is('symbols.getSymbol("myProject.myModule-myPrivateVar").name', 'myPrivateVar', 'A private member in the scope of a function wrapped in parens can be recognized.');
+	}
+];
+
+//// run and print results
+print(testrun(testCases));
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/addon.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/addon.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/addon.js	(revision 505)
@@ -0,0 +1,24 @@
+String.prototype.reverse = function() {
+}
+
+String.prototype.reverse.utf8 = function() {
+}
+
+Function.count = function() {
+}
+
+/** @memberOf Function */
+Function.count.reset = function() {
+}
+
+/** @memberOf Function */
+count.getValue = function() {
+}
+
+/** @memberOf Function.prototype */
+getSig = function() {
+}
+
+/** @memberOf Function.prototype */
+Function.prototype.getProps = function() {
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/anon_inner.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/anon_inner.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/anon_inner.js	(revision 505)
@@ -0,0 +1,14 @@
+/**
+ * @name bar
+ * @namespace
+ */
+ 
+new function() {
+    /**
+     * @name bar-foo
+     * @function
+     * @param {number} x
+     */
+    function foo(x) {
+    }
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/augments.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/augments.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/augments.js	(revision 505)
@@ -0,0 +1,31 @@
+/**
+@constructor
+*/
+function Layout(p) {
+	this.init = function(p) {
+	}
+	
+	this.getId = function() {
+	}
+	
+	/** @type Page */
+	this.orientation = "landscape";
+}
+
+/**
+@constructor
+@augments Layout
+*/
+function Page() {
+	this.reset = function(b) {
+	}
+}
+
+/**
+@extends Page
+@constructor
+*/
+function ThreeColumnPage() {
+	this.init = function(resetCode) {
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/augments2.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/augments2.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/augments2.js	(revision 505)
@@ -0,0 +1,26 @@
+/**
+@constructor
+*/
+function LibraryItem() {
+	this.reserve = function() {
+	}
+}
+
+/**
+@constructor
+*/
+function Junkmail() {
+	this.annoy = function() {
+	}
+}
+
+/**
+@inherits Junkmail.prototype.annoy as pester
+@augments ThreeColumnPage
+@augments LibraryItem
+@constructor
+*/
+function NewsletterPage() {
+	this.getHeadline = function() {
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/borrows.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/borrows.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/borrows.js	(revision 505)
@@ -0,0 +1,46 @@
+/**
+@constructor
+*/
+function Layout(p) {
+	/** initilize 1 */
+	this.init = function(p) {
+	}
+	
+	/** get the id */
+	this.getId = function() {
+	}
+	
+	/** @type string */
+	this.orientation = "landscape";
+	
+	function getInnerElements(elementSecretId){
+	}
+}
+
+/** A static method. */
+Layout.units = function() {
+}
+
+/**
+@constructor
+@borrows Layout#orientation
+@borrows Layout-getInnerElements
+@borrows Layout.units
+*/
+function Page() {
+	/** reset the page */
+	this.reset = function(b) {
+	}
+}
+
+/**
+@constructor
+@borrows Layout.prototype.orientation as this.orientation
+@borrows Layout.prototype.init as #init
+@inherits Page.prototype.reset as #reset
+*/
+function ThreeColumnPage() {
+	/** initilize 2 */
+	this.init = function(p) {
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/borrows2.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/borrows2.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/borrows2.js	(revision 505)
@@ -0,0 +1,23 @@
+// testing circular borrows
+
+/**
+	@class
+	@borrows Bar#zop as this.my_zop
+*/
+function Foo() {
+	/** this is a zip. */
+	this.zip = function() {}
+	
+	this.my_zop = new Bar().zop;
+}
+
+/**
+	@class
+	@borrows Foo#zip as this.my_zip
+*/
+function Bar() {
+	/** this is a zop. */
+	this.zop = function() {}
+	
+	this.my_zip = new Foo().zip;
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/config.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/config.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/config.js	(revision 505)
@@ -0,0 +1,22 @@
+/**
+ * @constructor
+ * @param person The person.
+ * @param {string} person.name The person's name.
+ * @config {integer} age The person's age.
+ * @config [id=1] Optional id number to use.
+ * @param connection
+ */
+function Contact(person, connection) {
+
+}
+
+/**
+ * @constructor
+ * @param persons
+ * @config {string} Father The paternal person.
+ * @config {string} Mother The maternal person.
+ * @config {string[]} Children And the rest.
+ */
+function Family(/**Object*/persons) {
+
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/constructs.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/constructs.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/constructs.js	(revision 505)
@@ -0,0 +1,18 @@
+var Person = makeClass(
+    /**
+      @scope Person
+    */
+    {
+        /**
+        	This is just another way to define a constructor.
+        	@constructs
+        	@param {string} name The name of the person.
+         */
+        initialize: function(name) {
+            this.name = name;
+        },
+        say: function(message) {
+            return this.name + " says: " + message;
+        }
+    }
+);
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/encoding.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/encoding.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/encoding.js	(revision 505)
@@ -0,0 +1,11 @@
+
+/**
+ * @Constructor
+ * @desc é
+çœ®æä»¶
+ * @class ä»ä¹ä¹äžè¿å
+ */
+function Test(conf) {
+    // do something;
+}
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/encoding_other.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/encoding_other.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/encoding_other.js	(revision 505)
@@ -0,0 +1,12 @@
+
+/**
+ * @Constructor
+ * @desc ðïîÛ
+ * @class ßàáâãäåæçèçìëêíîï °±²³Žµ¡¶·ž¹
+ */
+function Test(conf) {
+    // do something;
+}
+
+// run with commanline option -e=iso-8859-5
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/event.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/event.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/event.js	(revision 505)
@@ -0,0 +1,54 @@
+/**
+ * @name Kitchen
+ * @constructor
+ * @fires Bakery#event:donutOrdered
+ */
+
+/**
+ * Fired when some cake is eaten.
+ * @name Kitchen#event:cakeEaten
+ * @function
+ * @param {Number} pieces The number of pieces eaten.
+ */
+
+/**
+ * Find out if cake was eaten.
+ * @name Kitchen#cakeEaten
+ * @function
+ * @param {Boolean} wasEaten
+ */
+
+/**
+ * @name getDesert
+ * @function
+ * @fires Kitchen#event:cakeEaten
+ */
+ 
+/**
+ * @name Bakery
+ * @constructor
+ * @extends Kitchen
+ */
+
+/**
+ * Fired when a donut order is made.
+ * @name Bakery#event:donutOrdered
+ * @event
+ * @param {Event} e The event object.
+ * @param {String} [e.topping] Optional sprinkles.
+ */
+
+/**
+ * @constructor
+ * @borrows Bakery#event:donutOrdered as this.event:cakeOrdered
+ */
+function CakeShop() {
+}
+
+/** @event */
+CakeShop.prototype.icingReady = function(isPink) {
+}
+
+/** @event */
+function amHungry(/**Boolean*/enoughToEatAHorse) {
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/exports.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/exports.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/exports.js	(revision 505)
@@ -0,0 +1,14 @@
+/** @namespace */
+var mxn = {};
+
+(function(){ 
+    /** @exports Map as mxn.Map */
+    var Map =
+        /** @constructor */
+        mxn.Map = function() {
+        };
+    
+    /** A method. */
+    Map.prototype.doThings = function() {
+    };
+})();
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/functions_anon.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/functions_anon.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/functions_anon.js	(revision 505)
@@ -0,0 +1,39 @@
+/** an anonymous constructor executed inline */
+a = new function() {
+	/** a.b*/
+    this.b = 1;
+    /** a.f */
+    this.f = function() {
+    	/** a.c */
+    	this.c = 2;
+    }
+}
+
+
+/**
+	named function executed inline
+*/
+bar1 = function Zoola1() {
+	/** property of global */
+	this.g = 1;
+}();
+
+/**
+	named constructor executed inline
+*/
+bar2 = new function Zoola2() {
+	/** property of bar */
+	this.p = 1;
+};
+
+/** module pattern */
+module = (function () {
+	/** won't appear in documentation */
+	var priv = 1;
+	
+	/** @scope module */
+	return {
+		/** will appear as a property of module */
+		pub: 1
+	}
+})();
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/functions_nested.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/functions_nested.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/functions_nested.js	(revision 505)
@@ -0,0 +1,33 @@
+/** @constructor */
+function Zop() {
+}
+
+/**
+ @class
+*/
+Foo = function(id) {
+	// this is a bit twisted, but if you call Foo() you will then
+	// modify Foo(). This is kinda, sorta non-insane, because you
+	// would have to call Foo() 100% of the time to use Foo's methods
+	Foo.prototype.methodOne = function(bar) {
+	  alert(bar);
+	};
+	
+	// same again
+	Foo.prototype.methodTwo = function(bar2) {
+	  alert(bar2);
+	};
+	
+	// and these are only executed if the enclosing function is actually called
+	// and who knows if that will ever happen?
+	Bar = function(pez) {
+	  alert(pez);
+	};
+	Zop.prototype.zap = function(p){
+		alert(p);
+	};
+	
+	// but this is only visible inside Foo
+	function inner() {
+	}
+};
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/global.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/global.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/global.js	(revision 505)
@@ -0,0 +1,13 @@
+/** ecks */
+var x = [1, 2, 4];
+
+var y = {
+	foo: function(){
+	}
+}
+
+bar = function() {
+}
+
+function zop() {
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/globals.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/globals.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/globals.js	(revision 505)
@@ -0,0 +1,25 @@
+function example(/**Circle*/a, b) {
+	/** a global defined in function  */
+	var number = a;
+	
+	var hideNumber = function(){
+	}
+	
+	setNumber = function(){
+	}
+	alert('You have chosen: ' + b);
+}
+
+function initPage() {
+	var supported = document.createElement && document.getElementsByTagName;
+	if (!supported) return;
+	// start of DOM script
+	var x = document.getElementById('writeroot');
+	// etc.
+}
+
+/** an example var */
+var document = new Document(x, y);
+
+var getNumber = function(){
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/ignore.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/ignore.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/ignore.js	(revision 505)
@@ -0,0 +1,10 @@
+/**
+ * A test constructor.
+ * @constructor
+ * @ignore
+ */
+function Ignored() {
+	/** a method */
+    this.bar = function() {
+    }
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/inner.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/inner.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/inner.js	(revision 505)
@@ -0,0 +1,16 @@
+/**
+ * @constructor
+ */
+function Outer() {
+  /**
+   * @constructor
+   */
+  function Inner(name) {
+    /** The name of this. */
+    this.name = name;
+  }
+
+  this.open = function(name) {
+    return (new Inner(name));
+  }
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/jsdoc_test.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/jsdoc_test.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/jsdoc_test.js	(revision 505)
@@ -0,0 +1,477 @@
+/** 
+ * @fileoverview This file is to be used for testing the JSDoc parser
+ * It is not intended to be an example of good JavaScript OO-programming,
+ * nor is it intended to fulfill any specific purpose apart from 
+ * demonstrating the functionality of the 
+ * <a href='http://sourceforge.net/projects/jsdoc'>JSDoc</a> parser
+ *
+ * @author Gabriel Reid gab_reid@users.sourceforge.net
+ * @version 0.1 
+ */
+
+
+/**
+ * Construct a new Shape object.
+ * @class This is the basic Shape class.  
+ * It can be considered an abstract class, even though no such thing
+ * really existing in JavaScript
+ * @constructor
+ * @throws MemoryException if there is no more memory 
+ * @throws GeneralShapeException rarely (if ever)
+ * @return {Shape|Coordinate} A new shape.
+ */
+function Shape(){
+  
+   /**
+    * This is an example of a function that is not given as a property
+    * of a prototype, but instead it is assigned within a constructor.
+    * For inner functions like this to be picked up by the parser, the
+    * function that acts as a constructor <b>must</b> be denoted with
+    * the <b>&#64;constructor</b> tag in its comment.
+    * @type String
+    */
+   this.getClassName = function(){
+      return "Shape";
+   }
+
+   /** 
+    * This is an inner method, just used here as an example
+    * @since version 0.5
+    * @author Sue Smart
+    */
+   function addReference(){
+       // Do nothing...
+   }
+   
+}
+
+/**
+ * Create a new Hexagon instance.
+ * @extends Shape
+ * @class Hexagon is a class that is a <i>logical</i> sublcass of 
+ * {@link Shape} (thanks to the <code>&#64;extends</code> tag), but in 
+ * reality it is completely unrelated to Shape.
+ * @param {int} sideLength The length of one side for the new Hexagon
+ * @example
+ * var h = new Hexagon(2);
+ * @example
+ * if (hasHex) {
+ *     hex   = new Hexagon(5);
+ *     color = hex.getColor();
+ * }
+ */
+function Hexagon(sideLength) {
+}
+
+
+/**
+ * This is an unattached (static) function that adds two integers together.
+ * @param {int} One The first number to add 
+ * @param {int} Two The second number to add 
+ * @author Gabriel Reid
+ * @deprecated So you shouldn't use it anymore! Use {@link Shape#getClassName} instead.
+ */
+function Add(One, Two){
+    return One + Two;
+}
+
+
+/**
+ * The color of this shape
+ * @type Color
+ */
+Shape.prototype.color = null;
+
+/**
+ * The border of this shape. 
+ * @field
+ * @type int
+ */
+Shape.prototype.border = function(){return border;};
+
+/*
+ * These are all the instance method implementations for Shape
+ */
+
+/**
+ * Get the coordinates of this shape. It is assumed that we're always talking
+ * about shapes in a 2D location here.
+ * @requires The {@link Shape} class
+ * @returns A Coordinate object representing the location of this Shape
+ * @type Coordinate[]
+ */
+Shape.prototype.getCoords = function(){
+   return this.coords;
+}
+
+/**
+ * Get the color of this shape.
+ * @see #setColor
+ * @see The <a href="http://example.com">Color</a> library.
+ * @link Shape
+ * @type Color
+ */
+Shape.prototype.getColor = function(){
+   return this.color;
+}
+
+/**
+ * Set the coordinates for this Shape
+ * @param {Coordinate} coordinates The coordinates to set for this Shape
+ */
+Shape.prototype.setCoords = function(coordinates){
+   this.coords = coordinates;
+}
+
+/**
+ * Set the color for this Shape
+ * @param {Color} color The color to set for this Shape
+ * @param other There is no other param, but it can still be documented if
+ *              optional parameters are used
+ * @throws NonExistantColorException (no, not really!)
+ * @see #getColor
+ */
+Shape.prototype.setColor = function(color){
+   this.color = color;
+}
+
+/**
+ * Clone this shape
+ * @returns A copy of this shape
+ * @type Shape
+ * @author Gabriel Reid
+ */
+Shape.prototype.clone = function(){
+   return new Shape();
+}
+
+/**
+ * Create a new Rectangle instance. 
+ * @class A basic rectangle class, inherits from Shape.
+ * This class could be considered a concrete implementation class
+ * @constructor
+ * @param {int} width The optional width for this Rectangle
+ * @param {int} height Thie optional height for this Rectangle
+ * @author Gabriel Reid
+ * @see Shape is the base class for this
+ * @augments Shape
+ * @hilited
+ */
+function Rectangle(width, // This is the width 
+                  height // This is the height
+                  ){
+   if (width){
+      this.width = width;
+      if (height){
+	 this.height = height;
+      }
+   }
+}
+
+
+/* Inherit from Shape */
+Rectangle.prototype = new Shape();
+
+/**
+ * Value to represent the width of the Rectangle.
+ * <br>Text in <b>bold</b> and <i>italic</i> and a 
+ * link to <a href="http://sf.net">SourceForge</a>
+ * @private
+ * @type int
+ */
+Rectangle.prototype.width = 0;
+
+/**
+ * Value to represent the height of the Rectangle
+ * @private
+ * @type int
+ */
+Rectangle.prototype.height = 0;
+
+/**
+ * Get the type of this object. 
+ * @type String
+ */
+Rectangle.prototype.getClassName= function(){
+    return "Rectangle";
+}
+
+/**
+ * Get the value of the width for the Rectangle
+ * @type int
+ * @see Rectangle#setWidth
+ */
+Rectangle.prototype.getWidth = function(){
+   return this.width;
+}
+
+/**
+ * Get the value of the height for the Rectangle.
+ * Another getter is the {@link Shape#getColor} method in the 
+ * {@link Shape} base class.  
+ * @return The height of this Rectangle
+ * @type int
+ * @see Rectangle#setHeight
+ */
+Rectangle.prototype.getHeight = function(){
+    return this.height;
+}
+
+/**
+ * Set the width value for this Rectangle.
+ * @param {int} width The width value to be set
+ * @see #setWidth
+ */
+Rectangle.prototype.setWidth = function(width){
+   this.width = width;
+}
+
+/**
+ * Set the height value for this Rectangle.
+ * @param {int} height The height value to be set
+ * @see #getHeight
+ */
+Rectangle.prototype.setHeight = function(height){
+   this.height = height;
+}
+
+/**
+ * Get the value for the total area of this Rectangle
+ * @return total area of this Rectangle
+ * @type int
+ */
+Rectangle.prototype.getArea = function(){
+   return width * height;
+}
+
+
+/**
+ * Create a new Square instance.
+ * @class A Square is a subclass of {@link Rectangle}
+ * @param {int} width The optional width for this Rectangle
+ * @param {int} height The optional height for this Rectangle
+ * @augments Rectangle
+ */
+function Square(width, height){
+   if (width){
+      this.width = width;
+      if (height){
+	 this.height = height;
+      }
+   } 
+   
+}
+
+/* Square is a subclass of Rectangle */
+Square.prototype = new Rectangle();
+
+/**
+ * Set the width value for this Shape.
+ * @param {int} width The width value to be set
+ * @see #getWidth
+ */
+Square.prototype.setWidth = function(width){
+   this.width = this.height = width;
+}
+
+/**
+ * Set the height value for this Shape 
+ * Sets the {@link Rectangle#height} attribute in the Rectangle.
+ * @param {int} height The height value to be set
+ */
+Square.prototype.setHeight = function(height){
+   this.height = this.width = height;
+}
+
+
+/**
+ * Create a new Circle instance based on a radius.
+ * @class Circle class is another subclass of Shape
+ * @extends Shape
+ * @param {int} radius The optional radius of this {@link Circle }
+ * @mixin Square.prototype.setWidth as this.setDiameter
+ */
+function Circle(radius){
+   if (radius) {
+      /** The radius of the this Circle. */
+      this.radius = radius;
+   }
+}
+
+/* Circle inherits from {@link Shape} */
+Circle.prototype = new Shape();
+
+/** 
+ * The radius value for this Circle 
+ * @private
+ * @type int
+ */
+Circle.prototype.radius = 0;
+
+/** 
+ * A very simple class (static) field that is also a constant
+ * @final
+ * @type float
+ */
+Circle.PI = 3.14;
+
+/**
+ * Get the radius value for this Circle
+ * @type int
+ * @see #setRadius
+ */
+Circle.prototype.getRadius = function(){
+   return this.radius;
+}
+
+/** 
+ * Set the radius value for this Circle
+ * @param {int} radius The {@link Circle#radius} value to set
+ * @see #getRadius
+ */
+Circle.prototype.setRadius = function(radius){
+   this.radius = radius;
+}
+
+/** 
+ * An example of a  class (static) method that acts as a factory for Circle
+ * objects. Given a radius value, this method creates a new Circle.
+ * @param {int} radius The radius value to use for the new Circle.
+ * @type Circle
+ */
+Circle.createCircle = function(radius){
+    return new Circle(radius);
+}
+
+
+/**
+ * Create a new Coordinate instance based on x and y grid data.
+ * @class Coordinate is a class that can encapsulate location information.
+ * @param {int} [x=0] The optional x portion of the Coordinate
+ * @param {int} [y=0] The optinal y portion of the Coordinate
+ */
+function Coordinate(x, y){
+   if (x){
+      this.x = x;
+      if (y){
+	 this.y = y;
+      }
+   }
+}
+
+/** 
+ * The x portion of the Coordinate 
+ * @type int
+ * @see #getX
+ * @see #setX
+ */
+Coordinate.prototype.x = 0;
+
+/** 
+ * The y portion of the Coordinate 
+ * @type int
+ * @see #getY
+ * @see #setY
+ */
+Coordinate.prototype.y = 0;
+
+/**
+ * Gets the x portion of the Coordinate.
+ * @type int
+ * @see #setX
+ */
+Coordinate.prototype.getX = function(){
+   return this.x;
+}
+
+/** 
+ * Get the y portion of the Coordinate.
+ * @type int
+ * @see #setY
+ */
+Coordinate.prototype.getY = function(){
+   return this.y;
+}
+
+/**
+ * Sets the x portion of the Coordinate.
+ * @param {int} x The x value to set
+ * @see #getX
+ */
+Coordinate.prototype.setX = function(x){
+   this.x = x;
+}
+
+/** 
+ * Sets the y portion of the Coordinate.
+ * @param {int} y The y value to set
+ * @see #getY
+ */
+Coordinate.prototype.setY = function(y){
+   this.y = y;
+}
+
+/**
+ * @class This class exists to demonstrate the assignment of a class prototype
+ * as an anonymous block.
+ */
+function ShapeFactory(){
+}
+
+ShapeFactory.prototype = {
+   /** 
+    * Creates a new {@link Shape} instance.
+    * @return A new {@link Shape}
+    * @type Shape
+    */
+   createShape: function(){
+      return new Shape();
+   }
+}
+
+/**
+ * An example of a singleton class
+ * @param ... Arguments represent {@link coordinate}s in the shape.
+ * @constructor
+ */
+MySingletonShapeFactory = function(){
+
+   /**
+    * Get the next {@link Shape}
+    * @type Shape
+    * @return A new {@link Shape}
+    */
+   this.getShape = function(){ 
+      return null; 
+   }
+
+}
+
+
+/** 
+ * Create a new Foo instance.
+ * @class This is the Foo class. It exists to demonstrate 'nested' classes.
+ * @constructor 
+ * @see Foo.Bar
+ */
+function Foo(){}
+
+/** 
+ * Creates a new instance of Bar.
+ * @class This class exists to demonstrate 'nested' classes.
+ * @constructor 
+ * @see Foo.Bar
+ */
+function Bar(){}
+
+/** 
+ * Nested class
+ * @constructor 
+ */
+Foo.Bar = function(){
+	/** The x. */ this.x = 2;
+}
+
+Foo.Bar.prototype = new Bar();
+/** The y. */ 
+Foo.Bar.prototype.y = '3';
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/lend.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/lend.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/lend.js	(revision 505)
@@ -0,0 +1,33 @@
+ /** @class  */
+var Person = Class.create(
+    /**
+      @lends Person.prototype
+    */
+    {
+      initialize: function(name) {
+            this.name = name;
+        },
+        say: function(message) {
+            return this.name + ': ' + message;
+        }
+    }
+ );
+
+/** @lends Person.prototype */
+{
+	/** like say but more musical */
+	sing: function(song) {
+	}
+}
+
+/** @lends Person */
+{
+	getCount: function() {
+	}
+}
+
+/** @lends Unknown.prototype */
+{
+	notok: function() {
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/memberof.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/memberof.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/memberof.js	(revision 505)
@@ -0,0 +1,19 @@
+/** @constructor */
+pack = function() {
+	this.init = function(){}
+	function config(){}
+}
+ 
+ pack.build = function(task) {};
+
+/** @memberOf pack */
+pack.install = function() {}
+
+/** @memberOf pack */
+pack.install.overwrite = function() {}
+
+/** @memberOf pack */
+clean = function() {}
+
+/** @memberOf pack-config */
+install = function() {};
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/memberof2.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/memberof2.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/memberof2.js	(revision 505)
@@ -0,0 +1,38 @@
+/**
+ * @constructor
+ */
+function Foo() {
+    /**
+    	@memberOf Foo.prototype
+    */
+    function bar(a, b) {
+    }
+    
+    /**
+    	@memberOf Foo
+    */
+    var zip = function(p, q) {
+    }
+    
+    /**
+    	@memberOf Foo
+    */
+    function zop( x,y ) {
+    }
+    
+    /**
+    	@memberOf Foo
+    	@constructor
+    */
+    function Fiz() {
+    	/** A method of Foo#Fiz. */
+    	this.fipple = function(fop){}
+    }
+}
+
+/**
+	@memberOf Foo#
+ */
+var blat = function() {
+
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/memberof3.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/memberof3.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/memberof3.js	(revision 505)
@@ -0,0 +1,33 @@
+/**
+* @name Foo
+* @class
+*/
+
+/**#@+
+* @memberOf Foo#
+* @field
+*/
+
+/**
+* @name bar
+* @type Object[]
+*/
+
+/**#@-*/
+
+/**
+* @name Foo2
+* @class
+*/
+
+/**#@+
+* @memberOf Foo2#
+* @field
+*/
+
+/**
+* @name bar
+* @type Object[]
+*/
+
+/**#@-*/
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/memberof_constructor.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/memberof_constructor.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/memberof_constructor.js	(revision 505)
@@ -0,0 +1,17 @@
+/** @constructor */
+function Circle(){}
+
+/**
+	@constructor
+	@memberOf Circle#
+ */
+Circle.prototype.Tangent = function(){};
+
+// renaming Circle#Tangent to Circle#Circle#Tangent
+
+/**
+	@memberOf Circle#Tangent#
+ */
+Circle.prototype.Tangent.prototype.getDiameter = function(){};
+
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/module.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/module.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/module.js	(revision 505)
@@ -0,0 +1,17 @@
+/** @namespace */
+myProject = myProject || {};
+
+/** @namespace */
+myProject.myModule = (function () {
+	/** describe myPrivateVar here */
+	var myPrivateVar = "";
+
+	var myPrivateMethod = function () {
+	}
+
+	/** @scope myProject.myModule */
+	return {
+		myPublicMethod: function () {
+		}
+	};
+})();
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/multi_methods.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/multi_methods.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/multi_methods.js	(revision 505)
@@ -0,0 +1,25 @@
+
+/**
+	Get the entire flavor.
+	@name flavor^3
+	@function
+	@returns {Object} The entire flavor hash.
+*/
+/**
+	Get a named flavor.
+	@name flavor^2
+	@function
+	@param {String} name The name of the flavor to get.
+	@returns {String} The value of that flavor.
+*/
+/**
+	Set the flavor.
+	@param {String} name The name of the flavor to set.
+	@param {String} value The value of the flavor.
+	@returns {String} The value of that flavor.
+*/
+function flavor(name, value) {
+	if (arguments.length > 1) flavor[name] = value;
+	else if (arguments.length == 1) return flavor[name];
+	else return flavor;
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/name.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/name.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/name.js	(revision 505)
@@ -0,0 +1,19 @@
+/**
+ @name Response
+ @class
+*/
+
+Response.prototype = {
+	/**
+	 @name Response#text
+	 @function
+	 @description
+		Gets the body of the response as plain text
+	 @returns {String}
+		Response as text
+	*/
+
+	text: function() {
+		return this.nativeResponse.responseText;
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/namespace_nested.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/namespace_nested.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/namespace_nested.js	(revision 505)
@@ -0,0 +1,23 @@
+/** 
+	@namespace This is the first namespace.
+*/
+ns1 = {};
+
+/** 
+	This is the second namespace.
+	@namespace
+*/
+ns1.ns2 = {};
+
+/**
+	This part of ns1.ns2
+	@constructor
+*/
+ns1.ns2.Function1 = function() {
+};
+
+ns1.staticFunction = function() {
+};
+
+/** A static field in a namespace. */
+ns1.ns2.staticField = 1;
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/nocode.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/nocode.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/nocode.js	(revision 505)
@@ -0,0 +1,13 @@
+/**#nocode+*/
+    /**
+      @name star
+      @function
+    */
+    function blahblah() {
+    
+    }
+/**#nocode-*/
+
+function yaddayadda() {
+
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/oblit_anon.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/oblit_anon.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/oblit_anon.js	(revision 505)
@@ -0,0 +1,20 @@
+/** the options */
+opt = Opt.get(
+	arguments, 
+	{
+	 d: "directory",
+	 c: "conf",
+	 "D[]": "define"
+	}
+);
+
+/** configuration */
+opt.conf = {
+	/** keep */
+	keep: true,
+	/** base */
+	base: getBase(this, {p: properties})
+}
+
+
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/overview.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/overview.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/overview.js	(revision 505)
@@ -0,0 +1,20 @@
+/**
+ * @overview This "library" contains a 
+ *               lot of classes and functions.
+ * @example
+ <pre>
+	var x (x < 1);
+	alert("This 'is' \"code\"");
+ </pre>
+ * @name My Cool Library
+ * @author 	Joe Smith jsmith@company.com
+ * @version 	0.1 
+ */
+ 
+/** 
+ * Gets the current foo 
+ * @param {String} fooId	The unique identifier for the foo.
+ * @return {Object}	Returns the current foo.
+ */
+function getFoo(fooID){
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/param_inline.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/param_inline.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/param_inline.js	(revision 505)
@@ -0,0 +1,37 @@
+/**
+	@constructor
+	@param columns The number of columns.
+*/
+function Layout(/**int*/columns){
+	/**
+		@param [id] The id of the element.
+		@param elName The name of the element.
+	*/
+	this.getElement = function(
+		/** string */ elName,
+		/** number|string */ id
+	) {
+	};
+	
+	/** 
+		@constructor
+	 */
+	this.Canvas = function(top, left, /**int*/width, height) {
+		/** Is it initiated yet? */
+		this.initiated = true;
+	}
+	
+	this.rotate = function(/**nothing*/) {
+	}
+	
+	/** 
+	@param x
+	@param y
+	@param {zoppler} z*/
+	this.init = function(x, y, /**abbler*/z) {
+		/** The xyz. */
+		this.xyz = x+y+z;
+		this.getXyz = function() {
+		}
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/params_optional.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/params_optional.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/params_optional.js	(revision 505)
@@ -0,0 +1,8 @@
+
+/**
+ * @param {Page[]} pages
+ * @param {number} [id] Specifies the id, if applicable.
+ * @param {String} [title = This is untitled.] Specifies the title.
+ */
+function Document(pages, id, title){
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/prototype.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/prototype.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/prototype.js	(revision 505)
@@ -0,0 +1,17 @@
+/** @constructor */
+function Article() {
+}
+
+Article.prototype.init = function(title) {
+	/** the instance title */
+	this.title = title;
+	
+	/** the static counter */
+	Article.counter = 1;
+}
+
+a = new Article();
+a.Init("my title");
+
+print(a.title);
+print(Article.counter);
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/prototype_nested.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/prototype_nested.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/prototype_nested.js	(revision 505)
@@ -0,0 +1,9 @@
+/** @constructor */
+function Word() {
+}
+
+Word.prototype.reverse = function() {
+}
+
+Word.prototype.reverse.utf8 = function() {
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/prototype_oblit.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/prototype_oblit.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/prototype_oblit.js	(revision 505)
@@ -0,0 +1,13 @@
+/** @constructor */
+function Article() {
+}
+
+Article.prototype = {
+	/** instance get title */
+	getTitle: function(){
+	}
+}
+
+/** static get title */
+Article.getTitle = function(){
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/prototype_oblit_constructor.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/prototype_oblit_constructor.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/prototype_oblit_constructor.js	(revision 505)
@@ -0,0 +1,24 @@
+/** @constructor */
+function Article() {
+}
+
+Article.prototype = {
+	/** @constructor */
+	Title: function(title) {
+		/** the value of the Title instance */
+		this.title = title;
+	},
+	
+	init: function(pages) {
+		/** the value of the pages of the Article instance */
+		this.pages = pages;
+	}
+}
+
+f = new Article();
+f.init("one two three");
+
+t = new f.Title("my title");
+
+print(f.pages);
+print(t.title);
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/public.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/public.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/public.js	(revision 505)
@@ -0,0 +1,10 @@
+/**@constructor*/
+function Foo() {
+	/**
+		@public
+		@static
+		@field
+	*/
+	var bar = function(x) {
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/scripts/code.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/scripts/code.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/scripts/code.js	(revision 505)
@@ -0,0 +1,5 @@
+/**
+	@class
+ */
+function thisiscode() {
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/scripts/notcode.txt
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/scripts/notcode.txt	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/scripts/notcode.txt	(revision 505)
@@ -0,0 +1,5 @@
+(This is not code)
+function foo(){{{{
+(
+!
+@
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/shared.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/shared.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/shared.js	(revision 505)
@@ -0,0 +1,42 @@
+
+/**
+ * Builtin object.
+ * @class
+ * @name Array
+ */
+ 
+/**#@+
+ * Extension to builtin array.
+ * @memberOf Array
+ * @method
+ */
+ 
+/**
+ * @returns Boolen if some array members...
+ */
+Array.prototype.some = function(){};
+
+/**
+ * Change every element of an array.
+ * @returns Filtered array copy.
+ */
+Array.prototype.filter = function(){};
+
+/**#@-*/
+
+
+/**
+ * A first in, first out data structure.
+ * @constructor
+ */
+Queue = function(){};
+
+/**#@+
+ * Extension to Queue.
+ * @memberOf Queue
+ */
+
+rewind = function(){
+}
+
+// should close automatically here.
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/shared2.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/shared2.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/shared2.js	(revision 505)
@@ -0,0 +1,2 @@
+startOver = function(){
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/shortcuts.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/shortcuts.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/shortcuts.js	(revision 505)
@@ -0,0 +1,22 @@
+// /**#=+
+//  * {
+//  *	'D': 'Date.prototype',
+//  *	'$N': 'Number'
+//  * }
+//  */
+// var D = Date.prototype,
+// $N = Number;
+// 
+// D.locale = function(){
+// };
+// 
+// /**
+// 	@return {string} The cardinal number string.
+// */
+// $N.nth = function(n){
+// };
+// 
+// LOAD.file = function(){
+// }
+// 
+// /**#=-*/
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/static_this.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/static_this.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/static_this.js	(revision 505)
@@ -0,0 +1,13 @@
+/** the parent */
+var box = {};
+
+/** @namespace */
+box.holder = {}
+
+box.holder.foo = function() {
+	/** the counter */
+	this.counter = 1;
+}
+
+box.holder.foo();
+print(box.holder.counter);
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/synonyms.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/synonyms.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/synonyms.js	(revision 505)
@@ -0,0 +1,31 @@
+/**
+	@class
+	@inherits Bar#zop as #my_zop
+*/
+function Foo() {
+	/** this is a zip. */
+	this.zip = function() {}
+	
+	/** from Bar */
+	this.my_zop = new Bar().zop;
+}
+
+/**
+	@class
+	@borrows Foo#zip as this.my_zip
+*/
+function Bar() {
+	/** this is a zop. */
+	this.zop = function() {}
+	
+	/** from Foo */
+	this.my_zip = new Foo().zip;
+}
+
+/** @namespace */
+var myObject = {
+	/**
+		@type function
+	*/
+	myFunc: getFunction()
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/tosource.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/tosource.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/tosource.js	(revision 505)
@@ -0,0 +1,23 @@
+/**
+ * @param {Object} object
+ * @return {string}
+ */
+function valueOf(object) {}
+
+/**
+ * @param {Object} object
+ * @return {string}
+ */
+function toString(object) {}
+
+/**
+ * @param {Object} object
+ * @return {string}
+ */
+function toSource(object) {}
+
+/**
+ * @param {Object} object
+ * @return {string}
+ */
+function constructor(object) {}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/variable_redefine.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/variable_redefine.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/app/test/variable_redefine.js	(revision 505)
@@ -0,0 +1,14 @@
+/** @constructor */
+function Foo() {
+	var bar = 1;
+	bar = 2; // redefining a private
+	
+	this.baz = 1;
+	baz = 2; // global
+	
+	/** a private */
+	var blap = {
+		/** in here */
+		tada: 1
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/changes.txt
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/changes.txt	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/changes.txt	(revision 505)
@@ -0,0 +1,124 @@
+== 2.4.0 ==
+
+  * Fixed bug that added mutiple symbols with the same name to docs.
+  * Added support for the -m option to suppress warnings for multiple docs.
+  * Added patch by brownsea42 to support quoted user variables on the command line. ( issue #281 )
+  * Fixed bug that sometimes caused links to events to be incorrect. ( issue #292 )
+  
+== 2.3.3 ==
+
+  * Fixed bug that made all fields declared with the @property tag static. ( issue #262 )
+  * Minor fix to better handle trailing slash on path to template (from jwmetrocat). ( issue #237 )
+  * Fix for @memberOf when applied to inner members. ( issue #264 )
+  * Fix for @memberOf when applied to symbols documented with @name. ( issue #260 )
+  * Applied patch from kunhualqk, fix for bug where @link to borrowed member did not resolve to parent class. ( issue #218 )
+  * Fix for @requires not linking back to the required class
+  * Added experimental support for @constructs to have an argument, the class name, when applied to a function assignment.
+  
+== 2.3.2 ==
+
+ * Minor update to the usage notes and corrected the version number displayed in the output.
+
+== 2.3.1 ==
+
+ * Fixed HTML typo in allfiles template. ( issue #228 )
+ * Modified template to display version information for classes.
+ * Modified template to better support multiple methods with the same name.
+ * Fixed bug that caused template to error when backtick characters appeared around class names.
+
+== 2.3.0 ==
+
+  * Added option -u, --unique to avoid bug that causes multiple symbols with names that differ only by case to overwrite each others output on case-insensitive filesystems. ( issue #162 )
+  * Fixed bug where {@links} in @deprecated tags did not resolve. ( issue #220 )
+  * Fixed bug that caused parens around a function to make it to be unrecognized. ( issue #213 )
+  * Fixed bug prevented explicit links to named anchors from working (thanks katgao.pku). ( issue #215 )
+  * Fixed bug that prevented full description from appearing in file overview. ( issue #224 )
+  
+== 2.2.1 ==
+
+  * Fixed bug with class template, where sorting of methods was accidentally removed (thanks dezfowler).
+  * Added missing test files for the @exports unit tests.
+
+== 2.2.0 ==
+
+  * Fixed bug that caused exception when given a folder containing non-js files, even with the x commandline option set to "js". ( issue #193 )
+  * Fixed typo in index template [patch submitted by olle]. ( issue #198 )
+  * Modified @borrows tag experimentally to allow for missing "as ..." clause.
+  * Added support for the @exports tag, to allow one symbol to be documented as another.
+  * Added support for the -S option to document code following the Secure Modules pattern.
+  
+== 2.1.0 ==
+
+  * Added support for the @event tag.
+  * Fixed bug that prevented the : character from appearing in symbol names.
+  * Fixed bug that prevented underscored symbols marked with @public being tagged as private. (issue #184 )
+  * Fixed bug that randomly affected the @memberOf tag when the name of the symbol did not include the parent name.
+  * Fixed bug that prevented templates that were not in the jsdoc-toolkit folder from being found. ( issue #176 )
+  * Added ability to check for trailing slash on template path. ( issue #177 )
+  * Modified classDesc so that it no longer is appended with the constructor desc.
+  * Fixed call to plugin onDocCommentSrc.
+  * Added missing support for inline doc comments for function return types. ( issue #189 )
+  * Added command line option -q, --quiet.
+  * Added command line option -E, --exclude. ( issue #143 )
+  * Added 2 more hooks for plugins. ( issue #163 )
+  * Added support for extending built-ins. ( issue #160 )
+  * Added "compact" option to JSDOC.JsPlate.prototype.process. ( issue #159 )
+  * @augments no longer documents static members as inherited. ( issue #138 )
+  * @link to a class now goes to the page for that class, not the constructor. ( issue #178 )
+  * Warnings of mismatched curly brace now include filename. ( issue #166 )
+  * Fixed bug affecting template paths loaded via a configuration file when the trailing slash is missing. ( issue #191 )
+  * Minor optimizations.
+
+== 2.0.2 ==
+
+  * Fixed bug that sometimes caused an example of division in the source code to be interpretted as a regex by the JsDoc Toolkit analyzer. ( issue #158 )
+  * Fixed a bug that prevented private variables marked as @public from appearing in the documentation. ( issue #161 )
+  * Fixed bug that prevented variable names with underscored properties from appearing in summaries. ( issue #173 )
+
+== 2.0.1 ==
+
+  * Fixed bug that prevented @fileOverview tag from being recognized.
+  * Added support for @fieldOf as a synonym for @field plus @memberOf.
+  * Added support for @name tag in a @fileOverview comment to control the displayed name of the file.
+  * Added support for multiple @example tags. ( issue #152 )
+  * Modified style sheet of jsdoc template to make more readable. ( issue #151 )
+  * Fixed bug that prevented @since documentation from displaying correctly when it appeared in a class. ( issue #150 )
+  * Fixed bug that caused inhertited properties to sometimes not resolve correctly. ( issue #144 )
+  * Modified so that trailing whitespace in @example is always trimmed. ( issue #153 )
+  * Added support for elseif to JsPlate. (hat tip to fredck)
+  * Added support for @location urls in the @overview comment to the jsdoc template.
+
+== Changes From Versions 1.4.0 to 2.0.0 ==
+
+  * Upgraded included version of Rhino from 1.6 to 1.7R1.
+  * Removed circular references in parsed documentation objects.
+  * Improved inheritance handling, now properties and events can be inherited same as methods.
+  * Improved handling of cross-file relationships, now having two related objects in separate files is not a problem.
+  * Improved ability to recognize membership of previously defined objects.
+  * Added ability to redefine parsing behavior with plugins.
+  * @methodOf is a synonym for @function and @memberOf.
+  * Added @default to document default values of members that are objects.
+  * Added ability to parse and refer to inner functions.
+  * Fixed bug that appeared when calling a method to set properties of the instance referred to by "this".
+  * Added ability to automatically create links to other symbols.
+  * New "jsdoc" template now produces fully W3C valid XHTML.
+  * Inline parameter type hint comments are now documented.
+  * Fixed error: Locally scoped variables (declared with var) no longer appear as global.
+  * It is now possible to run JsDoc Toolkit from any directory.
+  * Added support for inline {@link ...} tags.
+  * Added support for the -H command-line option to allow for custom content handlers.
+  * Tag names @inherits and @scope changed to @borrows and @lends.
+  ? Combining @constructor in a doclet with @lends now supported.
+  * Multiple @lend tags now supported.
+  * Added support for the @constructs tag, used inside a @lends block.
+  * Added support for the @constant tag.
+  * Fixed bug that prevented the use of [] as a default value.
+  * Added support for the @field tag.
+  * Added support for the @public tag (applied to inner functions).
+  * @namespace tag can now be applied to functions, not just object literals.
+  * Added support for the -s command line option to suppress source code output.
+  * Added new unit test framework.
+  * Underscored symbols are now treated as if they have a @private tag by default.
+  * Improved support for anonymous constructors.
+  * Added support for the nocode meta tag.
+  
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/conf/sample.conf
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/conf/sample.conf	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/conf/sample.conf	(revision 505)
@@ -0,0 +1,31 @@
+/*
+	This is an example of one way you could set up a configuration file to more
+	conveniently define some commandline options. You might like to do this if
+	you frequently reuse the same options. Note that you don't need to define
+	every option in this file, you can combine a configuration file with
+	additional options on the commandline if your wish.
+	
+	You would include this configuration file by running JsDoc Toolkit like so:
+	java -jar jsrun.jar app/run.js -c=conf/sample.conf
+
+*/
+
+{
+	// source files to use
+	_: ['app/test/jsdoc_test.js'],
+	
+	// document all functions, even uncommented ones
+	a: true,
+	
+	// including those marked @private
+	p: true,
+	
+	// some extra variables I want to include
+	D: {generatedBy: "Michael Mathews", copyright: "2008"},
+	
+	// use this directory as the output directory
+	d: "docs",
+	
+	// use this template
+	t: "templates/jsdoc"
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/java/build.xml
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/java/build.xml	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/java/build.xml	(revision 505)
@@ -0,0 +1,36 @@
+<project>
+   <target name="clean">
+        <delete dir="build"/>
+    </target>
+
+    <target name="compile">
+        <mkdir dir="build/classes"/>
+        <javac 
+         srcdir="src" destdir="build/classes"
+         classpath="./classes/js.jar"
+        />
+    </target>
+
+    <target name="jar">
+        <mkdir dir="build/jar"/>
+        <jar destfile="build/jar/jsrun.jar" basedir="build/classes">
+            <manifest>
+               <attribute name="Main-Class" value="JsRun"/>
+               <attribute name="Class-Path" value="./java/classes/js.jar"/>
+            </manifest>
+        </jar>
+    </target>
+    
+    <target name="debugjar">
+        <mkdir dir="build/jar"/>
+        <jar destfile="build/jar/jsdebug.jar" basedir="build/classes">
+            <manifest>
+               <attribute name="Main-Class" value="JsDebugRun"/>
+               <attribute name="Class-Path" value="./java/classes/js.jar"/>
+            </manifest>
+        </jar>
+    </target>
+
+    <target name="clean-build" depends="clean,compile,jar"/>
+    <target name="clean-debug" depends="clean,compile,debugjar"/>
+</project>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/java/build_1.4.xml
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/java/build_1.4.xml	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/java/build_1.4.xml	(revision 505)
@@ -0,0 +1,36 @@
+<project default="clean-build"><!-- use this build script if you are stuck with ant version 1.4 -->
+   <target name="clean">
+        <delete dir="build"/>
+    </target>
+
+    <target name="compile">
+        <mkdir dir="build/classes"/>
+        <javac 
+         srcdir="src" destdir="build/classes"
+         classpath="./classes/js.jar"
+        />
+    </target>
+
+    <target name="jar">
+        <mkdir dir="build/jar"/>
+        <jar jarfile="build/jar/jsrun.jar" basedir="build/classes">
+            <manifest>
+               <attribute name="Main-Class" value="JsRun"/>
+               <attribute name="Class-Path" value="./java/classes/js.jar"/>
+            </manifest>
+        </jar>
+    </target>
+    
+    <target name="debugjar">
+        <mkdir dir="build/jar"/>
+        <jar jarfile="build/jar/jsdebug.jar" basedir="build/classes">
+            <manifest>
+               <attribute name="Main-Class" value="JsDebugRun"/>
+               <attribute name="Class-Path" value="./java/classes/js.jar"/>
+            </manifest>
+        </jar>
+    </target>
+
+    <target name="clean-build" depends="clean,compile,jar"/>
+    <target name="clean-debug" depends="clean,compile,debugjar"/>
+</project>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/java/src/JsDebugRun.java
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/java/src/JsDebugRun.java	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/java/src/JsDebugRun.java	(revision 505)
@@ -0,0 +1,21 @@
+/**
+ * A trivial bootstrap class that simply adds the path to the
+ * .js file as an argument to the Rhino call. This little hack
+ * allows the code in the .js file to have access to it's own 
+ * path via the Rhino arguments object. This is necessary to 
+ * allow the .js code to find resource files in a location 
+ * relative to itself.
+ *
+ * USAGE: java -jar jsdebug.jar path/to/file.js
+ */
+public class JsDebugRun {
+	public static void main(String[] args) {
+		String[] jsargs = {"-j="+args[0]};
+		
+		String[] allArgs = new String[jsargs.length + args.length];
+		System.arraycopy(args, 0, allArgs, 0, args.length);
+		System.arraycopy(jsargs, 0, allArgs, args.length ,jsargs.length);
+
+		org.mozilla.javascript.tools.debugger.Main.main(allArgs);
+    }
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/java/src/JsRun.java
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/java/src/JsRun.java	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/java/src/JsRun.java	(revision 505)
@@ -0,0 +1,21 @@
+/**
+ * A trivial bootstrap class that simply adds the path to the
+ * .js file as an argument to the Rhino call. This little hack
+ * allows the code in the .js file to have access to it's own 
+ * path via the Rhino arguments object. This is necessary to 
+ * allow the .js code to find resource files in a location 
+ * relative to itself.
+ *
+ * USAGE: java -jar jsrun.jar path/to/file.js
+ */
+public class JsRun {
+	public static void main(String[] args) {
+		String[] jsargs = {"-j="+args[0]};
+		
+		String[] allArgs = new String[jsargs.length + args.length];
+		System.arraycopy(args, 0, allArgs, 0, args.length);
+		System.arraycopy(jsargs, 0, allArgs, args.length ,jsargs.length);
+
+		org.mozilla.javascript.tools.shell.Main.main(allArgs);
+    }
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/jsrun.sh
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/jsrun.sh	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/jsrun.sh	(revision 505)
@@ -0,0 +1,52 @@
+#!/bin/ksh
+
+# launcher script for jsdoc
+# Author: Avi Deitcher
+#
+# This program is released under the MIT License as follows:
+
+# Copyright (c) 2008-2009 Atomic Inc <avi@jsorm.com>
+#
+#Permission is hereby granted, free of charge, to any person
+#obtaining a copy of this software and associated documentation
+#files (the "Software"), to deal in the Software without
+#restriction, including without limitation the rights to use,
+#copy, modify, merge, publish, distribute, sublicense, and/or sell
+#copies of the Software, and to permit persons to whom the
+#Software is furnished to do so, subject to the following
+#conditions:
+##
+#The above copyright notice and this permission notice shall be
+#included in all copies or substantial portions of the Software.
+#
+#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+#EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+#OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+#NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+#HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+#WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+#FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+#OTHER DEALINGS IN THE SOFTWARE.
+#
+
+
+if [[ -n "$JSDOCDIR" ]]; then
+        _DOCDIR="-Djsdoc.dir=$JSDOCDIR"
+        _APPDIR="$JSDOCDIR/app"
+	_BASEDIR="$JSDOCDIR"
+else
+        _DOCDIR=""
+        _APPDIR="./app"
+	_BASEDIR="."
+fi
+
+if [[ -n "$JSDOCTEMPLATEDIR" ]]; then
+        _TDIR="-Djsdoc.template.dir=$JSDOCTEMPLATEDIR"
+else
+        _TDIR=""
+fi
+
+CMD="java $_DOCDIR $_TDIR -jar $_BASEDIR/jsrun.jar $_APPDIR/run.js $@"
+echo $CMD
+$CMD
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/.npmignore
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/.npmignore	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/.npmignore	(revision 505)
@@ -0,0 +1,1 @@
+.DS_Store
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/allclasses.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/allclasses.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/allclasses.tmpl	(revision 505)
@@ -0,0 +1,16 @@
+<h2>Classes</h2>
+<ul>
+  <for each="thisClass" in="data">
+    <li>{!
+      if (thisClass.alias == "_global_") {
+        output += "<em>"+new Link().toClass(thisClass.alias)+"</em>";
+      }
+      else {
+        output += new Link().toClass(thisClass.alias);
+      }
+    !}</li>
+  </for>
+</ul>
+
+<p class="class_index index_link"><span>&#x21A9;</span> {+new Link().toFile("index.html").withText("Class Index")+}</p>
+<p class="class_index index_link"><span>&#x21A9;</span> {+new Link().toFile("files.html").withText("File Index")+}</p>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/allfiles.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/allfiles.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/allfiles.tmpl	(revision 505)
@@ -0,0 +1,72 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
+  {! Link.base = ""; /* all generated links will be relative to this */ !}
+  
+  <title>JsDoc Reference - File Index</title>
+  <meta name="generator" content="JsDoc Toolkit" />
+
+  <link href="stylesheets/default.css" type="text/css" rel="stylesheet" media="all" />
+
+</head>
+
+<body id="file_index">
+  <div id="body_wrapper">
+    <div id="wrapper">
+      <div id="box">
+        <span id="blue_label"></span>
+        <div id="box_wrapper">
+
+          <div id="nav">
+            {+publish.classesIndex+}
+          </div>
+
+          <div id="content">
+            <h1>File Index</h1>
+            <div id="content_wrapper">
+
+              <for each="item" in="data">
+                <div class="module">
+
+
+                <h2>{+new Link().toSrc(item.alias).withText(item.name)+}</h2>
+                <if test="item.desc">{+resolveLinks(item.desc)+}</if>
+                <dl>
+                  <if test="item.author">
+                    <dt class="heading">Author:</dt>
+                    <dd>{+item.author+}</dd>
+                  </if>
+                  <if test="item.version">
+                    <dt class="heading">Version:</dt>
+                    <dd>{+item.version+}</dd>
+                  </if>
+                  {! var locations = item.comment.getTag('location').map(function($){return $.toString().replace(/(^\$ ?| ?\$$)/g, '').replace(/^HeadURL: https:/g, 'http:');}) !}
+                  <if test="locations.length">
+                    <dt class="heading">Location:</dt>
+                    <for each="location" in="locations">
+                      <dd><a href="{+location+}">{+location+}</a></dd>
+                    </for>
+                  </if>
+                </dl>
+              </div>
+              <hr />
+            </for>
+            </div><!-- #content_wrapper -->
+          </div><!-- #content -->
+          
+          <hr/>
+          
+        </div><!-- #box_wrapper -->
+      </div><!-- #box -->
+
+      <div id="footer">
+        <if test="JSDOC.opt.D.copyright">&copy;{+JSDOC.opt.D.copyright+}<br /></if>
+        Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
+      </div><!-- #footer -->
+
+    </div><!-- #wrapper -->
+  </div><!-- #body_wrapper -->
+</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/class.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/class.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/class.tmpl	(revision 505)
@@ -0,0 +1,675 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
+  {! Link.base = "../"; /* all generated links will be relative to this */ !}
+  
+  <title>JsDoc Reference - {+data.alias+}</title>
+  <meta name="generator" content="JsDoc Toolkit" />
+
+  <link href="../stylesheets/default.css" type="text/css" rel="stylesheet" media="all" />
+</head>
+
+<body id="class_detail">
+  <div id="body_wrapper">
+    <div id="wrapper">
+      <div id="box">
+        <span id="blue_label"></span>
+        <div id="box_wrapper">
+
+          <div id="nav">
+            {+publish.classesIndex+}
+          </div>
+
+          <div id="content">
+            <h1>
+              {!
+                var classType = "";
+
+                if (data.isBuiltin()) {
+                  classType += "Built-In ";
+                }
+
+                if (data.isNamespace) {
+                  if (data.is('FUNCTION')) {
+                    classType += "Function ";
+                  }
+                  classType += "Namespace ";
+                }
+                else {
+                  classType += "Class ";
+                }
+              !}
+              {+classType+}{+data.alias+}
+            </h1>
+            <div id="content_wrapper">
+
+                <if test="data.version">
+                  <p>
+                    Version
+                    {+ data.version +}.
+                  </p>
+                </if>
+                <if test="data.augments.length">
+                  <p>Extends
+                  {+
+                    data.augments
+                    .sort()
+                    .map(
+                    function($) { return new Link().toSymbol($); }
+                    )
+                    .join(", ")
+                  +}.
+                  </p>
+                </if>
+                
+                <p>
+                  {+resolveLinks(data.classDesc)+}
+                </p>
+                
+                <if test="!data.isBuiltin()">{# isn't defined in any file #}
+                  <p class="defined">
+                    Defined in: {+new Link().toSrc(data.srcFile)+}.
+                  </p>
+                </if>
+
+                <!-- ============================== constructor summary ==================== -->			
+                <if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
+                  <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class {+data.alias+}.">
+                    <caption>{+classType+}Summary</caption>
+                    <thead>
+                      <tr>
+                        <th scope="col">Constructor Attributes</th>
+                        <th scope="col">Constructor Name and Description</th>
+                      </tr>
+                    </thead>
+                    <tbody>
+                      <tr>
+                        <td class="attributes">{!
+                          if (data.isPrivate) output += "&lt;private&gt; ";
+                          if (data.isInner) output += "&lt;inner&gt; ";
+                          !}
+                          &nbsp;
+                        </td>
+                        <td class="nameDescription" {!if (data.comment.getTag("hilited").length){output += 'style="color: red"'}!}>
+                          <div class="fixedFont">
+                            <strong>{+ new Link().toSymbol(data.alias).inner('constructor')+}</strong><if test="classType != 'Namespace '">{+ makeSignature(data.params) +}</if>
+                          </div>
+                          <p class="description">{+resolveLinks(summarize(data.desc))+}</p>
+                        </td>
+                      </tr>
+                    </tbody>
+                  </table>
+                </if>
+
+                <!-- ============================== properties summary ===================== -->
+                <if test="data.properties.length">
+                  {! var ownProperties = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
+                  <if test="ownProperties.length">
+                    <table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class {+data.alias+}.">
+                      <caption>Field Summary</caption>
+                      <thead>
+                        <tr>
+                          <th scope="col">Field Attributes</th>
+                          <th scope="col">Field Name and Description</th>
+                        </tr>
+                      </thead>
+                      <tbody>
+                        <for each="member" in="ownProperties">
+                          <tr>
+                            <td class="attributes">{!
+                              if (member.isPrivate) output += "&lt;private&gt; ";
+                              if (member.isInner) output += "&lt;inner&gt; ";
+                              if (member.isStatic) output += "&lt;static&gt; ";
+                              if (member.isConstant) output += "&lt;constant&gt; ";
+                              !}
+                              &nbsp;
+                            </td>
+                            <td class="nameDescription">
+                              <div class="fixedFont">
+                                <if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><strong>{+new Link().toSymbol(member.alias).withText(member.name)+}</strong>
+                              </div>
+                              <p class="description">{+resolveLinks(summarize(member.desc))+}</p>
+                            </td>
+                          </tr>
+                        </for>
+                      </tbody>
+                    </table>
+                  </if>
+
+                  <if test="data.inheritsFrom.length">
+                    <dl class="inheritsList">
+                      {!
+                        var borrowedMembers = data.properties.filter(function($) {return $.memberOf != data.alias});
+                        var contributers = [];
+                        borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
+                        for (var i = 0, l = contributers.length; i < l; i++) {
+                          output +=
+                          "<dt>Fields borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
+                          +
+                          "<dd>" +
+                            borrowedMembers
+                            .filter(
+                            function($) { return $.memberOf == contributers[i] }
+                            )
+                            .sort(makeSortby("name"))
+                            .map(
+                            function($) { return new Link().toSymbol($.alias).withText($.name) }
+                            )
+                            .join(", ")
+                            +
+                            "</dd>";
+                          }
+                        !}
+                      </dl>
+                    </if>
+                  </if>
+
+                  <!-- ============================== methods summary ======================== -->
+                  <if test="data.methods.length">
+                    {! var ownMethods = data.methods.filter(function($){return $.memberOf == data.alias  && !$.isNamespace}).sort(makeSortby("name")); !}
+                    <if test="ownMethods.length">
+                      <table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class {+data.alias+}.">
+                        <caption>Method Summary</caption>
+                        <thead>
+                          <tr>
+                            <th scope="col">Method Attributes</th>
+                            <th scope="col">Method Name and Description</th>
+                          </tr>
+                        </thead>
+                        <tbody>
+                          <for each="member" in="ownMethods">
+                            <tr>
+                              <td class="attributes">{!
+                                if (member.isPrivate) output += "&lt;private&gt; ";
+                                if (member.isInner) output += "&lt;inner&gt; ";
+                                if (member.isStatic) output += "&lt;static&gt; ";
+                                !}
+                                &nbsp;
+                              </td>
+                                <td class="nameDescription">
+                                  <div class="fixedFont"><if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><strong>{+new Link().toSymbol(member.alias).withText(member.name.replace(/\^\d+$/, ''))+}</strong>{+makeSignature(member.params)+}
+                                  </div>
+                                  <p class="description">{+resolveLinks(summarize(member.desc))+}</p>
+                                </td>
+                              </tr>
+                            </for>
+                          </tbody>
+                        </table>
+                    </if>
+
+                    <if test="data.inheritsFrom.length">
+                      <dl class="inheritsList">
+                        {!
+                          var borrowedMembers = data.methods.filter(function($) {return $.memberOf != data.alias});
+                          var contributers = [];
+                          borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
+                          for (var i = 0, l = contributers.length; i < l; i++) {
+                            output +=
+                            "<dt>Methods borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
+                            +
+                            "<dd>" +
+                              borrowedMembers
+                              .filter(
+                              function($) { return $.memberOf == contributers[i] }
+                              )
+                              .sort(makeSortby("name"))
+                              .map(
+                              function($) { return new Link().toSymbol($.alias).withText($.name) }
+                              )
+                              .join(", ")
+                              +
+                              "</dd>";
+                            }
+
+                          !}
+                        </dl>
+                      </if>
+                    </if>
+                    
+                    <!-- ============================== events summary ======================== -->
+                    <if test="data.events.length">
+                      {! var ownEvents = data.events.filter(function($){return $.memberOf == data.alias  && !$.isNamespace}).sort(makeSortby("name")); !}
+                      <if test="ownEvents.length">
+                        <table class="summaryTable" cellspacing="0" summary="A summary of the events documented in the class {+data.alias+}.">
+                          <caption>Event Summary</caption>
+                          <thead>
+                            <tr>
+                              <th scope="col">Event Attributes</th>
+                              <th scope="col">Event Name and Description</th>
+                            </tr>
+                          </thead>
+                          <tbody>
+                            <for each="member" in="ownEvents">
+                              <tr>
+                                <td class="attributes">{!
+                                  if (member.isPrivate) output += "&lt;private&gt; ";
+                                  if (member.isInner) output += "&lt;inner&gt; ";
+                                  if (member.isStatic) output += "&lt;static&gt; ";
+                                  !}
+                                  &nbsp;
+                                </td>
+                                <td class="nameDescription">
+                                  <div class="fixedFont"><if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><strong>{+new Link().toSymbol(member.alias).withText(member.name)+}</strong>{+makeSignature(member.params)+}
+                                  </div>
+                                  <p class="description">{+resolveLinks(summarize(member.desc))+}</p>
+                                </td>
+                              </tr>
+                            </for>
+                          </tbody>
+                        </table>
+                      </if>
+                    
+                      <if test="data.inheritsFrom.length">
+                        <dl class="inheritsList">
+                          {!
+                            var borrowedMembers = data.events.filter(function($) {return $.memberOf != data.alias});
+                            var contributers = [];
+                            borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
+                            for (var i = 0, l = contributers.length; i < l; i++) {
+                              output +=
+                              "<dt>Events borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
+                              +
+                              "<dd>" +
+                                borrowedMembers
+                                .filter(
+                                function($) { return $.memberOf == contributers[i] }
+                                )
+                                .sort(makeSortby("name"))
+                                .map(
+                                function($) { return new Link().toSymbol($.alias).withText($.name) }
+                                )
+                                .join(", ")
+                                +
+                                "</dd>";
+                              }
+                            !}
+                            </dl>
+                          </if>
+                        </if>
+
+
+                        <!-- ============================== constructor details ==================== -->		
+                        <if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
+                          <div class="details"><a name="constructor"> </a>
+                            <div class="sectionTitle">
+                              {+classType+}Detail
+                            </div>
+                            
+                            <div class="module">
+                              
+                              <h2><strong>{!
+                                if (data.isPrivate) output += "&lt;private&gt; ";
+                                if (data.isInner) output += "&lt;inner&gt; ";
+                                !} 
+                                {+ data.alias +}<if test="classType != 'Namespace '">{+ makeSignature(data.params) +}</if></strong>
+                              </h2>
+
+                              <p class="description">
+                                {+resolveLinks(data.desc)+}
+                                <if test="data.author"><br /><em>Author: </em>{+data.author+}.</if>
+                              </p>
+
+                              <if test="data.example.length">
+                                <for each="example" in="data.example">
+                                  <pre class="code">{+example+}</pre>
+                                </for>
+                              </if>
+
+
+                              <if test="data.params.length">
+                                <dl class="detailList">
+                                  <dt class="heading">Parameters:</dt>
+                                  <for each="item" in="data.params">
+                                    <dt>
+                                      {+((item.type)?""+("<span class=\"fixedFont\">{"+(new Link().toSymbol(item.type)+"}</span> ")) : "")+} <strong>{+item.name+}</strong>
+                                      <if test="item.isOptional"><em>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></em></if>
+                                    </dt>
+                                    <dd>{+resolveLinks(item.desc)+}</dd>
+                                  </for>
+                                </dl>
+                              </if>
+                              <if test="data.deprecated">
+                                <dl class="detailList">
+                                  <dt class="heading">Deprecated:</dt>
+                                  <dt>
+                                    {+resolveLinks(data.deprecated)+}
+                                  </dt>
+                                </dl>
+                              </if>
+                              <if test="data.since">
+                                <dl class="detailList">
+                                  <dt class="heading">Since:</dt>
+                                  <dd>{+ data.since +}</dd>
+                                </dl>
+                              </if>
+                              <if test="data.exceptions.length">
+                                <dl class="detailList">
+                                  <dt class="heading">Throws:</dt>
+                                  <for each="item" in="data.exceptions">
+                                    <dt>
+                                      {+((item.type)?"<span class=\"fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <strong>{+item.name+}</strong>
+                                    </dt>
+                                    <dd>{+resolveLinks(item.desc)+}</dd>
+                                  </for>
+                                </dl>
+                              </if>
+                              <if test="data.returns.length">
+                                <dl class="detailList">
+                                  <dt class="heading">Returns:</dt>
+                                  <for each="item" in="data.returns">
+                                    <dd>{+((item.type)?"<span class=\"fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
+                                  </for>
+                                </dl>
+                              </if>
+                              <if test="data.requires.length">
+                                <dl class="detailList">
+                                  <dt class="heading">Requires:</dt>
+                                  <for each="item" in="data.requires">
+                                    <dd>{+ new Link().toSymbol(item) +}</dd>
+                                  </for>
+                                </dl>
+                              </if>
+                              <if test="data.see.length">
+                                <dl class="detailList">
+                                  <dt class="heading">See:</dt>
+                                  <for each="item" in="data.see">
+                                    <dd>{+ new Link().toSymbol(item) +}</dd>
+                                  </for>
+                                </dl>
+                              </if>
+
+                            </div>
+                          </div>
+                        </if>
+                          
+                        
+                        
+                        <!-- ============================== field details ========================== -->		
+                        <if test="defined(ownProperties) && ownProperties.length">
+                          <div class="sectionTitle">
+                            Field Detail
+                          </div>
+                          <for each="member" in="ownProperties">
+                            <div class="module">
+                            <a name="{+Link.symbolNameToLinkName(member)+}"> </a>
+                            <h2><span>{!
+                              if (member.isPrivate) output += "&lt;private&gt; ";
+                              if (member.isInner) output += "&lt;inner&gt; ";
+                              if (member.isStatic) output += "&lt;static&gt; ";
+                              if (member.isConstant) output += "&lt;constant&gt; ";
+                              !}</span>
+
+                              <if test="member.type"><span>{{+new Link().toSymbol(member.type)+}}</span></if>
+                              <if test="member.isStatic && member.memberOf != '_global_'"><span>{+member.memberOf+}.</span></if><strong>{+member.name+}</strong>
+
+                            </h2>
+                            <p class="description">
+                              {+resolveLinks(member.desc)+}
+                            </p>
+                              <if test="member.srcFile != data.srcFile">
+                                <p class="defined">
+                                Defined in:  {+new Link().toSrc(member.srcFile)+}.
+                                </p>
+                              </if>
+                              <if test="member.author"><br /><em>Author: </em>{+member.author+}.</if>
+
+                            <if test="member.example.length">
+                              <for each="example" in="member.example">
+                                <pre class="code">{+example+}</pre>
+                              </for>
+                            </if>
+
+                            <if test="member.deprecated">
+                              <dl class="detailList">
+                                <dt class="heading">Deprecated:</dt>
+                                <dt>
+                                  {+ resolveLinks(member.deprecated) +}
+                                </dt>
+                              </dl>
+                            </if>
+                            <if test="member.since">
+                              <dl class="detailList">
+                                <dt class="heading">Since:</dt>
+                                <dd>{+ member.since +}</dd>
+                              </dl>
+                            </if>
+                            <if test="member.see.length">
+                              <dl class="detailList">
+                                <dt class="heading">See:</dt>
+                                <for each="item" in="member.see">
+                                  <dd>{+ new Link().toSymbol(item) +}</dd>
+                                </for>
+                              </dl>
+                            </if>
+                            <if test="member.defaultValue">
+                              <dl class="detailList">
+                                <dt class="heading">Default Value:</dt>
+                                <dd>
+                                  {+resolveLinks(member.defaultValue)+}
+                                </dd>
+                              </dl>
+                            </if>
+
+                            </div>
+                          </for>
+                        </if>
+
+                        <!-- ============================== method details ========================= -->		
+                        <if test="defined(ownMethods) && ownMethods.length">
+                          <div class="sectionTitle">
+                            Method Detail
+                          </div>
+                          <for each="member" in="ownMethods">
+                            <div class="module">
+                            <a name="{+Link.symbolNameToLinkName(member)+}"> </a>
+                            <h2><span>{!
+                              if (member.isPrivate) output += "&lt;private&gt; ";
+                              if (member.isInner) output += "&lt;inner&gt; ";
+                              if (member.isStatic) output += "&lt;static&gt; ";
+                              !}</span>
+
+                              <if test="member.type"><span>{{+new Link().toSymbol(member.type)+}}</span></if>
+                              <if test="member.isStatic && member.memberOf != '_global_'"><span>{+member.memberOf+}.</span></if><strong>{+member.name.replace(/\^\d+$/, '')+}</strong>{+makeSignature(member.params)+}
+
+                            </h2>
+                            <p class="description">
+                              {+resolveLinks(member.desc)+}
+                            </p>
+                              <if test="member.srcFile != data.srcFile">
+                                <p class="defined">
+                                Defined in:  {+new Link().toSrc(member.srcFile)+}.
+                                </p>
+                              </if>
+                              <if test="member.author"><br /><em>Author: </em>{+member.author+}.</if>
+
+                            <if test="member.example.length">
+                              <for each="example" in="member.example">
+                                <pre class="code">{+example+}</pre>
+                              </for>
+                            </if>
+
+                            <if test="member.params.length">
+                              <dl class="detailList">
+                                <dt class="heading">Parameters:</dt>
+                                <for each="item" in="member.params">
+                                  <dt>
+                                    {+((item.type)?"<span class=\"fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}<strong>{+item.name+}</strong>
+                                    <if test="item.isOptional"><em>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></em></if>
+                                  </dt>
+                                  <dd>{+resolveLinks(item.desc)+}</dd>
+                                </for>
+                              </dl>
+                            </if>
+                            <if test="member.deprecated">
+                              <dl class="detailList">
+                                <dt class="heading">Deprecated:</dt>
+                                <dt>
+                                  {+ resolveLinks(member.deprecated) +}
+                                </dt>
+                              </dl>
+                            </if>
+                            <if test="member.since">
+                              <dl class="detailList">
+                                <dt class="heading">Since:</dt>
+                                <dd>{+ member.since +}</dd>
+                              </dl>
+                            </dl>
+                          </if>
+                          <if test="member.exceptions.length">
+                            <dl class="detailList">
+                              <dt class="heading">Throws:</dt>
+                              <for each="item" in="member.exceptions">
+                                <dt>
+                                  {+((item.type)?"<span class=\"fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <strong>{+item.name+}</strong>
+                                </dt>
+                                <dd>{+resolveLinks(item.desc)+}</dd>
+                              </for>
+                            </dl>
+                          </if>
+                          <if test="member.returns.length">
+                            <dl class="detailList">
+                              <dt class="heading">Returns:</dt>
+                              <for each="item" in="member.returns">
+                                <dd>{+((item.type)?"<span class=\"fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
+                              </for>
+                            </dl>
+                          </if>
+                          <if test="member.requires.length">
+                            <dl class="detailList">
+                              <dt class="heading">Requires:</dt>
+                              <for each="item" in="member.requires">
+                                <dd>{+ resolveLinks(item) +}</dd>
+                              </for>
+                            </dl>
+                          </if>
+                          <if test="member.see.length">
+                            <dl class="detailList">
+                              <dt class="heading">See:</dt>
+                              <for each="item" in="member.see">
+                                <dd>{+ new Link().toSymbol(item) +}</dd>
+                              </for>
+                            </dl>
+                          </if>
+                          </div>
+                        </for>
+                      </if>
+
+                      <!-- ============================== event details ========================= -->		
+                      <if test="defined(ownEvents) && ownEvents.length">
+                        <div class="sectionTitle">
+                          Event Detail
+                        </div>
+                        <for each="member" in="ownEvents">
+                          <div class="module">
+                          <a name="{+Link.symbolNameToLinkName(member)+}"> </a>
+                          <h2><span>{!
+                            if (member.isPrivate) output += "&lt;private&gt; ";
+                            if (member.isInner) output += "&lt;inner&gt; ";
+                            if (member.isStatic) output += "&lt;static&gt; ";
+                            !}</span>
+
+                            <if test="member.type"><span>{{+new Link().toSymbol(member.type)+}}</span></if>
+                            <if test="member.isStatic && member.memberOf != '_global_'"><span>{+member.memberOf+}.</span></if><strong>{+member.name+}</strong>{+makeSignature(member.params)+}
+
+                          </h2>
+                          <p class="description">
+                            {+resolveLinks(member.desc)+}
+                          </p>
+                          <if test="member.srcFile != data.srcFile">
+                            <p class="defined">
+                              Defined in:  {+new Link().toSrc(member.srcFile)+}.
+                            </p>
+                            </if>
+                            <if test="member.author"><br /><em>Author: </em>{+member.author+}.</if>
+
+                          <if test="member.example.length">
+                            <for each="example" in="member.example">
+                              <pre class="code">{+example+}</pre>
+                            </for>
+                          </if>
+
+                          <if test="member.params.length">
+                            <dl class="detailList">
+                              <dt class="heading">Parameters:</dt>
+                              <for each="item" in="member.params">
+                                <dt>
+                                  {+((item.type)?"<span class=\"fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}<strong>{+item.name+}</strong>
+                                  <if test="item.isOptional"><em>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></em></if>
+                                </dt>
+                                <dd>{+ resolveLinks(item.desc) +}</dd>
+                              </for>
+                            </dl>
+                          </if>
+                          <if test="member.deprecated">
+                            <dl class="detailList">
+                              <dt class="heading">Deprecated:</dt>
+                              <dt>
+                                {+ resolveLinks(member.deprecated) +}
+                              </dt>
+                            </dl>
+                          </if>
+                          <if test="member.since">
+                            <dl class="detailList">
+                              <dt class="heading">Since:</dt>
+                              <dd>{+ member.since +}</dd>
+                            </dl>
+                          </dl>
+                        </if>
+                        <if test="member.exceptions.length">
+                          <dl class="detailList">
+                            <dt class="heading">Throws:</dt>
+                            <for each="item" in="member.exceptions">
+                              <dt>
+                                {+((item.type)?"<span class=\"fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <strong>{+item.name+}</strong>
+                              </dt>
+                              <dd>{+ resolveLinks(item.desc) +}</dd>
+                            </for>
+                          </dl>
+                        </if>
+                        <if test="member.returns.length">
+                          <dl class="detailList">
+                            <dt class="heading">Returns:</dt>
+                            <for each="item" in="member.returns">
+                              <dd>{+((item.type)?"<span class=\"fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
+                            </for>
+                          </dl>
+                        </if>
+                        <if test="member.requires.length">
+                          <dl class="detailList">
+                            <dt class="heading">Requires:</dt>
+                            <for each="item" in="member.requires">
+                              <dd>{+ resolveLinks(item) +}</dd>
+                            </for>
+                          </dl>
+                        </if>
+                        <if test="member.see.length">
+                          <dl class="detailList">
+                            <dt class="heading">See:</dt>
+                            <for each="item" in="member.see">
+                              <dd>{+ new Link().toSymbol(item) +}</dd>
+                            </for>
+                          </dl>
+                        </if>
+                        </div>
+                      </for>
+                    </if>
+
+            </div><!-- #content_wrapper -->
+          </div><!-- #content -->
+          
+          <hr/>
+          
+        </div><!-- #box_wrapper -->
+      </div><!-- #box -->
+
+      <div id="footer">
+        <if test="JSDOC.opt.D.copyright">&copy;{+JSDOC.opt.D.copyright+}<br /></if>
+        Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
+      </div><!-- #footer -->
+
+    </div><!-- #wrapper -->
+  </div><!-- #body_wrapper -->
+</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/index.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/index.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/index.tmpl	(revision 505)
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
+
+  <title>JsDoc Reference - Index</title>
+  <meta name="generator" content="JsDoc Toolkit" />
+
+  <link href="stylesheets/default.css" type="text/css" rel="stylesheet" media="all" />
+</head>
+
+<body id="class_index">
+  <div id="body_wrapper">
+    <div id="wrapper">
+      <div id="box">
+        <span id="blue_label"></span>
+        <div id="box_wrapper">
+
+          <div id="nav">
+            {+publish.classesIndex+}
+          </div>
+
+          <div id="content">
+            <h1>Class Index</h1>
+            <div id="content_wrapper">
+
+              <for each="thisClass" in="data">
+                <div class="module">
+                  <h2>{+(new Link().toSymbol(thisClass.alias))+}</h2>
+                  {+resolveLinks(summarize(thisClass.classDesc))+}
+                </div>
+              </for>
+            </div><!-- #content_wrapper -->
+          </div><!-- #content -->
+          
+          <hr/>
+          
+        </div><!-- #box_wrapper -->
+      </div><!-- #box -->
+
+      <div id="footer">
+        <if test="JSDOC.opt.D.copyright">&copy;{+JSDOC.opt.D.copyright+}<br /></if>
+        Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
+      </div><!-- #footer -->
+
+    </div><!-- #wrapper -->
+  </div><!-- #body_wrapper -->
+</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/publish.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/publish.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/publish.js	(revision 505)
@@ -0,0 +1,215 @@
+/** Called automatically by JsDoc Toolkit. */
+function publish(symbolSet) {
+	publish.conf = {  // trailing slash expected for dirs
+		ext:         ".html",
+		outDir:      JSDOC.opt.d || SYS.pwd+"../out/jsdoc/",
+		templatesDir: JSDOC.opt.t || SYS.pwd+"../templates/jsdoc/",
+		stylesheetsDir:      "stylesheets/",
+		symbolsDir:  "symbols/",
+		srcDir:      "symbols/src/"
+	};
+	
+	// is source output is suppressed, just display the links to the source file
+	if (JSDOC.opt.s && defined(Link) && Link.prototype._makeSrcLink) {
+		Link.prototype._makeSrcLink = function(srcFilePath) {
+			return "&lt;"+srcFilePath+"&gt;";
+		}
+	}
+	
+	
+	// create the folders and subfolders to hold the output
+	IO.mkPath((publish.conf.outDir+"symbols/src").split("/"));
+	IO.mkPath((publish.conf.outDir+publish.conf.stylesheetsDir));
+	
+	// copy all the assets
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.stylesheetsDir+"default.css", publish.conf.outDir+"/"+publish.conf.stylesheetsDir);
+	
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.stylesheetsDir+"blue_label.gif", publish.conf.outDir+"/"+publish.conf.stylesheetsDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.stylesheetsDir+"body_noise.gif", publish.conf.outDir+"/"+publish.conf.stylesheetsDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.stylesheetsDir+"body_wrapper_noise.gif", publish.conf.outDir+"/"+publish.conf.stylesheetsDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.stylesheetsDir+"box_noise.gif", publish.conf.outDir+"/"+publish.conf.stylesheetsDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.stylesheetsDir+"box_wrapper_noise.gif", publish.conf.outDir+"/"+publish.conf.stylesheetsDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.stylesheetsDir+"title_bullet.gif", publish.conf.outDir+"/"+publish.conf.stylesheetsDir);
+	
+		
+	// used to allow Link to check the details of things being linked to
+	Link.symbolSet = symbolSet;
+
+	// create the required templates
+	try {
+		var classTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"class.tmpl");
+		var classesTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"allclasses.tmpl");
+	}
+	catch(e) {
+		print("Couldn't create the required templates: "+e);
+		quit();
+	}
+	
+	// some ustility filters
+	function hasNoParent($) {return ($.memberOf == "")}
+	function isaFile($) {return ($.is("FILE"))}
+	function isaClass($) {return ($.is("CONSTRUCTOR") || $.isNamespace)}
+	
+	// get an array version of the symbolset, useful for filtering
+	var symbols = symbolSet.toArray();
+	
+	// create the hilited source code files
+	var files = JSDOC.opt.srcFiles;
+ 	for (var i = 0, l = files.length; i < l; i++) {
+ 		var file = files[i];
+ 		var srcDir = publish.conf.outDir + "symbols/src/";
+		makeSrcFile(file, srcDir);
+ 	}
+ 	
+ 	// get a list of all the classes in the symbolset
+ 	var classes = symbols.filter(isaClass).sort(makeSortby("alias"));
+	
+	// create a filemap in which outfiles must be to be named uniquely, ignoring case
+	if (JSDOC.opt.u) {
+		var filemapCounts = {};
+		Link.filemap = {};
+		for (var i = 0, l = classes.length; i < l; i++) {
+			var lcAlias = classes[i].alias.toLowerCase();
+			
+			if (!filemapCounts[lcAlias]) filemapCounts[lcAlias] = 1;
+			else filemapCounts[lcAlias]++;
+			
+			Link.filemap[classes[i].alias] = 
+				(filemapCounts[lcAlias] > 1)?
+				lcAlias+"_"+filemapCounts[lcAlias] : lcAlias;
+		}
+	}
+	
+	// create a class index, displayed in the left-hand column of every class page
+	Link.base = "../";
+ 	publish.classesIndex = classesTemplate.process(classes); // kept in memory
+	
+	// create each of the class pages
+	for (var i = 0, l = classes.length; i < l; i++) {
+		var symbol = classes[i];
+		
+		symbol.events = symbol.getEvents();   // 1 order matters
+		symbol.methods = symbol.getMethods(); // 2
+		
+		Link.currentSymbol= symbol;
+		var output = "";
+		output = classTemplate.process(symbol);
+		
+		IO.saveFile(publish.conf.outDir+"symbols/", ((JSDOC.opt.u)? Link.filemap[symbol.alias] : symbol.alias) + publish.conf.ext, output);
+	}
+	
+	// regenerate the index with different relative links, used in the index pages
+	Link.base = "";
+	publish.classesIndex = classesTemplate.process(classes);
+	
+	// create the class index page
+	try {
+		var classesindexTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"index.tmpl");
+	}
+	catch(e) { print(e.message); quit(); }
+	
+	var classesIndex = classesindexTemplate.process(classes);
+	IO.saveFile(publish.conf.outDir, "index"+publish.conf.ext, classesIndex);
+	classesindexTemplate = classesIndex = classes = null;
+	
+	// create the file index page
+	try {
+		var fileindexTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"allfiles.tmpl");
+	}
+	catch(e) { print(e.message); quit(); }
+	
+	var documentedFiles = symbols.filter(isaFile); // files that have file-level docs
+	var allFiles = []; // not all files have file-level docs, but we need to list every one
+	
+	for (var i = 0; i < files.length; i++) {
+		allFiles.push(new JSDOC.Symbol(files[i], [], "FILE", new JSDOC.DocComment("/** */")));
+	}
+	
+	for (var i = 0; i < documentedFiles.length; i++) {
+		var offset = files.indexOf(documentedFiles[i].alias);
+		allFiles[offset] = documentedFiles[i];
+	}
+		
+	allFiles = allFiles.sort(makeSortby("name"));
+
+	// output the file index page
+	var filesIndex = fileindexTemplate.process(allFiles);
+	IO.saveFile(publish.conf.outDir, "files"+publish.conf.ext, filesIndex);
+	fileindexTemplate = filesIndex = files = null;
+}
+
+
+/** Just the first sentence (up to a full stop). Should not break on dotted variable names. */
+function summarize(desc) {
+	if (typeof desc != "undefined")
+		return desc.match(/([\w\W]+?\.)[^a-z0-9_$]/i)? RegExp.$1 : desc;
+}
+
+/** Make a symbol sorter by some attribute. */
+function makeSortby(attribute) {
+	return function(a, b) {
+		if (a[attribute] != undefined && b[attribute] != undefined) {
+			a = a[attribute].toLowerCase();
+			b = b[attribute].toLowerCase();
+			if (a < b) return -1;
+			if (a > b) return 1;
+			return 0;
+		}
+	}
+}
+
+/** Pull in the contents of an external file at the given path. */
+function include(path) {
+	var path = publish.conf.templatesDir+path;
+	return IO.readFile(path);
+}
+
+/** Turn a raw source file into a code-hilited page in the docs. */
+function makeSrcFile(path, srcDir, name) {
+	if (JSDOC.opt.s) return;
+	
+	if (!name) {
+		name = path.replace(/\.\.?[\\\/]/g, "").replace(/[\\\/]/g, "_");
+		name = name.replace(/\:/g, "_");
+	}
+	
+	var src = {path: path, name:name, charset: IO.encoding, hilited: ""};
+	
+	if (defined(JSDOC.PluginManager)) {
+		JSDOC.PluginManager.run("onPublishSrc", src);
+	}
+
+	if (src.hilited) {
+		IO.saveFile(srcDir, name+publish.conf.ext, src.hilited);
+	}
+}
+
+/** Build output for displaying function parameters. */
+function makeSignature(params) {
+	if (!params) return "()";
+	var signature = "("
+	+
+	params.filter(
+		function($) {
+			return $.name.indexOf(".") == -1; // don't show config params in signature
+		}
+	).map(
+		function($) {
+			return $.name;
+		}
+	).join(", ")
+	+
+	")";
+	return signature;
+}
+
+/** Find symbol {@link ...} strings in text and turn into html links */
+function resolveLinks(str, from) {
+	str = str.replace(/\{@link ([^} ]+) ?\}/gi,
+		function(match, symbolName) {
+			return new Link().toSymbol(symbolName);
+		}
+	);
+	
+	return str;
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/static/index.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/static/index.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/static/index.html	(revision 505)
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+	<title>Generated Javascript Documentation</title>
+</head>
+<frameset cols="20%,80%">
+	<frame src="allclasses-frame.html" name="packageFrame" />
+	<frame src="splash.html" name="classFrame" />
+	<noframes>
+		<body>
+		<p>
+		This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
+		</p>
+		</body>
+	</noframes>
+</frameset>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/stylesheets/default.css
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/stylesheets/default.css	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/stylesheets/default.css	(revision 505)
@@ -0,0 +1,237 @@
+html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
+  margin: 0;
+  padding: 0;
+  font-size: 100%;
+  vertical-align: baseline;
+  border: 0;
+  outline: 0;
+  background: transparent;
+}
+
+ol, ul {
+  list-style: none;
+}
+
+blockquote, q {
+  quotes: none;
+}
+
+table {
+  border-collapse: collapse;
+  border-spacing: 0;
+}
+
+body {
+  font-family: Arial, Helvetica, sans-serif;
+  font-size: x-small;
+  background: #DFE1E0 url("body_noise.gif");
+  color: #2D3438;
+  text-align: center;
+}
+
+a {
+  color: #006691;
+}
+
+hr {
+  display: block;
+  clear: both;
+  visibility: hidden;
+}
+
+h1 {
+  font-size: 2.5em;
+  font-weight: normal;
+  letter-spacing: -1px;
+  text-shadow: 0 1px 0 hsla(0, 0%, 0%, .1);
+  color: #262626;
+  border-bottom: 1px solid #D6D9D8;
+  padding: 0 0 10px 0;
+}
+
+dt {
+  display: block;
+  padding: 7px 0 3px 0;
+  font-weight: bold;
+}
+
+dd {
+  display: block;
+  padding: 0 0 0 15px;
+}
+
+#body_wrapper {
+  background: url("body_wrapper_noise.gif") repeat-x top;
+}
+
+#wrapper {
+  width: 950px;
+  margin: 0 auto;
+  padding: 25px 0;
+  text-align: left;
+}
+
+#box {
+  background: #F5F5F5 url("box_noise.gif");
+  border-top: 1px solid #DCDEDD;
+  border-left: 1px solid #D5D7D6;
+  border-right: 1px solid #D3D5D4;
+  border-bottom: 1px solid #CDCFCE;
+  font-size: 1.2em;
+}
+
+#box_wrapper {
+  padding: 35px 25px;
+  background-image: url("box_wrapper_noise.gif") repeat-x top;
+}
+
+#blue_label {
+  position: absolute;
+  display: block;
+  width: 16px;
+  height: 95px;
+  margin: 34px 0 0 -16px;
+  background: url("blue_label.gif") no-repeat left top;
+}
+
+#nav {
+  float: left;
+  width: 190px;
+}
+
+#nav h2 {
+  padding: 5px 10px;
+  font-size: 1.3em;
+  font-weight: normal;
+  text-shadow: 0 1px 0 hsla(0, 0%, 0%, .1);
+  background: #E1E3E3;
+}
+
+#nav ul {
+  padding-bottom: 20px;
+}
+
+#nav ul li {
+  padding: 4px 10px;
+  border-top: 1px solid #E1E3E3;
+}
+
+.index_link a {
+  color: #999999;
+}
+
+.index_link span {
+  color: #000000;
+}
+
+#content {
+  float: right;
+  width: 680px;
+}
+
+#content p {
+  padding-bottom: 10px;
+}
+
+#content p.defined {
+  color: #666;
+  padding-bottom: 10px;
+}
+
+#content_wrapper {
+  display: block;
+  border-top: 1px solid #FFFFFF;
+  padding: 15px 0;
+}
+
+#footer {
+  text-align: right;
+  color: #5D5D5D;
+  padding: 10px 0;
+  font-size: 1.1em;
+}
+
+#footer a {
+  color: #424242;
+}
+
+.module {
+  border-bottom: 1px solid #D5D6D7;
+  padding: 10px 0;
+}
+
+.module h2 {
+  font-size: 1.2em;
+  color: #006691;
+  font-family: "Consolas", monospace;
+  padding: 4px 20px;
+  margin-left: -20px;
+  background: url("title_bullet.gif") no-repeat left top;
+}
+
+#class_detail .module h2 {
+  color: #2D3438;
+}
+
+#class_detail .module h2 span,
+dt span,
+dd .fixedFont {
+  color: #95999B;
+  font-weight: normal;
+}
+
+.module h2 strong {
+  color: #006691;
+}
+
+.summaryTable {
+  width: 100%;
+  margin-top: 15px;
+}
+
+.summaryTable caption {
+  padding: 5px 10px;
+  font-size: 1.5em;
+  font-weight: normal;
+  text-shadow: 0 1px 0 hsla(0, 0%, 0%, .1);
+  background: #E1E3E3;
+  text-align: left;
+}
+
+.summaryTable thead,
+.summaryTable th {
+  display: none;
+}
+
+.summaryTable td {
+  padding: 10px 15px;
+  background: #FFFFFF;
+  border-bottom: 10px solid #F5F6F5;
+}
+
+.summaryTable td.attributes {
+  width: 50px;
+  font-family: "Consolas", monospace;
+  color: #95999B;
+}
+
+.sectionTitle {
+  margin-top: 15px;
+  padding: 5px 10px;
+  font-size: 1.5em;
+  font-weight: normal;
+  text-shadow: 0 1px 0 hsla(0, 0%, 0%, .1);
+  background: #E1E3E3;
+  text-align: left;
+}
+
+pre {
+  padding: 10px;
+  background: #FFFFFF;
+  font-family: "Consolas", monospace;
+  color: #95999B;
+}
+
+.fixedFont {
+  font-family: "Consolas", monospace;
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/symbol.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/symbol.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/bluelabel/symbol.tmpl	(revision 505)
@@ -0,0 +1,35 @@
+<symbol alias="{+data.alias+}">
+	<name>{+data.name+}</name>
+	<memberOf>{+data.memberOf+}</memberOf>
+	<isStatic>{+data.isStatic+}</isStatic>
+	<isa>{+data.isa+}</isa>
+	<desc>{+data.desc+}</desc>
+	<classDesc>{+data.classDesc+}</classDesc>
+	
+	<methods><for each="method" in="data.methods">
+		<method>
+			<name>{+method.name+}</name>
+			<memberOf>{+method.memberOf+}</memberOf>
+			<isStatic>{+method.isStatic+}</isStatic>
+			<desc>{+method.desc+}</desc>
+			<params><for each="param" in="method.params">
+				<param>
+					<type>{+param.type+}</type>
+					<name>{+param.name+}</name>
+					<desc>{+param.desc+}</desc>
+					<defaultValue>{+param.defaultValue+}</defaultValue>
+				</param></for>
+			</params>
+		</method></for>
+	</methods>
+	
+	<properties><for each="property" in="data.properties">
+		<property>
+			<name>{+property.name+}</name>
+			<memberOf>{+property.memberOf+}</memberOf>
+			<isStatic>{+property.isStatic+}</isStatic>
+			<desc>{+property.desc+}</desc>
+			<type>{+property.type+}</type>
+		</property></for>
+	</properties>
+</symbol>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/allclasses.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/allclasses.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/allclasses.tmpl	(revision 505)
@@ -0,0 +1,15 @@
+<div class="indexLinks">
+	{+new Link().toFile("index.html").withText("Classes")+}
+	{+new Link().toFile("files.html").withText("Files")+}
+</div>
+
+<h2 class="heading1">Classes</h2>
+
+<ul class="classList">
+	<for each="thisClass" in="data">
+		<li>{!
+			var classLink = new Link().toClass(thisClass.alias) + "";
+			output += wordwrapNamespace(classLink);
+		!}</li>
+	</for>
+</ul>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/allfiles.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/allfiles.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/allfiles.tmpl	(revision 505)
@@ -0,0 +1,76 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
+		{! Link.base = ""; /* all generated links will be relative to this */ !}
+		<title>JsDoc Reference - File Index</title>
+		<meta name="generator" content="JsDoc Toolkit" />
+
+		<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" />
+		<meta name="mobileoptimized" content="0" />
+	
+		<link rel="stylesheet" type="text/css" href="css/all.css" media="all" />
+		<link rel="stylesheet" type="text/css" href="css/handheld.css" media="only screen and (max-width: 660px)" />
+		<link rel="stylesheet" type="text/css" href="css/handheld.css" media="handheld" />
+		<link rel="stylesheet" type="text/css" href="css/screen.css" media="screen and (min-width: 661px)" />
+		
+		<script type="text/javascript" src="javascript/wbos.CSSTools.MediaQueryFallBack.js"></script>
+	</head>
+	
+	<body>
+		{+include("static/header.html")+}
+		
+		<div class="index">
+			<div class="menu">
+				{+publish.classesIndex+}
+			</div>
+			
+			<div class="fineprint" style="clear:both">
+				<if test="JSDOC.opt.D.copyright">&copy;{+JSDOC.opt.D.copyright+}<br /></if>
+				Generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}<br />
+				HTML template: <a href="http://www.thebrightlines.com/2010/05/06/new-template-for-jsdoctoolkit-codeview/" target="_blank">Codeview 1.1.1</a>
+			</div>
+		</div>
+		<div class="index indexStatic"></div>
+		
+		<div class="content">
+			<div class="innerContent">
+				<h1 class="classTitle">File Index</h1>
+				
+				<ul class="fileList">
+					<for each="item" in="data">
+						<li>
+							<h2 class="filename">{+new Link().toSrc(item.alias).withText(item.name)+}</h2>
+							
+							<if test="item.desc">{+resolveLinks(item.desc)+}</if>
+							
+							<dl class="detailList">
+								<if test="item.author">
+									<dt class="heading">Author:</dt>
+									<dd>{+item.author+}</dd>
+								</if>
+								
+								<if test="item.version">
+									<dt class="heading">Version:</dt>
+									<dd>{+item.version+}</dd>
+								</if>
+								
+								{! var locations = item.comment.getTag('location').map(function($){return $.toString().replace(/(^\$ ?| ?\$$)/g, '').replace(/^HeadURL: https:/g, 'http:');}) !}
+								<if test="locations.length">
+									<dt class="heading">Location:</dt>
+									<for each="location" in="locations">
+										<dd><a href="{+location+}">{+location+}</a></dd>
+									</for>
+								</if>
+							</dl>
+						</li>
+					</for>
+				</ul>
+			</div>
+		</div>
+		
+		<script type="text/javascript">
+			wbos.CssTools.MediaQueryFallBack.LoadCss('css/screen.css', 'css/handheld.css', 660)
+		</script>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/class.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/class.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/class.tmpl	(revision 505)
@@ -0,0 +1,713 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
+		<meta name="generator" content="JsDoc Toolkit" />
+		{! Link.base = "../"; /* all generated links will be relative to this */ !}
+		<title>JsDoc Reference - {+data.alias+}</title>
+
+		<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" />
+		<meta name="mobileoptimized" content="0" />
+	
+		<link rel="stylesheet" type="text/css" href="../css/all.css" media="all" />
+		<link rel="stylesheet" type="text/css" href="../css/handheld.css" media="only screen and (max-width: 660px)" />
+		<link rel="stylesheet" type="text/css" href="../css/handheld.css" media="handheld" />
+		<link rel="stylesheet" type="text/css" href="../css/screen.css" media="screen and (min-width: 661px)" />
+
+		<script type="text/javascript" src="../javascript/wbos.CSSTools.MediaQueryFallBack.js"></script>
+	</head>
+
+	<body>
+		{+include("static/header.html")+}
+
+		<div class="index">
+			<div class="menu">
+				<!-- begin publish.classesIndex -->
+				{+publish.classesIndex+}
+				<!-- end publish.classesIndex -->
+			</div>
+			
+			<div class="fineprint" style="clear:both">
+				<if test="JSDOC.opt.D.copyright">&copy;{+JSDOC.opt.D.copyright+}<br /></if>
+				Generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}<br />
+				HTML template: <a href="http://www.thebrightlines.com/2010/05/06/new-template-for-jsdoctoolkit-codeview/" target="_blank">Codeview 1.1.1</a>
+			</div>
+		</div>
+		<div class="index indexStatic"></div>
+		
+		<div class="content">
+			<div class="innerContent">
+				<h1 class="classTitle">
+					{!
+						var classType = "";
+						
+						if (data.isBuiltin()) {
+							classType += "Built-In ";
+						}
+						
+						if (data.isNamespace) {
+							if (data.is('FUNCTION')) {
+								classType += "Function ";
+							}
+							classType += "Namespace ";
+						} else {
+							classType += "Class ";
+						}
+					!}
+					{+classType+}<span>{!
+						var dataAlias = data.alias + "";
+						dataAlias = dataAlias.replace(/\./g,  "<span class='break'> </span>.");
+						output += dataAlias;
+					!}</span>
+				</h1>
+
+				<p class="description summary">
+					{+resolveLinks(data.classDesc)+}
+				</p>
+
+				
+				<if test="data.version || !data.isBuiltin() || data.augments.length">
+					<ul class="summary">
+						<if test="data.version">
+							<li>Version {+ data.version +}</li>
+						</if>
+						
+						<if test="!data.isBuiltin()">{# isn't defined in any file #}
+							<li>Defined in: <span class="fixedFont">{+new Link().toSrc(data.srcFile)+}</span></li>
+						</if>
+
+						<if test="data.augments.length"><li>Extends
+							{+
+								data.augments
+								.sort()
+								.map(
+									function($) { return new Link().toSymbol($); }
+								)
+								.join(", ")
+							+}</li>
+						</if>
+					</ul>
+				</if>
+
+				<if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
+					<div class="props">
+						<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class {+data.alias+}.">
+							<caption>{+classType+}Summary</caption>
+							<thead>
+								<tr>
+									<th scope="col">Constructor Attributes</th>
+									<th scope="col">Constructor Name and Description</th>
+								</tr>
+							</thead>
+							<tbody>
+								<tr>
+									<td class="attributes">{!
+										if (data.isPrivate) output += "&lt;private&gt; ";
+										if (data.isInner) output += "&lt;inner&gt; ";
+									!}&nbsp;</td>
+									<td class="nameDescription" {!if (data.comment.getTag("hilited").length){output += 'style="color: red"'}!}>
+										<div class="fixedFont">
+											<b>{+ new Link().toSymbol(data.alias).inner('constructor')+}</b><if test="classType != 'Namespace '">{+ makeSignature(data.params) +}</if>
+										</div>
+										<div class="description">{+resolveLinks(summarize(data.desc))+}</div>
+									</td>
+								</tr>
+							</tbody>
+						</table>
+					</div>
+				</if>
+
+				<if test="data.properties.length">
+					{! var ownProperties = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
+					<if test="ownProperties.length">
+						<div class="props">
+							<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class {+data.alias+}.">
+								<caption>Field Summary</caption>
+								
+								<thead>
+									<tr>
+										<th scope="col">Field Attributes</th>
+										<th scope="col">Field Name and Description</th>
+									</tr>
+								</thead>
+								
+								<tbody>
+									<for each="member" in="ownProperties">
+										<tr>
+											<td class="attributes">{!
+												if (member.isPrivate) output += "&lt;private&gt; ";
+												if (member.isInner) output += "&lt;inner&gt; ";
+												if (member.isStatic) output += "&lt;static&gt; ";
+												if (member.isConstant) output += "&lt;constant&gt; ";
+											!}&nbsp;</td>
+											<td class="nameDescription">
+												<div class="fixedFont">
+												<if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name)+}</b>
+												</div>
+												<div class="description">{+resolveLinks(summarize(member.desc))+}</div>
+											</td>
+										</tr>
+									</for>
+								</tbody>
+							</table>
+						</div>
+					</if>
+					
+					<if test="data.inheritsFrom.length">
+						<dl class="inheritsList">
+						{!
+							var borrowedMembers = data.properties.filter(function($) {return $.memberOf != data.alias});
+							
+							var contributers = [];
+							borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
+							for (var i = 0, l = contributers.length; i < l; i++) {
+								output +=
+									"<dt>Fields borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
+									+
+									"<dd>" +
+									borrowedMembers
+									.filter(
+										function($) { return $.memberOf == contributers[i] }
+									)
+									.sort(makeSortby("name"))
+									.map(
+										function($) { return new Link().toSymbol($.alias).withText($.name) }
+									)
+									.join(", ")
+									+
+									"</dd>";
+							}
+						!}
+						</dl>
+					</if>
+				</if>
+
+	<!--
+	#### METHODS SUMMARY
+	-->
+				<if test="data.methods.length">
+					{! var ownMethods = data.methods.filter(function($){return $.memberOf == data.alias  && !$.isNamespace}).sort(makeSortby("name")); !}
+					<if test="ownMethods.length">
+						<div class="props">
+							<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class {+data.alias+}.">
+								<caption>Method Summary</caption>
+								
+								<thead>
+									<tr>
+										<th scope="col">Method Attributes</th>
+										<th scope="col">Method Name and Description</th>
+									</tr>
+								</thead>
+								
+								<tbody>
+									<for each="member" in="ownMethods">
+										<tr>
+											<td class="attributes">{!
+												if (member.isPrivate) output += "&lt;private&gt; ";
+												if (member.isInner) output += "&lt;inner&gt; ";
+												if (member.isStatic) output += "&lt;static&gt; ";
+											!}&nbsp;</td>
+											<td class="nameDescription">
+												<div class="fixedFont"><if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name.replace(/\^\d+$/, ''))+}</b>{+makeSignature(member.params)+}
+												</div>
+												<div class="description">{+resolveLinks(summarize(member.desc))+}</div>
+											</td>
+										</tr>
+									</for>
+								</tbody>
+							</table>
+						</div>
+					</if>
+					
+					<if test="data.inheritsFrom.length">
+						<dl class="inheritsList">
+						{!
+							var borrowedMembers = data.methods.filter(function($) {return $.memberOf != data.alias});
+							var contributers = [];
+							borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
+							for (var i = 0, l = contributers.length; i < l; i++) {
+								output +=
+									"<dt>Methods borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
+									+
+									"<dd>" +
+									borrowedMembers
+									.filter(
+										function($) { return $.memberOf == contributers[i] }
+									)
+									.sort(makeSortby("name"))
+									.map(
+										function($) { return new Link().toSymbol($.alias).withText($.name) }
+									)
+									.join(", ")
+									+
+									"</dd>";
+							}
+						!}
+						</dl>
+					</if>
+				</if>
+				
+	<!--
+	#### EVENTS SUMMARY
+	-->
+				<if test="data.events.length">
+					{! var ownEvents = data.events.filter(function($){return $.memberOf == data.alias  && !$.isNamespace}).sort(makeSortby("name")); !}
+					<if test="ownEvents.length">
+					<div class="props">
+						<table class="summaryTable" cellspacing="0" summary="A summary of the events documented in the class {+data.alias+}.">
+							<caption>Event Summary</caption>
+							
+							<thead>
+								<tr>
+									<th scope="col">Event Attributes</th>
+									<th scope="col">Event Name and Description</th>
+								</tr>
+							</thead>
+							
+							<tbody>
+								<for each="member" in="ownEvents">
+									<tr>
+										<td class="attributes">{!
+											if (member.isPrivate) output += "&lt;private&gt; ";
+											if (member.isInner) output += "&lt;inner&gt; ";
+											if (member.isStatic) output += "&lt;static&gt; ";
+										!}&nbsp;</td>
+										<td class="nameDescription">
+											<div class="fixedFont"><if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name)+}</b>{+makeSignature(member.params)+}
+											</div>
+											<div class="description">{+resolveLinks(summarize(member.desc))+}</div>
+										</td>
+									</tr>
+								</for>
+							</tbody>
+						</table>
+					</div>
+					</if>
+					
+					<if test="data.inheritsFrom.length">
+						<dl class="inheritsList">
+						{!
+							var borrowedMembers = data.events.filter(function($) {return $.memberOf != data.alias});
+							var contributers = [];
+							borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
+							for (var i = 0, l = contributers.length; i < l; i++) {
+								output +=
+									"<dt>Events borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
+									+
+									"<dd>" +
+									borrowedMembers
+									.filter(
+										function($) { return $.memberOf == contributers[i] }
+									)
+									.sort(makeSortby("name"))
+									.map(
+										function($) { return new Link().toSymbol($.alias).withText($.name) }
+									)
+									.join(", ")
+									+
+									"</dd>";
+							}
+						
+						!}
+						</dl>
+					</if>
+				</if>
+
+	<!--
+	#### CONSTRUCTOR DETAILS
+	-->
+				<if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
+					<div class="details props">
+						<div class="innerProps">
+							<a name="constructor"></a>
+							
+							<div class="sectionTitle">
+								{+classType+}Detail
+							</div>
+							
+							<div class="fixedFont">{!
+								if (data.isPrivate) output += "&lt;private&gt; ";
+								if (data.isInner) output += "&lt;inner&gt; ";
+							!}
+								<b>{+ data.alias +}</b><if test="classType != 'Namespace '">{+ makeSignature(data.params) +}</if>
+							</div>
+							
+							<div class="description">
+								{+resolveLinks(data.desc)+}
+								<if test="data.author"><br /><i>Author: </i>{+data.author+}.</if>
+							</div>
+							
+							<if test="data.example.length">
+								<for each="example" in="data.example">
+									<pre class="code">{+example+}</pre>
+								</for>
+							</if>
+						
+							<if test="data.params.length">
+								<dl class="detailList params">
+									<dt class="heading">Parameters:</dt>
+									<for each="item" in="data.params">
+										<dt>
+											{+((item.type)?""+("<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type)+"}</span> ")) : "")+} <b>{+item.name+}</b>
+											<if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
+										</dt>
+										<dd>{+resolveLinks(item.desc)+}</dd>
+									</for>
+								</dl>
+							</if>
+							
+							<if test="data.deprecated || data.since || data.exceptions.length || data.returns.length || data.requires.length || data.see.length">
+								<dl class="detailList nomargin">
+									<if test="data.deprecated">
+										<dt>
+											{+resolveLinks(data.deprecated)+}
+										</dt>
+									</if>
+									
+									<if test="data.since">
+										<dt class="heading">Since:</dt>
+										<dd>{+ data.since +}</dd>
+									</if>
+									
+									<if test="data.exceptions.length">
+										<dt class="heading">Throws:</dt>
+										<for each="item" in="data.exceptions">
+											<dt>
+												{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <b>{+item.name+}</b>
+											</dt>
+												<dd>{+resolveLinks(item.desc)+}</dd>
+										</for>
+									</if>
+									
+									<if test="data.returns.length">
+										<dt class="heading">Returns:</dt>
+										<for each="item" in="data.returns">
+												<dd>{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
+										</for>
+									</if>
+									
+									<if test="data.requires.length">
+										<dt class="heading">Requires:</dt>
+										<for each="item" in="data.requires">
+											<dd>{+ resolveLinks(item) +}</dd>
+										</for>
+									</if>
+									
+									<if test="data.see.length">
+										<dt class="heading">See:</dt>
+										<for each="item" in="data.see">
+											<dd>{+ new Link().toSymbol(item) +}</dd>
+										</for>
+									</if>
+								</dl>
+							</if>
+						</div>
+					</div>
+				</if>
+
+	<!--
+	#### FIELD DETAILS
+	-->
+				<if test="defined(ownProperties) && ownProperties.length">
+					<div class="details props">
+						<div class="innerProps">
+
+							<div class="sectionTitle">
+								Field Detail
+							</div>
+							
+							<for each="member" in="ownProperties">
+								<a name="{+Link.symbolNameToLinkName(member)+}"></a>
+								
+								<div class="fixedFont heading">
+									<span class='lighter'>
+									{!
+										if (member.isPrivate) output += "&lt;private&gt; ";
+										if (member.isInner) output += "&lt;inner&gt; ";
+										if (member.isStatic) output += "&lt;static&gt; ";
+										if (member.isConstant) output += "&lt;constant&gt; ";
+									!}
+									</span>
+									
+									<if test="member.type"><span class="light">{{+new Link().toSymbol(member.type)+}}</span></if>
+									
+									<if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name+}</b>							
+								</div>
+								
+								<div class="description">
+									{+resolveLinks(member.desc)+}
+									<if test="member.srcFile != data.srcFile">
+										<br />
+										<i>Defined in: </i> {+new Link().toSrc(member.srcFile)+}.
+									</if>
+									
+									<if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
+								</div>
+								
+								<if test="member.example.length">
+									<for each="example" in="member.example">
+										<pre class="code">{+example+}</pre>
+									</for>
+								</if>
+
+								<if test="member.deprecated || member.since || member.see.length || member.defaultValue">
+									<dl class="detailList nomargin">
+									
+										<if test="member.deprecated">
+											<dt class="heading">Deprecated:</dt>
+											<dt>
+												{+ resolveLinks(member.deprecated) +}
+											</dt>
+										</if>
+										<if test="member.since">
+											<dt class="heading">Since:</dt>
+											<dd>{+ member.since +}</dd>
+										</if>
+										<if test="member.see.length">
+											<dt class="heading">See:</dt>
+											<for each="item" in="member.see">
+												<dd>{+ new Link().toSymbol(item) +}</dd>
+											</for>
+										</if>
+										<if test="member.defaultValue">
+											<dt class="heading">Default Value:</dt>
+											<dd>
+												{+resolveLinks(member.defaultValue)+}
+											</dd>
+										</if>
+									</dl>
+								</if>
+								
+								<if test="!$member_last"><div class="hr"></div></if>
+							</for>
+						</div>
+					</div>
+				</if>
+
+	<!--
+	#### METHOD DETAILS
+	-->		
+				<if test="defined(ownMethods) && ownMethods.length">
+					<div class="details props">
+						<div class="innerProps">
+							<div class="sectionTitle">
+								Method Detail
+							</div>
+							
+							<for each="member" in="ownMethods">
+								<a name="{+Link.symbolNameToLinkName(member)+}"></a>
+								
+								<div class="fixedFont heading">
+									<span class='lighter'>
+									{!
+										if (member.isPrivate) output += "&lt;private&gt; ";
+										if (member.isInner) output += "&lt;inner&gt; ";
+										if (member.isStatic) output += "&lt;static&gt; ";
+									!}
+									</span>
+									
+									<if test="member.type"><span class="light">{{+new Link().toSymbol(member.type)+}}</span></if>
+									
+									<if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name.replace(/\^\d+$/, '')+}</b>{+makeSignature(member.params)+}
+								</div>
+								
+								<div class="description">
+									{+resolveLinks(member.desc)+}
+									
+									<if test="member.srcFile != data.srcFile">
+										<br />
+										<i>Defined in: </i> {+new Link().toSrc(member.srcFile)+}.
+									</if>
+									
+									<if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
+								</div>
+								
+								<if test="member.example.length">
+									<for each="example" in="member.example">
+										<pre class="code">{+example+}</pre>
+									</for>
+								</if>
+								
+								<if test="member.params.length">
+									<dl class="detailList params">
+										<dt class="heading">Parameters:</dt>
+										<for each="item" in="member.params">
+											<dt>
+												{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}<b>{+item.name+}</b>
+												<if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
+											</dt>
+											<dd>{+resolveLinks(item.desc)+}</dd>
+										</for>
+									</dl>
+								</if>
+								
+								<if test="member.deprecated || member.since || member.exceptions.length || member.returns.length || member.requires.length || member.see.length">
+									<dl class="detailList nomargin">
+									
+										<if test="member.deprecated">
+											<dt class="heading">Deprecated:</dt>
+											<dt>
+												{+ resolveLinks(member.deprecated) +}
+											</dt>
+										</if>
+										
+										<if test="member.since">
+											<dt class="heading">Since:</dt>
+											<dd>{+ member.since +}</dd>
+										</if>
+										
+										<if test="member.exceptions.length">
+											<dt class="heading">Throws:</dt>
+											<for each="item" in="member.exceptions">
+												<dt>
+													{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <b>{+item.name+}</b>
+												</dt>
+												<dd>{+resolveLinks(item.desc)+}</dd>
+											</for>
+										</if>
+										
+										<if test="member.returns.length">
+											<dt class="heading">Returns:</dt>
+											<for each="item" in="member.returns">
+												<dd>{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
+											</for>
+										</if>
+										
+										<if test="member.requires.length">
+											<dt class="heading">Requires:</dt>
+											<for each="item" in="member.requires">
+												<dd>{+ resolveLinks(item) +}</dd>
+											</for>
+										</if>
+										
+										<if test="member.see.length">
+											<dt class="heading">See:</dt>
+											<for each="item" in="member.see">
+												<dd>{+ new Link().toSymbol(item) +}</dd>
+											</for>
+										</if>
+									
+									</dl>
+								</if>
+
+								<if test="!$member_last"><div class="hr"></div></if>
+							</for>
+						</div>
+					</div>
+				</if>
+				
+	<!--
+	#### EVENT DETAILS
+	-->		
+				<if test="defined(ownEvents) && ownEvents.length">
+					<div class="details props">
+						<div class="innerProps">
+							<div class="sectionTitle">
+								Event Detail
+							</div>
+							
+							<for each="member" in="ownEvents">
+								<a name="event:{+Link.symbolNameToLinkName(member)+}"> </a>
+								
+								<div class="fixedFont heading">
+									<span class='lighter'>
+									{!
+										if (member.isPrivate) output += "&lt;private&gt; ";
+										if (member.isInner) output += "&lt;inner&gt; ";
+										if (member.isStatic) output += "&lt;static&gt; ";
+									!}
+									</span>
+									
+									<if test="member.type"><span class="light">{{+new Link().toSymbol(member.type)+}}</span></if>
+									
+									<if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name+}</b>{+makeSignature(member.params)+}
+								</div>
+								
+								<div class="description">
+									{+resolveLinks(member.desc)+}
+									
+									<if test="member.srcFile != data.srcFile">
+										<br />
+										<i>Defined in: </i> {+new Link().toSrc(member.srcFile)+}.
+									</if>
+									
+									<if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
+								</div>
+								
+								<if test="member.example.length">
+									<for each="example" in="member.example">
+										<pre class="code">{+example+}</pre>
+									</for>
+								</if>
+								
+								<if test="member.params.length">
+									<dl class="detailList params">
+										<dt class="heading">Parameters:</dt>
+										<for each="item" in="member.params">
+											<dt>
+												{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}<b>{+item.name+}</b>
+												<if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
+											</dt>
+											<dd>{+ resolveLinks(item.desc) +}</dd>
+										</for>
+									</dl>
+								</if>
+								
+								<if test="member.deprecated || member.since || member.exceptions.length || member.returns.length || member.see.length">
+									<dl class="detailList nomargin">
+										<if test="member.deprecated">
+											<dt class="heading">Deprecated:</dt>
+											<dt>{+ resolveLinks(member.deprecated) +}</dt>
+										</if>
+										
+										<if test="member.since">
+											<dt class="heading">Since:</dt>
+											<dd>{+ member.since +}</dd>
+										</if>
+										
+										<if test="member.exceptions.length">
+											<dt class="heading">Throws:</dt>
+											<for each="item" in="member.exceptions">
+												<dt>
+													{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <b>{+item.name+}</b>
+												</dt>
+												<dd>{+ resolveLinks(item.desc) +}</dd>
+											</for>
+										</if>
+										
+										<if test="member.returns.length">
+											<dt class="heading">Returns:</dt>
+											<for each="item" in="member.returns">
+												<dd>{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
+											</for>
+										</if>
+										
+										<if test="member.requires.length">
+											<dt class="heading">Requires:</dt>
+											<for each="item" in="member.requires">
+												<dd>{+ resolveLinks(item) +}</dd>
+											</for>
+										</if>
+										
+										<if test="member.see.length">
+											<dt class="heading">See:</dt>
+											<for each="item" in="member.see">
+												<dd>{+ new Link().toSymbol(item) +}</dd>
+											</for>
+										</if>
+									</dl>
+								</if>
+								
+								<if test="!$member_last"><div class="hr"></div></if>
+							</for>
+						</div>
+					</div>
+				</if>
+			</div>
+		</div>
+		
+		<script type="text/javascript">
+			wbos.CssTools.MediaQueryFallBack.LoadCss('../css/screen.css', '../css/handheld.css', 660)
+		</script>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/all.css
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/all.css	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/all.css	(revision 505)
@@ -0,0 +1,340 @@
+﻿/*
+ * TABLE OF CONTENTS:
+ * - Browser reset
+ * - HTML elements
+ * - JsDoc styling
+ */
+
+
+
+
+
+
+/*
+ * BEGIN BROWSER RESET
+ */
+
+body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,p,pre,form,fieldset,input,textarea,p,blockquote,th,td {
+	margin:0;
+	padding:0
+}
+html {
+	height:100%;
+	overflow:-moz-scrollbars-vertical;
+	overflow-x:auto
+}
+table {
+	border:0;
+	border-collapse:collapse;
+	border-spacing:0
+}
+fieldset,img {
+	border:0
+}
+address,caption,cite,code,dfn,em,strong,th,var {
+	font-style:normal;
+	font-weight:normal
+}
+em,cite {
+	font-style:italic
+}
+strong {
+	font-weight:bold
+}
+ol,ul {
+	list-style:none
+}
+caption,th {
+	text-align:left
+}
+h1,h2,h3,h4,h5,h6 {
+	font-size:100%;
+	font-weight:normal;
+	margin:0;
+	padding:0
+}
+q:before,q:after {
+	content:''
+}
+abbr,acronym {
+	border:0
+}
+
+/*
+ * END BROWSER RESET
+ */
+
+
+
+
+
+
+/*
+ * HTML ELEMENTS
+ */
+
+@font-face {
+	font-family: 'M1m';
+	src: url('fonts/mplus-1m-regular-webfont.eot');
+	src: local('☺'), url('fonts/mplus-1m-regular-webfont.woff') format('woff'), url('fonts/mplus-1m-regular-webfont.ttf') format('truetype'), url('fonts/mplus-1m-regular-webfont.svg#webfontVd14f4NN') format('svg');
+	font-weight: normal;
+	font-style: normal;
+}
+
+@font-face {
+	font-family: 'M1m';
+	src: url('fonts/mplus-1m-bold-webfont.eot');
+	src: local('☺'), url('fonts/mplus-1m-bold-webfont.woff') format('woff'), url('fonts/mplus-1m-bold-webfont.ttf') format('truetype'), url('fonts/mplus-1m-bold-webfont.svg#webfontIjI5mZqE') format('svg');
+	font-weight: bold;
+	font-style: normal;
+}
+
+
+
+* {
+	line-height: 1.4em;
+}
+
+html {
+	font-size: 100%;
+}
+
+body {
+	font-size: 0.75em;
+	padding: 15px 0;
+	background: #eee;
+	background-image: -moz-linear-gradient(left, #dddddd, #f9f9f9) fixed;
+	background-image: -webkit-gradient(linear,left bottom,right bottom,color-stop(0, #dddddd),color-stop(1, #f9f9f9)) fixed;
+  }
+
+body,
+input,
+select,
+textarea {
+	color: #000;
+	font-family: Arial, Geneva, sans-serif;
+}
+
+a:link,
+a:hover,
+a:active,
+a:visited {
+	color: #19199e;
+}
+a:hover,
+a:focus {
+	color: #00f;
+	text-decoration: none;
+}
+
+p {
+	margin: 0 0 1.5em 0;
+}
+
+/*
+ * END HTML ELEMENTS
+ */
+
+
+ 
+/*
+ * BEGIN HACK
+ */
+
+div.containerMain:after,
+div.safeBox:after {
+	content:"";
+	display:block;
+	height:0;
+	clear:both;
+}
+
+/*
+ * END HACK
+ */
+
+
+
+/*
+ * BEGIN JSDOC
+ */
+
+/* Start menu */
+div.index *.heading1 {
+	margin-bottom: 0.5em;
+	border-bottom: 1px solid #999999;
+	font-family: M1m, Arial, sans-serif;
+	font-size: 1.6em;
+	letter-spacing: 1px;
+	line-height: 1.3em;
+}
+ 
+div.index div.menu {
+	background-color: #FFFFFF;
+}
+*+html div.index div.menu {
+	background-color: #FFFFFF;
+}
+* html div.index div.menu {
+	background-color: #FFFFFF;
+}
+
+div.index div.menu div {
+	text-align: left;
+}
+
+div.index div.menu a {
+	text-decoration: none;
+}
+div.index div.menu a:hover {
+	text-decoration: underline;
+}
+
+div.index ul.classList a {
+	display: block;
+	padding: 4px 0 2px 20px;
+	text-indent: -20px;
+}
+
+div.index div.fineprint {
+	color: #777;
+	font-size: 0.9em;
+}
+div.index div.fineprint a {
+	color: #777;
+}
+/* End menu */
+
+
+
+/* Start content */
+div.content *.classTitle {
+	font-family: M1m, sans-serif;
+	font-size: 2.5em;
+	letter-spacing: 2px;
+	text-shadow: 1px 1px 1px #999999;
+}
+
+div.content *.classTitle span {
+	font-weight: bold;
+}
+
+div.content p.summary {
+	font-size: 1.25em;
+}
+
+div.content ul *.classname a,
+div.content ul *.filename a {
+	font-family: Consolas, "Courier New", Courier, monospace;
+	text-decoration: none;
+	font-weight: bold;
+}
+div.content ul *.classname a:hover,
+div.content ul *.filename a:hover {
+	text-decoration: underline;
+}
+
+div.content div.props {
+	-moz-border-radius: 5px;
+	-webkit-border-radius: 5px;
+	border-radius: 5px;
+	background: #fff;
+	background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2)); /* FF3.6 */
+	background: -webkit-gradient(linear,left top,left bottom,color-stop(0, rgba(255, 255, 255, 0.7)),color-stop(1, rgba(255, 255, 255, 0.2)));
+	-moz-box-shadow: 0px 0px 10px #ccc;
+	-webkit-box-shadow: 0px 0px 5px #bbb;
+	box-shadow: 0px 0px 5px #bbb;
+}
+
+div.content div.props div.sectionTitle {
+	font-family: M1m, sans-serif;
+	font-size: 1.6em;
+	letter-spacing: 1px;
+}
+
+
+
+table.summaryTable caption {
+	font-family: M1m, sans-serif;
+	font-size: 1.6em;
+	letter-spacing: 1px;
+}
+
+table.summaryTable td,
+table.summaryTable th {
+	vertical-align: top;
+}
+table.summaryTable tr:last-child td {
+	padding-bottom: 0;
+}
+
+table.summaryTable th {
+	font-weight: bold;
+}
+
+table.summaryTable td.attributes {
+	font-family: Consolas, "Courier New", Courier, monospace;
+	color: #666;
+}
+
+table.summaryTable td.nameDescription div.fixedFont {
+	font-weight: bold;
+}
+
+table.summaryTable div.description {
+	color: #333;
+}
+
+
+
+dl.detailList dt {
+	font-weight: bold;
+}
+
+
+
+.fixedFont {
+	font-family: Consolas, "Courier New", Courier, monospace;
+}
+
+.fixedFont.heading {
+	font-size: 1.25em;
+	line-height: 1.1em
+}
+
+.fixedFont.heading + .description {
+	font-size: 1.2em;
+}
+
+.fixedFont.heading .light,
+.fixedFont.heading .lighter {
+	font-weight: bold;
+}
+
+pre.code {
+	overflow: auto;
+	font-family: Consolas, "Courier New", Courier, monospace;
+	background: #eee;
+}
+/* Start content */
+
+
+
+/* Start general styles */
+.light {
+	color: #666;
+}
+
+.lighter {
+	color: #999;
+}
+
+span.break {
+	font-size: 1px;
+	line-height:  1px;
+}
+/* End general styles */
+
+/*
+ * END JSDOC
+ */
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/fonts/mplus-1m-bold-webfont.svg
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/fonts/mplus-1m-bold-webfont.svg	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/fonts/mplus-1m-bold-webfont.svg	(revision 505)
@@ -0,0 +1,134 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
+<svg xmlns="http://www.w3.org/2000/svg">
+<metadata>
+This is a custom SVG webfont generated by Font Squirrel.
+Foundry URL : http://mplus-fonts.sourceforge.jp
+</metadata>
+<defs>
+<font id="webfontIjI5mZqE" horiz-adv-x="500" >
+<font-face units-per-em="1000" ascent="860" descent="-140" />
+<missing-glyph horiz-adv-x="500" />
+<glyph unicode=" " />
+<glyph unicode="!" d="M165 730h170l-20 -495h-130zM170 0v150h160v-150h-160z" />
+<glyph unicode="&#x22;" d="M270 780h160l-30 -320h-100zM70 780h160l-30 -320h-100z" />
+<glyph unicode="#" d="M20 165v120h62l24 185h-51v120h67l18 140h135l-18 -140h45l18 140h135l-18 -140h43v-120h-59l-24 -185h48v-120h-64l-21 -165h-135l21 165h-45l-21 -165h-135l21 165h-46zM217 285h45l24 185h-45z" />
+<glyph unicode="$" d="M357 397q55 -32 76.5 -74t21.5 -108q0 -190 -192 -199v-101h-110v112q-51 16 -88 43v140q38 -35 88 -55v191q-53 33 -75.5 75.5t-22.5 103.5q0 89 50 138.5t142 51.5v100h110v-112q42 -12 78 -33v-135q-32 25 -78 42v-180zM247 445v149q-54 -9 -54 -69q0 -55 54 -80z M263 295v-157q52 13 52 77q0 55 -52 80z" />
+<glyph unicode="%" d="M40 310l420 220v-110l-420 -220v110zM160 740q70 0 110 -41t40 -119t-40 -119t-110 -41t-110 41t-40 119t40 119t110 41zM340 310q70 0 110 -41t40 -119t-40 -119t-110 -41t-110 41t-40 119t40 119t110 41zM160 518q38 0 38 62t-38 62t-38 -62t38 -62zM340 88q38 0 38 62 t-38 62t-38 -62t38 -62z" />
+<glyph unicode="&#x26;" d="M235 615q-23 0 -36.5 -14.5t-13.5 -40.5q0 -18 7.5 -37.5t33.5 -65.5q35 30 47 52.5t12 50.5q0 26 -13.5 40.5t-36.5 14.5zM118 368q-47 77 -62.5 116t-15.5 76q0 80 51.5 130t138.5 50t141 -50.5t54 -129.5q0 -114 -130 -220l55 -94v2v132h125v-225q-16 -25 -41 -52 l61 -103h-150l-15 24q-66 -34 -130 -34q-88 0 -136.5 45.5t-48.5 134.5q0 99 103 198zM269 124l-77 125q-27 -37 -27 -74q0 -60 65 -60q20 0 39 9z" />
+<glyph unicode="'" d="M160 780h180l-35 -320h-110z" />
+<glyph unicode="(" d="M100 300q0 136 50 256.5t144 213.5h126q-196 -194 -196 -470t196 -470h-126q-94 93 -144 213.5t-50 256.5z" />
+<glyph unicode=")" d="M400 300q0 -136 -50 -256.5t-144 -213.5h-126q196 194 196 470t-196 470h126q94 -93 144 -213.5t50 -256.5z" />
+<glyph unicode="*" d="M193 750h114l-4 -144l136 48l35 -109l-138 -40l88 -115l-93 -67l-81 119l-81 -119l-93 67l88 115l-138 40l35 109l136 -48z" />
+<glyph unicode="+" d="M315 545v-195h135v-110h-135v-195h-130v195h-135v110h135v195h130z" />
+<glyph unicode="," d="M180 190h190l-130 -320h-120z" />
+<glyph unicode="-" d="M90 240v110h320v-110h-320z" />
+<glyph unicode="." d="M155 0v190h190v-190h-190z" />
+<glyph unicode="/" d="M465 730l-310 -770h-120l310 770h120z" />
+<glyph unicode="0" d="M250 740q73 0 117.5 -32.5t68.5 -116t24 -226.5t-24 -226.5t-68.5 -116t-117.5 -32.5t-117.5 32.5t-68.5 116t-24 226.5t24 226.5t68.5 116t117.5 32.5zM171 317l142 248q-9 34 -24.5 47t-38.5 13q-28 0 -44.5 -19.5t-26 -77.5t-9.5 -163q0 -33 1 -48zM183 179 q9 -41 25.5 -57.5t41.5 -16.5q28 0 44.5 19.5t26 77.5t9.5 163q0 47 -1 67z" />
+<glyph unicode="1" d="M240 592l-2 1l-173 -91v128l175 100h140v-730h-140v592z" />
+<glyph unicode="2" d="M220 122v-2h220v-120h-380v120q127 141 181 237t54 173q0 43 -21 66.5t-59 23.5q-31 0 -74 -22t-81 -58v130q78 70 185 70q90 0 140 -51t50 -149q0 -180 -215 -418z" />
+<glyph unicode="3" d="M290 608v2h-230v120h385v-120l-170 -178v-2h10q79 0 122 -51.5t43 -153.5q0 -121 -54 -178t-166 -57q-51 0 -81.5 6.5t-78.5 28.5v130q80 -45 150 -45q46 0 68 27t22 88q0 58 -26 76.5t-114 18.5h-40v120z" />
+<glyph unicode="4" d="M400 150v-150h-135v150h-245v120l230 460h150v-460h80v-120h-80zM265 270v255h-2l-127 -253v-2h129z" />
+<glyph unicode="5" d="M202 455q36 19 82 19q161 0 161 -239q0 -245 -230 -245q-76 0 -150 35v130q80 -45 140 -45q51 0 75.5 29t24.5 96t-14.5 93t-46.5 26q-34 0 -64 -34h-110l10 410h345v-120h-220l-5 -155h2z" />
+<glyph unicode="6" d="M295 625q-54 0 -76.5 -34.5t-28.5 -135.5h2q45 35 98 35q92 0 133.5 -54.5t41.5 -185.5q0 -141 -51 -200.5t-159 -59.5q-75 0 -119 28.5t-67.5 101t-23.5 200.5q0 162 25 254t75 129t135 37q66 0 135 -20v-125q-57 30 -120 30zM255 107q39 0 55.5 29.5t16.5 113.5 q0 79 -14 104.5t-53 25.5q-38 0 -56.5 -29.5t-18.5 -100.5q0 -81 17 -112t53 -31z" />
+<glyph unicode="7" d="M55 730h390v-120q-113 -273 -200 -610h-146q92 325 216 608v2h-260v120z" />
+<glyph unicode="8" d="M258 625q-41 0 -59.5 -20.5t-18.5 -64.5q0 -74 75 -105q33 16 51.5 43.5t18.5 61.5q0 40 -18 62.5t-49 22.5zM250 -10q-105 0 -162.5 52t-57.5 148q0 116 105 179v2q-42 31 -66 80t-24 104q0 87 53.5 136t151.5 49t151.5 -48.5t53.5 -136.5q0 -98 -100 -164v-2 q115 -62 115 -199q0 -96 -58 -148t-162 -52zM242 105q93 0 93 100q0 75 -103 115q-33 -17 -52.5 -48.5t-19.5 -66.5q0 -48 22.5 -74t59.5 -26z" />
+<glyph unicode="9" d="M205 110q55 0 77 32.5t28 132.5h-2q-45 -35 -98 -35q-89 0 -132 57.5t-43 192.5q0 131 51 190.5t159 59.5q79 0 123 -27.5t65.5 -99.5t21.5 -203q0 -162 -25 -254t-75 -129t-135 -37q-66 0 -135 20v130q57 -30 120 -30zM245 623q-39 0 -55.5 -28t-16.5 -105 q0 -83 15.5 -111.5t51.5 -28.5q75 0 75 140q0 73 -17 103t-53 30z" />
+<glyph unicode=":" d="M160 390v190h180v-190h-180zM160 0v190h180v-190h-180z" />
+<glyph unicode=";" d="M170 190h190l-130 -320h-120zM170 390v190h180v-190h-180z" />
+<glyph unicode="&#x3c;" d="M445 470l-320 -174v-2l320 -174v-120l-400 225v140l400 225v-120z" />
+<glyph unicode="=" d="M50 125v110h400v-110h-400zM50 362v103h400v-103h-400z" />
+<glyph unicode="&#x3e;" d="M55 470v120l400 -225v-140l-400 -225v120l320 174v2z" />
+<glyph unicode="?" d="M460 575q0 -36 -12.5 -69t-25 -51t-38.5 -49q-25 -30 -38 -48.5t-27.5 -52.5t-18.5 -70h-130q0 49 17 94.5t32 66.5t44 57q21 25 30.5 38t19 33.5t9.5 40.5q0 58 -82 58t-180 -53v130q95 40 200 40q95 0 147.5 -44t52.5 -121zM155 0v150h160v-150h-160z" />
+<glyph unicode="@" d="M285 635q-72 0 -108.5 -62.5t-36.5 -207.5q0 -265 160 -265q58 0 125 30v-115q-70 -25 -150 -25q-260 0 -260 375q0 194 64 284.5t191 90.5q99 0 152 -51.5t53 -148.5v-325q-28 -28 -76 -46.5t-94 -18.5q-69 0 -102 49t-33 166q0 114 31.5 164.5t93.5 50.5q36 0 68 -25h2 v15q0 26 -23.5 45.5t-56.5 19.5zM290 365q0 -72 8 -93.5t29 -21.5q20 0 28 18v147q0 41 -6 53t-25 12t-26.5 -22t-7.5 -93z" />
+<glyph unicode="A" d="M249 620h-2l-55 -335h112zM323 170h-150l-28 -170h-140l165 730h160l165 -730h-144z" />
+<glyph unicode="B" d="M190 445h15q59 0 85 20.5t26 64.5q0 49 -23 71t-73 22q-17 0 -30 -5v-173zM190 330v-218q20 -5 45 -5q51 0 75 27.5t24 90.5q0 57 -25.5 81t-88.5 24h-30zM470 210q0 -220 -240 -220q-93 0 -180 15v720q92 15 190 15q210 0 210 -185q0 -62 -32 -105t-83 -54v-2 q57 -10 96 -61.5t39 -122.5z" />
+<glyph unicode="C" d="M30 365q0 195 64.5 285t190.5 90q80 0 150 -25v-115q-70 25 -125 25q-74 0 -109.5 -58.5t-35.5 -201.5q0 -260 150 -260q57 0 125 30v-120q-70 -25 -150 -25q-260 0 -260 375z" />
+<glyph unicode="D" d="M344 365q0 142 -30 198.5t-94 56.5q-23 0 -40 -5v-500q17 -5 40 -5q63 0 93.5 55.5t30.5 199.5zM480 365q0 -144 -28.5 -226.5t-83.5 -115.5t-148 -33q-92 0 -180 15v720q88 15 180 15q141 0 200.5 -82t59.5 -293z" />
+<glyph unicode="E" d="M210 610v-165h220v-115h-220v-210h230v-120h-370v730h370v-120h-230z" />
+<glyph unicode="F" d="M220 330v-330h-140v730h360v-120h-220v-165h210v-115h-210z" />
+<glyph unicode="G" d="M310 625q-82 0 -116 -55t-34 -205q0 -143 32 -201.5t93 -58.5q27 0 48 10v215h-98v115h230v-415q-83 -40 -180 -40q-260 0 -260 375q0 196 69.5 285.5t215.5 89.5q70 0 130 -25v-115q-72 25 -130 25z" />
+<glyph unicode="H" d="M318 330h-140v-330h-138v730h138v-280h140v280h142v-730h-142v330z" />
+<glyph unicode="I" d="M430 0h-360v115h108v500h-108v115h360v-115h-108v-500h108v-115z" />
+<glyph unicode="J" d="M410 730v-515q0 -126 -48.5 -175.5t-166.5 -49.5q-86 0 -155 30v130q29 -18 68 -30t67 -12q50 0 71 26.5t21 95.5v385h-147v115h290z" />
+<glyph unicode="K" d="M192 330h-2v-330h-140v730h140v-300h2l135 300h148l-160 -345l165 -385h-150z" />
+<glyph unicode="L" d="M230 730v-610h210v-120h-350v730h140z" />
+<glyph unicode="M" d="M338 500h-2l-38 -300h-100l-38 300h-2v-500h-133v730h167l59 -400h2l59 400h163v-730h-137v500z" />
+<glyph unicode="N" d="M187 460h-2v-460h-140v730h147l125 -460h2v460h136v-730h-143z" />
+<glyph unicode="O" d="M250 740q121 0 175.5 -84t54.5 -291t-54.5 -291t-175.5 -84t-175.5 84t-54.5 291t54.5 291t175.5 84zM250 108q52 0 75 53.5t23 203.5t-23 203.5t-75 53.5t-75 -53.5t-23 -203.5t23 -203.5t75 -53.5z" />
+<glyph unicode="P" d="M334 503q0 120 -104 120q-23 0 -40 -5v-235q18 -5 40 -5q53 0 78.5 28t25.5 97zM470 503q0 -127 -57 -184.5t-173 -57.5q-26 0 -50 5v-266h-140v725q90 15 185 15q122 0 178.5 -56t56.5 -181z" />
+<glyph unicode="Q" d="M250 740q121 0 175.5 -84t54.5 -291q0 -257 -92 -333v-2q39 -22 68.5 -74t33.5 -106h-145q-15 81 -36.5 110.5t-58.5 29.5q-121 0 -175.5 84t-54.5 291t54.5 291t175.5 84zM250 108q52 0 75 53.5t23 203.5t-23 203.5t-75 53.5t-75 -53.5t-23 -203.5t23 -203.5t75 -53.5z " />
+<glyph unicode="R" d="M465 513q0 -151 -98 -199l-1 -2q27 -19 58 -118l61 -194h-145l-57 204q-12 43 -25.5 57.5t-42.5 14.5h-30v-276h-140v725q90 15 185 15q124 0 179.5 -53.5t55.5 -173.5zM185 393h30q64 0 89 24.5t25 95.5q0 58 -25.5 84t-78.5 26q-23 0 -40 -5v-225z" />
+<glyph unicode="S" d="M440 575q-84 48 -165 48q-41 0 -65 -21t-24 -57q0 -71 69 -100q116 -48 160.5 -103t44.5 -142q0 -210 -225 -210q-100 0 -180 50v135q83 -68 173 -68q94 0 94 88q0 76 -77 110q-108 46 -151.5 99.5t-43.5 135.5q0 90 57 145t153 55q102 0 180 -35v-130z" />
+<glyph unicode="T" d="M320 615v-615h-140v615h-145v115h430v-115h-145z" />
+<glyph unicode="U" d="M250 -10q-112 0 -161 54t-49 186v500h142v-460q0 -101 14.5 -131.5t55.5 -30.5t55.5 30.5t14.5 131.5v460h138v-500q0 -132 -49 -186t-161 -54z" />
+<glyph unicode="V" d="M253 110l92 620h140l-155 -730h-160l-155 730h144l92 -620h2z" />
+<glyph unicode="W" d="M164 190h2l38 440h100l38 -440h2l15 540h126l-45 -730h-157l-34 420h-2l-34 -420h-153l-45 730h134z" />
+<glyph unicode="X" d="M251 470h2l74 260h145l-132 -360l135 -370h-152l-74 270h-2l-74 -270h-148l135 370l-132 360h149z" />
+<glyph unicode="Y" d="M251 415h2l84 315h148l-165 -455v-275h-140v275l-165 455h152z" />
+<glyph unicode="Z" d="M290 613v2h-235v115h390v-115l-235 -498v-2h235v-115h-390v115z" />
+<glyph unicode="[" d="M410 675h-170v-750h170v-95h-290v940h290v-95z" />
+<glyph unicode="\" d="M35 730h120l310 -770h-120z" />
+<glyph unicode="]" d="M90 675v95h290v-940h-290v95h170v750h-170z" />
+<glyph unicode="^" d="M251 655h-2l-111 -375h-123l145 450h180l145 -450h-123z" />
+<glyph unicode="_" d="M40 -170v88h420v-88h-420z" />
+<glyph unicode="`" d="M90 810h190l100 -320h-120z" />
+<glyph unicode="a" d="M65 495q39 14 95 24.5t90 10.5q111 0 155.5 -45t44.5 -160v-325h-127l-2 65h-2q-49 -75 -134 -75q-68 0 -106.5 42t-38.5 118q0 88 63.5 136.5t186.5 48.5h25v10q0 40 -16 56.5t-54 16.5q-32 0 -86.5 -11.5t-93.5 -26.5v115zM315 245h-25q-59 0 -89.5 -23t-30.5 -62 q0 -31 15 -48t40 -17q90 0 90 130v20z" />
+<glyph unicode="b" d="M45 730h137v-275h2q49 75 116 75q83 0 129 -66.5t46 -203.5q0 -133 -47.5 -201.5t-127.5 -68.5q-35 0 -62.5 17.5t-56.5 62.5h-2l-2 -70h-132v730zM338 260q0 150 -78 150q-80 0 -80 -145v-10q0 -145 80 -145q35 0 56.5 36.5t21.5 113.5z" />
+<glyph unicode="c" d="M305 420q-115 0 -115 -160q0 -163 120 -163q60 0 120 28v-110q-68 -25 -140 -25q-116 0 -178 67.5t-62 202.5t60 202.5t175 67.5q67 0 135 -25v-110q-61 25 -115 25z" />
+<glyph unicode="d" d="M455 0h-132l-2 70h-2q-29 -45 -56.5 -62.5t-62.5 -17.5q-80 0 -127.5 68.5t-47.5 201.5q0 137 46 203.5t129 66.5q67 0 116 -75h2v275h137v-730zM162 260q0 -77 21.5 -113.5t56.5 -36.5q80 0 80 145v10q0 145 -80 145q-78 0 -78 -150z" />
+<glyph unicode="e" d="M182 206q7 -62 33 -85.5t80 -23.5q52 0 135 28v-110q-84 -25 -155 -25q-112 0 -173.5 68t-61.5 202q0 270 220 270q200 0 200 -270q0 -31 -2 -54h-276zM181 310h142q-1 63 -15.5 88t-47.5 25q-41 0 -58 -23t-21 -90z" />
+<glyph unicode="f" d="M60 391v109h100v45q0 104 40.5 149.5t129.5 45.5q56 0 110 -15v-110q-36 16 -80 16q-37 0 -50 -20.5t-13 -85.5v-25h143v-109h-143v-391h-137v391h-100z" />
+<glyph unicode="g" d="M323 75h-2q-45 -75 -116 -75q-78 0 -126.5 66.5t-48.5 193.5q0 137 46 203.5t129 66.5q35 0 62.5 -17.5t56.5 -62.5h2l2 70h132v-505q0 -245 -240 -245q-81 0 -150 25v115q76 -33 145 -33q55 0 81.5 34t26.5 114v50zM167 260q0 -70 22 -105t56 -35q80 0 80 135v10 q0 145 -80 145q-78 0 -78 -150z" />
+<glyph unicode="h" d="M50 730h137v-275h2q47 75 126 75t112 -47.5t33 -172.5v-310h-135v290q0 74 -12.5 98t-47.5 24t-56.5 -43.5t-21.5 -131.5v-237h-137v730z" />
+<glyph unicode="i" d="M110 520h240v-413h100v-107h-370v107h130v306h-100v107zM190 630v130h160v-130h-160z" />
+<glyph unicode="j" d="M225 -20v433h-110v107h250v-540q0 -68 -10.5 -106t-44 -63t-87.5 -33t-148 -8v109q39 0 60.5 0.5t41 5t27 9.5t13.5 18t7 27.5t1 40.5zM205 630v130h160v-130h-160z" />
+<glyph unicode="k" d="M480 520l-185 -250l185 -270h-162l-131 224v-224h-137v730h137v-418l133 208h160z" />
+<glyph unicode="l" d="M310 190q0 -68 9 -80.5t56 -12.5q31 0 75 6v-108q-44 -5 -100 -5q-111 0 -145.5 32.5t-34.5 137.5v463h-120v107h260v-540z" />
+<glyph unicode="m" d="M360 0v340q0 40 -21 40q-8 0 -12.5 -5t-7 -22.5t-2.5 -52.5v-300h-130v340q0 40 -21 40q-8 0 -12.5 -5t-7 -22.5t-2.5 -52.5v-300h-134v520h120l2 -65h2q15 34 39.5 54.5t48.5 20.5q28 0 45 -16t32 -59h2q42 75 99 75q48 0 69 -36t21 -134v-360h-130z" />
+<glyph unicode="n" d="M50 520h132l2 -70h2q49 80 129 80q79 0 112 -47.5t33 -172.5v-310h-135v290q0 74 -12.5 98t-47.5 24t-56.5 -43.5t-21.5 -131.5v-237h-137v520z" />
+<glyph unicode="o" d="M250 530q220 0 220 -270t-220 -270t-220 270t220 270zM250 97q44 0 62 33.5t18 129.5t-18 129.5t-62 33.5t-62 -33.5t-18 -129.5t18 -129.5t62 -33.5z" />
+<glyph unicode="p" d="M179 70h-2v-290h-137v740h132l2 -70h2q29 45 56.5 62.5t62.5 17.5q83 0 129 -66.5t46 -203.5q0 -133 -47.5 -201.5t-127.5 -68.5q-71 0 -116 80zM333 260q0 150 -78 150q-80 0 -80 -145v-10q0 -145 80 -145q35 0 56.5 36.5t21.5 113.5z" />
+<glyph unicode="q" d="M321 70q-45 -80 -116 -80q-80 0 -127.5 68.5t-47.5 201.5q0 137 46 203.5t129 66.5q35 0 62.5 -17.5t56.5 -62.5h2l2 70h132v-740h-137v290h-2zM167 260q0 -77 21.5 -113.5t56.5 -36.5q80 0 80 145v10q0 145 -80 145q-78 0 -78 -150z" />
+<glyph unicode="r" d="M375 416q-69 0 -111 -52t-42 -144v-220h-137v520h135v-85h2q36 53 70.5 74t82.5 21q36 0 70 -10v-115q-36 11 -70 11z" />
+<glyph unicode="s" d="M265 418q-73 0 -73 -43q0 -22 14.5 -35t48.5 -20q109 -21 149.5 -60t40.5 -115q0 -74 -50.5 -114.5t-144.5 -40.5q-107 0 -190 35v120q87 -43 165 -43q45 0 64 11.5t19 36.5q0 22 -14 34t-54 21q-99 21 -142 62.5t-43 112.5t49 110.5t146 39.5q99 0 180 -30v-115 q-87 33 -165 33z" />
+<glyph unicode="t" d="M445 500v-109h-158v-201q0 -61 10.5 -74.5t57.5 -13.5q43 0 80 17v-114q-50 -15 -110 -15q-98 0 -136.5 36.5t-38.5 133.5v231h-105v109h105v190h137v-190h158z" />
+<glyph unicode="u" d="M445 0h-132l-2 70h-2q-50 -80 -124 -80q-77 0 -108.5 44.5t-31.5 165.5v320h135v-300q0 -70 11 -91t44 -21q73 0 73 175v237h137v-520z" />
+<glyph unicode="v" d="M251 90h2l79 430h138l-130 -520h-180l-130 520h142z" />
+<glyph unicode="w" d="M343 120h2l29 400h116l-70 -520h-137l-37 358h-2l-31 -358h-133l-70 520h124l29 -400h2l39 400h100z" />
+<glyph unicode="x" d="M251 335h2l69 185h143l-125 -260l125 -260h-152l-64 180h-2l-64 -180h-148l125 260l-125 260h147z" />
+<glyph unicode="y" d="M254 170h2l87 350h142l-237 -740h-138l85 230l-170 510h142z" />
+<glyph unicode="z" d="M275 411h-210v109h370v-109l-210 -300v-2h210v-109h-370v109l210 300v2z" />
+<glyph unicode="{" d="M187 301v-2q58 -24 85.5 -62t27.5 -100v-112q0 -73 12 -86.5t75 -13.5h53v-95h-107q-80 0 -116.5 37t-36.5 123v147q0 61 -22 88t-68 27h-40v96h40q46 0 68 27t22 88v147q0 86 36.5 123t116.5 37h107v-95h-53q-63 0 -75 -13.5t-12 -86.5v-112q0 -62 -27.5 -100t-85.5 -62 z" />
+<glyph unicode="|" d="M188 -220v1030h124v-1030h-124z" />
+<glyph unicode="}" d="M313 301q-58 24 -85.5 62t-27.5 100v112q0 73 -12 86.5t-75 13.5h-53v95h107q80 0 116.5 -37t36.5 -123v-147q0 -61 22 -88t68 -27h40v-96h-40q-46 0 -68 -27t-22 -88v-147q0 -86 -36.5 -123t-116.5 -37h-107v95h53q63 0 75 13.5t12 86.5v112q0 62 27.5 100t85.5 62v2z " />
+<glyph unicode="~" d="M40 568v107q45 35 100 35q63 0 131 -50q49 -37 84 -37q49 0 105 51v-107q-45 -35 -100 -35q-63 0 -131 50q-49 37 -84 37q-49 0 -105 -51z" />
+<glyph unicode="&#xa0;" />
+<glyph unicode="&#xa5;" d="M251 415h2l84 315h148l-132 -365h97v-95h-130v-65h130v-95h-130v-110h-140v110h-130v95h130v65h-130v95h97l-132 365h152z" />
+<glyph unicode="&#xad;" d="M90 240v110h320v-110h-320z" />
+<glyph unicode="&#x2000;" horiz-adv-x="407" />
+<glyph unicode="&#x2001;" horiz-adv-x="815" />
+<glyph unicode="&#x2002;" horiz-adv-x="407" />
+<glyph unicode="&#x2003;" horiz-adv-x="815" />
+<glyph unicode="&#x2004;" horiz-adv-x="271" />
+<glyph unicode="&#x2005;" horiz-adv-x="203" />
+<glyph unicode="&#x2006;" horiz-adv-x="135" />
+<glyph unicode="&#x2007;" horiz-adv-x="135" />
+<glyph unicode="&#x2008;" horiz-adv-x="101" />
+<glyph unicode="&#x2009;" horiz-adv-x="163" />
+<glyph unicode="&#x200a;" horiz-adv-x="45" />
+<glyph unicode="&#x2010;" d="M90 240v110h320v-110h-320z" />
+<glyph unicode="&#x2011;" d="M90 240v110h320v-110h-320z" />
+<glyph unicode="&#x2013;" d="M50 240v110h400v-110h-400z" />
+<glyph unicode="&#x2014;" d="M10 240v110h480v-110h-480z" />
+<glyph unicode="&#x2018;" d="M305 460h-190l130 320h120z" />
+<glyph unicode="&#x2019;" d="M190 780h190l-130 -320h-120z" />
+<glyph unicode="&#x201c;" d="M405 460h-170l130 320h100zM195 460h-170l130 320h100z" />
+<glyph unicode="&#x201d;" d="M300 780h170l-130 -320h-100zM90 780h170l-130 -320h-100z" />
+<glyph unicode="&#x2026;" horiz-adv-x="1000" d="M72 270v190h190v-190h-190zM405 270v190h190v-190h-190zM738 270v190h190v-190h-190z" />
+<glyph unicode="&#x202f;" horiz-adv-x="163" />
+<glyph unicode="&#x205f;" horiz-adv-x="203" />
+<glyph unicode="&#x2122;" horiz-adv-x="1000" d="M838 500h-2l-38 -300h-100l-38 300h-2v-500h-133v730h167l59 -400h2l59 400h163v-730h-137v500zM320 615v-615h-140v615h-145v115h430v-115h-145z" />
+</font>
+</defs></svg> 
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/fonts/mplus-1m-regular-webfont.svg
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/fonts/mplus-1m-regular-webfont.svg	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/fonts/mplus-1m-regular-webfont.svg	(revision 505)
@@ -0,0 +1,134 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
+<svg xmlns="http://www.w3.org/2000/svg">
+<metadata>
+This is a custom SVG webfont generated by Font Squirrel.
+Foundry URL : http://mplus-fonts.sourceforge.jp
+</metadata>
+<defs>
+<font id="webfontVd14f4NN" horiz-adv-x="500" >
+<font-face units-per-em="1000" ascent="860" descent="-140" />
+<missing-glyph horiz-adv-x="500" />
+<glyph unicode=" " />
+<glyph unicode="!" d="M200 730h100l-10 -515h-80zM195 0v130h110v-130h-110z" />
+<glyph unicode="&#x22;" d="M275 780h100l-20 -280h-60zM125 780h100l-20 -280h-60z" />
+<glyph unicode="#" d="M40 188v72h77l29 228h-71v72h80l21 170h82l-21 -170h76l21 170h82l-21 -170h65v-72h-74l-29 -228h68v-72h-77l-23 -188h-82l23 188h-76l-23 -188h-82l23 188h-68zM199 260h76l29 228h-76z" />
+<glyph unicode="$" d="M293 311v-214q58 21 58 108q0 71 -58 106zM293 19v-104h-76v101q-70 6 -137 49v95q65 -57 137 -69v251q-77 31 -109.5 75.5t-32.5 117.5q0 76 37 122.5t105 55.5v102h76v-102q69 -8 127 -38v-90q-52 38 -127 52v-237q77 -31 109.5 -76.5t32.5 -118.5q0 -163 -142 -186z M217 429v207q-58 -18 -58 -101q0 -73 58 -106z" />
+<glyph unicode="%" d="M60 260l380 290v-80l-380 -290v80zM160 740q61 0 95.5 -41t34.5 -119t-34.5 -119t-95.5 -41t-95.5 41t-34.5 119t34.5 119t95.5 41zM340 310q61 0 95.5 -41t34.5 -119t-34.5 -119t-95.5 -41t-95.5 41t-34.5 119t34.5 119t95.5 41zM160 488q52 0 52 92t-52 92t-52 -92 t52 -92zM340 58q52 0 52 92t-52 92t-52 -92t52 -92z" />
+<glyph unicode="&#x26;" d="M228 665q-38 0 -60.5 -20t-22.5 -55q0 -29 12.5 -59t53.5 -95q59 51 79 83.5t20 70.5q0 33 -22 54t-60 21zM151 385l-9 14q-47 71 -63.5 111.5t-16.5 79.5q0 66 45 108t118 42t119 -42t46 -108q0 -57 -30.5 -106.5t-106.5 -112.5l119 -183v217h80v-253q-13 -28 -26 -46 l69 -106h-87l-33 49q-69 -59 -175 -59q-82 0 -128.5 46t-46.5 129q0 107 126 220zM331 115l-137 206q-84 -79 -84 -153q0 -51 27 -77t78 -26q70 0 116 50z" />
+<glyph unicode="'" d="M195 780h110l-25 -280h-60z" />
+<glyph unicode="(" d="M125 315q0 275 194 455h76q-196 -184 -196 -455t196 -455h-76q-194 180 -194 455z" />
+<glyph unicode=")" d="M375 315q0 -275 -194 -455h-76q196 184 196 455t-196 455h76q194 -180 194 -455z" />
+<glyph unicode="*" d="M214 750h72l-3 -169l160 55l22 -68l-161 -50l101 -135l-58 -42l-97 138l-97 -138l-58 42l101 135l-161 50l22 68l160 -55z" />
+<glyph unicode="+" d="M291 555v-214h149v-72h-149v-214h-82v214h-149v72h149v214h82z" />
+<glyph unicode="," d="M210 150h120l-110 -280h-70z" />
+<glyph unicode="-" d="M100 269v72h300v-72h-300z" />
+<glyph unicode="." d="M185 0v150h130v-150h-130z" />
+<glyph unicode="/" d="M452 730l-332 -770h-72l332 770h72z" />
+<glyph unicode="0" d="M250 740q48 0 82 -18t59 -60t37 -115.5t12 -181.5t-12 -181.5t-37 -115.5t-59 -60t-82 -18t-82 18t-59 60t-37 115.5t-12 181.5t12 181.5t37 115.5t59 60t82 18zM142 249l196 339q-26 82 -88 82q-36 0 -60 -26t-38 -95t-14 -184q0 -50 4 -116zM158 155q26 -95 92 -95 q36 0 60 26t38 95t14 184q0 78 -6 133z" />
+<glyph unicode="1" d="M258 0v645l-2 1l-173 -101v80l175 105h82v-730h-82z" />
+<glyph unicode="2" d="M175 74v-2h245v-72h-340v72q251 288 251 478q0 116 -93 116q-30 0 -76 -22.5t-82 -55.5v87q75 65 170 65q85 0 125 -47t40 -143q0 -99 -54 -208t-186 -268z" />
+<glyph unicode="3" d="M330 656v2h-250v72h345v-72l-180 -229v-2h10q91 0 133 -51t42 -166q0 -220 -195 -220q-73 0 -145 30v87q77 -43 130 -43q64 0 95 34.5t31 111.5q0 89 -25 117t-101 28h-70v72z" />
+<glyph unicode="4" d="M293 590h-2l-175 -341v-2h177v343zM293 175h-253v82l243 473h92v-483h85v-72h-85v-175h-82v175z" />
+<glyph unicode="5" d="M180 430h2q33 30 88 30q160 0 160 -230q0 -125 -49.5 -182.5t-145.5 -57.5q-74 0 -145 30v87q75 -43 140 -43q116 0 116 166q0 156 -96 156q-46 0 -80 -41h-75l10 385h305v-72h-223z" />
+<glyph unicode="6" d="M285 740q61 0 115 -20v-77q-50 25 -105 25q-70 0 -101 -48.5t-39 -184.5h2q50 50 113 50q87 0 128.5 -56t41.5 -184q0 -134 -46.5 -194.5t-138.5 -60.5q-65 0 -104 28.5t-60 101.5t-21 200q0 158 25.5 252t71 131t118.5 37zM255 62q54 0 78.5 39t24.5 144q0 94 -23.5 132 t-74.5 38q-106 0 -106 -160q0 -107 25 -150t76 -43z" />
+<glyph unicode="7" d="M345 656v2h-270v72h350v-72q-128 -296 -210 -658h-88q84 353 218 656z" />
+<glyph unicode="8" d="M255 670q-53 0 -81.5 -27.5t-28.5 -77.5q0 -54 29 -94t76 -51q52 14 80.5 51.5t28.5 93.5q0 47 -28.5 76t-75.5 29zM250 -10q-96 0 -148 51t-52 149q0 68 33 119t92 75v2q-48 23 -79 73.5t-31 105.5q0 82 49 128.5t136 46.5t136 -47t49 -128q0 -56 -30.5 -103.5 t-79.5 -70.5v-2q59 -23 92 -75t33 -124q0 -98 -52 -149t-148 -51zM255 60q53 0 84 33.5t31 96.5q0 130 -125 160q-61 -16 -90 -54.5t-29 -105.5q0 -62 35 -96t94 -34z" />
+<glyph unicode="9" d="M215 -10q-61 0 -115 20v80q52 -26 105 -26q70 0 101 47.5t39 183.5h-2q-50 -50 -113 -50q-84 0 -127 59t-43 191q0 126 46 185.5t139 59.5q68 0 107 -28t58.5 -100.5t19.5 -201.5q0 -158 -25.5 -252t-71 -131t-118.5 -37zM245 668q-55 0 -79 -38t-24 -135t25 -138.5 t73 -41.5q49 0 77.5 41.5t28.5 128.5q0 100 -25 141.5t-76 41.5z" />
+<glyph unicode=":" d="M190 390v150h120v-150h-120zM190 0v150h120v-150h-120z" />
+<glyph unicode=";" d="M200 150h120l-110 -280h-70zM200 390v150h120v-150h-120z" />
+<glyph unicode="&#x3c;" d="M435 510l-330 -204v-2l330 -204v-80l-380 245v80l380 245v-80z" />
+<glyph unicode="=" d="M60 165v72h380v-72h-380zM60 373v72h380v-72h-380z" />
+<glyph unicode="&#x3e;" d="M65 510v80l380 -245v-80l-380 -245v80l330 204v2z" />
+<glyph unicode="?" d="M445 580q0 -41 -14 -77t-28.5 -55t-42.5 -49q-29 -33 -43 -52t-28 -55t-14 -77h-80q0 55 16.5 101.5t32.5 68t47 56.5q24 27 36 42.5t23 41.5t11 55q0 41 -29.5 63.5t-86.5 22.5q-85 0 -180 -61v90q93 45 190 45q91 0 140.5 -42t49.5 -118zM180 0v130h110v-130h-110z" />
+<glyph unicode="@" d="M375 258v167q0 41 -16 63t-44 22q-40 0 -56 -29.5t-16 -115.5q0 -82 17 -113.5t55 -31.5q44 0 60 38zM165 365q0 215 140 215q38 0 73 -25h2v5q0 50 -27.5 79t-72.5 29q-83 0 -124 -70.5t-41 -232.5q0 -166 40 -234.5t125 -68.5q62 0 125 38v-80q-59 -30 -130 -30 q-122 0 -181 86t-59 289q0 197 60.5 286t179.5 89q87 0 133.5 -50t46.5 -150v-325q-65 -65 -140 -65q-76 0 -113 49t-37 166z" />
+<glyph unicode="A" d="M249 660h-2l-83 -380h168zM348 210h-200l-46 -210h-82l180 730h100l180 -730h-86z" />
+<glyph unicode="B" d="M157 430h45q80 0 116.5 29.5t36.5 90.5q0 57 -36 88.5t-102 31.5q-36 0 -60 -8v-232zM157 360v-292q37 -8 90 -8q126 0 126 160q0 140 -161 140h-55zM455 210q0 -220 -225 -220q-80 0 -155 15v720q75 15 155 15q205 0 205 -180q0 -61 -30.5 -103t-84.5 -56v-2 q58 -11 96.5 -64t38.5 -125z" />
+<glyph unicode="C" d="M55 365q0 197 60.5 286t179.5 89q66 0 125 -30v-75q-60 33 -120 33q-165 0 -165 -303q0 -164 42 -233.5t123 -69.5q62 0 125 38v-80q-59 -30 -130 -30q-122 0 -181 86t-59 289z" />
+<glyph unicode="D" d="M383 365q0 168 -43.5 235.5t-137.5 67.5q-33 0 -55 -8v-590q22 -8 55 -8q65 0 102.5 24.5t58 91.5t20.5 187zM465 365q0 -207 -63.5 -291t-199.5 -84q-70 0 -137 15v720q67 15 137 15q137 0 200 -85.5t63 -289.5z" />
+<glyph unicode="E" d="M162 658v-228h248v-70h-248v-288h258v-72h-340v730h340v-72h-258z" />
+<glyph unicode="F" d="M172 360v-360h-82v730h330v-72h-248v-228h238v-70h-238z" />
+<glyph unicode="G" d="M370 85v275h-155v70h235v-400q-80 -40 -170 -40q-118 0 -179 89t-61 286q0 196 63.5 285.5t191.5 89.5q59 0 130 -25v-77q-66 30 -130 30q-87 0 -132 -72t-45 -231q0 -303 167 -303q45 0 85 23z" />
+<glyph unicode="H" d="M140 730v-298h216v298h84v-730h-84v360h-216v-360h-80v730h80z" />
+<glyph unicode="I" d="M410 0h-320v70h118v590h-118v70h320v-70h-118v-590h118v-70z" />
+<glyph unicode="J" d="M400 730v-540q0 -110 -43.5 -155t-146.5 -45q-82 0 -150 30v87q29 -17 75.5 -31t74.5 -14q53 0 79 30.5t26 99.5v468h-165v70h250z" />
+<glyph unicode="K" d="M157 400h2l206 330h95l-225 -350l230 -380h-95l-211 360h-2v-360h-82v730h82v-330z" />
+<glyph unicode="L" d="M182 730v-658h238v-72h-320v730h82z" />
+<glyph unicode="M" d="M378 540h-2l-88 -340h-80l-88 340h-2v-540h-78v730h92l119 -450h2l119 450h88v-730h-82v540z" />
+<glyph unicode="N" d="M151 550h-2v-550h-84v730h84l204 -550h2v550h80v-730h-80z" />
+<glyph unicode="O" d="M250 740q107 0 158.5 -84.5t51.5 -290.5t-51.5 -290.5t-158.5 -84.5t-158.5 84.5t-51.5 290.5t51.5 290.5t158.5 84.5zM250 62q44 0 71 25.5t43 93.5t16 184t-16 184t-43 93.5t-71 25.5t-71 -25.5t-43 -93.5t-16 -184t16 -184t43 -93.5t71 -25.5z" />
+<glyph unicode="P" d="M375 520q0 79 -36 114.5t-112 35.5q-41 0 -70 -8v-292q30 -5 70 -5q77 0 112.5 35.5t35.5 119.5zM455 520q0 -120 -52.5 -172.5t-165.5 -52.5q-35 0 -80 5v-300h-82v725q78 15 160 15q114 0 167 -52.5t53 -167.5z" />
+<glyph unicode="Q" d="M250 740q107 0 158.5 -84.5t51.5 -290.5q0 -273 -100 -344v-2q41 -21 73 -66t47 -103h-88q-21 78 -54 109t-88 31q-107 0 -158.5 84.5t-51.5 290.5t51.5 290.5t158.5 84.5zM250 62q44 0 71 25.5t43 93.5t16 184t-16 184t-43 93.5t-71 25.5t-71 -25.5t-43 -93.5t-16 -184 t16 -184t43 -93.5t71 -25.5z" />
+<glyph unicode="R" d="M370 540q0 130 -148 130q-41 0 -70 -8v-272h60q87 0 122.5 33.5t35.5 116.5zM152 320v-320h-82v725q78 15 160 15q112 0 166 -49.5t54 -150.5q0 -143 -109 -193v-2q31 -15 66 -131l63 -214h-86l-59 216q-17 64 -41 84t-82 20h-50z" />
+<glyph unicode="S" d="M260 668q-47 0 -77.5 -30.5t-30.5 -77.5q0 -50 21.5 -82.5t71.5 -55.5q111 -49 153 -102.5t42 -139.5q0 -94 -51.5 -142t-148.5 -48q-91 0 -165 55v95q80 -78 170 -78q113 0 113 118q0 55 -26 91t-87 64q-94 42 -134.5 95.5t-40.5 129.5q0 80 51 130t134 50q53 0 87 -8 t78 -32v-90q-77 58 -160 58z" />
+<glyph unicode="T" d="M209 0v660h-154v70h390v-70h-154v-660h-82z" />
+<glyph unicode="U" d="M250 -10q-95 0 -142.5 48.5t-47.5 151.5v540h84v-520q0 -81 26.5 -114.5t81.5 -33.5t81.5 33.5t26.5 114.5v520h80v-540q0 -103 -47.5 -151.5t-142.5 -48.5z" />
+<glyph unicode="V" d="M253 70l135 660h82l-170 -730h-100l-170 730h86l135 -660h2z" />
+<glyph unicode="W" d="M153 120h2l54 510h90l54 -510h2l45 610h75l-60 -730h-109l-55 520h-2l-55 -520h-109l-60 730h83z" />
+<glyph unicode="X" d="M251 440h2l112 290h83l-148 -355l150 -375h-90l-111 305h-2l-112 -305h-85l150 375l-148 355h88z" />
+<glyph unicode="Y" d="M251 375h2l132 355h85l-179 -440v-290h-82v290l-179 440h90z" />
+<glyph unicode="Z" d="M335 658v2h-260v70h350v-70l-260 -588v-2h260v-70h-350v70z" />
+<glyph unicode="[" d="M390 710h-178v-790h178v-60h-250v910h250v-60z" />
+<glyph unicode="\" d="M48 730h72l332 -770h-72z" />
+<glyph unicode="]" d="M110 710v60h250v-910h-250v60h178v790h-178z" />
+<glyph unicode="^" d="M251 680h-2l-147 -400h-72l170 450h100l170 -450h-72z" />
+<glyph unicode="_" d="M50 -140v56h400v-56h-400z" />
+<glyph unicode="`" d="M130 810h120l100 -280h-70z" />
+<glyph unicode="a" d="M255 530q100 0 137.5 -40t37.5 -150v-340h-72l-2 75h-2q-47 -85 -149 -85q-65 0 -105 41.5t-40 113.5q0 91 61.5 140.5t183.5 49.5h48v25q0 57 -22 80t-76 23q-33 0 -84 -12t-86 -28v72q35 15 85 25t85 10zM353 275h-48q-170 0 -170 -125q0 -45 23 -69t62 -24q59 0 96 48 t37 135v35z" />
+<glyph unicode="b" d="M144 445h2q43 85 134 85q175 0 175 -270q0 -135 -48 -202.5t-127 -67.5q-84 0 -137 85h-2l-2 -75h-74v730h79v-285zM376 260q0 195 -116 195q-51 0 -83.5 -49.5t-32.5 -140.5v-10q0 -91 32.5 -140.5t83.5 -49.5q53 0 84.5 48.5t31.5 146.5z" />
+<glyph unicode="c" d="M70 260q0 134 55 202t155 68q61 0 125 -25v-80q-60 33 -120 33q-63 0 -98 -50t-35 -148q0 -101 37 -151t101 -50q59 0 120 36v-80q-64 -25 -125 -25q-102 0 -158.5 67.5t-56.5 202.5z" />
+<glyph unicode="d" d="M356 730h79v-730h-74l-2 75h-2q-53 -85 -137 -85q-79 0 -127 67.5t-48 202.5q0 270 175 270q91 0 134 -85h2v285zM124 260q0 -98 31.5 -146.5t84.5 -48.5q51 0 83.5 49.5t32.5 140.5v10q0 91 -32.5 140.5t-83.5 49.5q-116 0 -116 -195z" />
+<glyph unicode="e" d="M138 234q4 -93 38 -134t99 -41q61 0 135 36v-80q-74 -25 -140 -25q-215 0 -215 270q0 141 50 205.5t150 64.5q91 0 135.5 -62t44.5 -203q0 -11 -2 -31h-295zM138 300h218q-1 161 -101 161q-57 0 -85 -36t-32 -125z" />
+<glyph unicode="f" d="M75 431v69h120v60q0 98 33 139t107 41q45 0 90 -15v-72q-38 18 -75 18q-47 0 -61.5 -23.5t-14.5 -107.5v-40h151v-69h-151v-431h-79v431h-120z" />
+<glyph unicode="g" d="M50 260q0 270 175 270q83 0 137 -85h2l2 75h74v-515q0 -125 -50.5 -180t-154.5 -55q-71 0 -140 25v80q71 -36 140 -36q126 0 126 166v80h-2q-43 -85 -134 -85q-80 0 -127.5 66t-47.5 194zM129 260q0 -92 31.5 -138.5t84.5 -46.5q52 0 84 45.5t32 134.5v10 q0 91 -32.5 140.5t-83.5 49.5q-58 0 -87 -46.5t-29 -148.5z" />
+<glyph unicode="h" d="M440 330v-330h-77v312q0 88 -20 117.5t-73 29.5q-50 0 -85.5 -56t-35.5 -151v-252h-79v730h79v-285h2q19 39 56.5 62t82.5 23q79 0 114.5 -45.5t35.5 -154.5z" />
+<glyph unicode="i" d="M316 520v-452h109v-68h-330v68h139v384h-109v68h191zM214 640v120h102v-120h-102z" />
+<glyph unicode="j" d="M249 -33v485h-119v68h201v-553q0 -65 -8.5 -101t-36.5 -59t-72 -30t-123 -7v68q40 0 63 1t42.5 6.5t28.5 12.5t15.5 23.5t7.5 34.5t1 51zM229 640v120h102v-120h-102z" />
+<glyph unicode="k" d="M460 520l-230 -250l230 -270h-95l-206 253v-253h-79v730h79v-444l207 234h94z" />
+<glyph unicode="l" d="M281 150q0 -66 10.5 -79t63.5 -13q33 0 75 6v-69q-47 -5 -85 -5q-90 0 -118 28.5t-28 121.5v522h-129v68h211v-580z" />
+<glyph unicode="m" d="M290 0h-78v360q-1 58 -10.5 77.5t-32.5 19.5q-20 0 -35 -24t-25 -83.5t-10 -149.5v-200h-79v520h70l2 -70h2q17 38 42.5 59t53.5 21q31 0 50.5 -18.5t33.5 -61.5h2q39 80 104 80q53 0 76.5 -32.5t23.5 -117.5v-380h-77v360q-1 59 -11.5 78t-37.5 19q-64 0 -64 -197v-260z " />
+<glyph unicode="n" d="M440 330v-330h-77v312q0 88 -20 117.5t-73 29.5q-50 0 -85.5 -56t-35.5 -151v-252h-79v520h74l2 -75h2q19 38 58 61.5t84 23.5q79 0 114.5 -45.5t35.5 -154.5z" />
+<glyph unicode="o" d="M250 530q200 0 200 -270t-200 -270t-200 270t200 270zM250 59q61 0 89.5 45.5t28.5 155.5t-28.5 155.5t-89.5 45.5t-89.5 -45.5t-28.5 -155.5t28.5 -155.5t89.5 -45.5z" />
+<glyph unicode="p" d="M141 75h-2v-295h-79v740h74l2 -75h2q54 85 137 85q175 0 175 -270q0 -135 -48 -202.5t-127 -67.5q-91 0 -134 85zM371 260q0 195 -116 195q-51 0 -83.5 -49.5t-32.5 -140.5v-10q0 -91 32.5 -140.5t83.5 -49.5q53 0 84.5 48.5t31.5 146.5z" />
+<glyph unicode="q" d="M359 75q-43 -85 -134 -85q-79 0 -127 67.5t-48 202.5q0 270 175 270q83 0 137 -85h2l2 75h74v-740h-79v295h-2zM129 260q0 -98 31.5 -146.5t84.5 -48.5q51 0 83.5 49.5t32.5 140.5v10q0 91 -32.5 140.5t-83.5 49.5q-116 0 -116 -195z" />
+<glyph unicode="r" d="M186 520v-100h2q62 110 172 110q37 0 70 -10v-70q-35 11 -70 11q-73 0 -122 -61t-49 -160v-240h-79v520h76z" />
+<glyph unicode="s" d="M255 463q-96 0 -96 -73q0 -34 21 -54.5t75 -35.5q106 -30 140.5 -63t34.5 -102t-47 -107t-133 -38t-165 40v80q78 -53 155 -53q111 0 111 78q0 37 -21.5 57t-84.5 38q-92 26 -128.5 62t-36.5 98q0 66 43.5 103t126.5 37q84 0 160 -35v-75q-79 43 -155 43z" />
+<glyph unicode="t" d="M244 500h181v-69h-181v-281q0 -56 16.5 -74.5t64.5 -18.5q50 0 90 18v-70q-48 -15 -100 -15q-84 0 -117 32.5t-33 117.5v291h-100v69h100v190h79v-190z" />
+<glyph unicode="u" d="M65 180v340h77v-322q0 -83 18.5 -110t69.5 -27q49 0 82.5 55t33.5 152v252h79v-520h-74l-2 75h-2q-19 -40 -56 -62.5t-81 -22.5q-77 0 -111 43t-34 147z" />
+<glyph unicode="v" d="M251 60h2l115 460h82l-145 -520h-110l-145 520h86z" />
+<glyph unicode="w" d="M351 80h2l49 440h78l-80 -520h-99l-54 440h-2l-49 -440h-96l-80 520h82l49 -440h2l49 440h100z" />
+<glyph unicode="x" d="M251 305h2l104 215h88l-145 -260l145 -260h-94l-102 215h-2l-102 -215h-90l145 260l-145 260h92z" />
+<glyph unicode="y" d="M259 120h2l117 400h87l-240 -740h-83l78 230l-175 510h88z" />
+<glyph unicode="z" d="M80 520h340v-69l-248 -380v-2h248v-69h-340v69l248 380v2h-248v69z" />
+<glyph unicode="{" d="M195 316l4 -2q81 -38 81 -149v-135q0 -72 16.5 -91t78.5 -19h40v-60h-65q-73 0 -107.5 35.5t-34.5 114.5v150q0 66 -21.5 95.5t-66.5 29.5h-45v60h45q45 0 66.5 29.5t21.5 95.5v150q0 79 34.5 114.5t107.5 35.5h65v-60h-40q-62 0 -78.5 -19t-16.5 -91v-135q0 -61 -20 -95 t-65 -54z" />
+<glyph unicode="|" d="M212 -220v1030h76v-1030h-76z" />
+<glyph unicode="}" d="M305 316q-45 20 -65 54t-20 95v135q0 72 -16.5 91t-78.5 19h-40v60h65q73 0 107.5 -35.5t34.5 -114.5v-150q0 -66 21.5 -95.5t66.5 -29.5h45v-60h-45q-45 0 -66.5 -29.5t-21.5 -95.5v-150q0 -79 -34.5 -114.5t-107.5 -35.5h-65v60h40q62 0 78.5 19t16.5 91v135 q0 111 81 149z" />
+<glyph unicode="~" d="M50 602v75q42 33 95 33q61 0 125 -48q48 -35 80 -35q25 0 47 10t53 39v-75q-42 -33 -95 -33q-61 0 -125 48q-47 35 -80 35q-25 0 -47 -10t-53 -39z" />
+<glyph unicode="&#xa0;" />
+<glyph unicode="&#xa5;" d="M251 375h2l132 355h85l-153 -375h123v-65h-149v-85h149v-65h-149v-140h-82v140h-149v65h149v85h-149v65h123l-153 375h90z" />
+<glyph unicode="&#xad;" d="M100 269v72h300v-72h-300z" />
+<glyph unicode="&#x2000;" horiz-adv-x="407" />
+<glyph unicode="&#x2001;" horiz-adv-x="815" />
+<glyph unicode="&#x2002;" horiz-adv-x="407" />
+<glyph unicode="&#x2003;" horiz-adv-x="815" />
+<glyph unicode="&#x2004;" horiz-adv-x="271" />
+<glyph unicode="&#x2005;" horiz-adv-x="203" />
+<glyph unicode="&#x2006;" horiz-adv-x="135" />
+<glyph unicode="&#x2007;" horiz-adv-x="135" />
+<glyph unicode="&#x2008;" horiz-adv-x="101" />
+<glyph unicode="&#x2009;" horiz-adv-x="163" />
+<glyph unicode="&#x200a;" horiz-adv-x="45" />
+<glyph unicode="&#x2010;" d="M100 269v72h300v-72h-300z" />
+<glyph unicode="&#x2011;" d="M100 269v72h300v-72h-300z" />
+<glyph unicode="&#x2013;" d="M60 269v72h380v-72h-380z" />
+<glyph unicode="&#x2014;" d="M20 269v72h460v-72h-460z" />
+<glyph unicode="&#x2018;" d="M275 500h-120l110 280h70z" />
+<glyph unicode="&#x2019;" d="M220 780h120l-110 -280h-70z" />
+<glyph unicode="&#x201c;" d="M340 500h-110l110 280h60zM190 500h-110l110 280h60z" />
+<glyph unicode="&#x201d;" d="M300 780h110l-110 -280h-60zM150 780h110l-110 -280h-60z" />
+<glyph unicode="&#x2026;" horiz-adv-x="1000" d="M102 288v150h130v-150h-130zM435 288v150h130v-150h-130zM768 288v150h130v-150h-130z" />
+<glyph unicode="&#x202f;" horiz-adv-x="163" />
+<glyph unicode="&#x205f;" horiz-adv-x="203" />
+<glyph unicode="&#x2122;" horiz-adv-x="1000" d="M878 540h-2l-88 -340h-80l-88 340h-2v-540h-78v730h92l119 -450h2l119 450h88v-730h-82v540zM209 0v660h-154v70h390v-70h-154v-660h-82z" />
+</font>
+</defs></svg> 
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/fonts/stylesheet.css
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/fonts/stylesheet.css	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/fonts/stylesheet.css	(revision 505)
@@ -0,0 +1,44 @@
+/* Generated by Font Squirrel (http://www.fontsquirrel.com) on September 11, 2010 04:44:41 PM America/New_York */
+
+
+
+@font-face {
+	font-family: 'M1mthin';
+	src: url('mplus-1m-thin-webfont.eot');
+	src: local('âº'), url('mplus-1m-thin-webfont.woff') format('woff'), url('mplus-1m-thin-webfont.ttf') format('truetype'), url('mplus-1m-thin-webfont.svg#webfont8E89OCqX') format('svg');
+	font-weight: normal;
+	font-style: normal;
+}
+
+@font-face {
+	font-family: 'M1mlight';
+	src: url('mplus-1m-light-webfont.eot');
+	src: local('âº'), url('mplus-1m-light-webfont.woff') format('woff'), url('mplus-1m-light-webfont.ttf') format('truetype'), url('mplus-1m-light-webfont.svg#webfontupkFZh1U') format('svg');
+	font-weight: normal;
+	font-style: normal;
+}
+
+@font-face {
+	font-family: 'M1mregular';
+	src: url('mplus-1m-regular-webfont.eot');
+	src: local('âº'), url('mplus-1m-regular-webfont.woff') format('woff'), url('mplus-1m-regular-webfont.ttf') format('truetype'), url('mplus-1m-regular-webfont.svg#webfontVd14f4NN') format('svg');
+	font-weight: normal;
+	font-style: normal;
+}
+
+@font-face {
+	font-family: 'M1mmedium';
+	src: url('mplus-1m-medium-webfont.eot');
+	src: local('âº'), url('mplus-1m-medium-webfont.woff') format('woff'), url('mplus-1m-medium-webfont.ttf') format('truetype'), url('mplus-1m-medium-webfont.svg#webfontdB2YMuVi') format('svg');
+	font-weight: normal;
+	font-style: normal;
+}
+
+@font-face {
+	font-family: 'M1mbold';
+	src: url('mplus-1m-bold-webfont.eot');
+	src: local('âº'), url('mplus-1m-bold-webfont.woff') format('woff'), url('mplus-1m-bold-webfont.ttf') format('truetype'), url('mplus-1m-bold-webfont.svg#webfontIjI5mZqE') format('svg');
+	font-weight: normal;
+	font-style: normal;
+}
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/handheld.css
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/handheld.css	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/handheld.css	(revision 505)
@@ -0,0 +1,207 @@
+/*
+ * TABLE OF CONTENTS:
+ * - Browser reset
+ * - HTML elements
+ * - JsDoc styling
+ * - Media query check
+ */
+
+
+
+
+
+
+/*
+ * HTML ELEMENTS
+ */
+
+body {
+	padding: 1% 4% 1% 4%;
+}
+
+/*
+ * HTML ELEMENTS
+ */
+
+
+
+ 
+ 
+/*
+ * BEGIN JSDOC
+ */
+
+/* Start menu */
+div.index div.menu {
+	position: fixed;
+	top: 0;
+	right: 0;
+	-moz-border-radius-bottomleft: 15px;
+	-webkit-border-bottom-left-radius: 15px;
+	-border-bottom-left-radius: 15px;
+	padding: 4px 5px 8px 10px;
+	-moz-box-shadow: 0px 0px 10px #c4c4c4;
+	-webkit-box-shadow: 0px 0px 10px #c4c4c4;
+	box-shadow: 0px 0px 10px #c4c4c4;
+	background-color: rgba(255, 255, 255, 0.9);
+}
+
+div.index div.indexLinks a {
+	float: right;
+	clear: both;
+	font-size: 1.1em;
+}
+
+div.index *.heading1 {
+	display:none;
+}
+
+div.index ul.classList {
+	display:none;
+}
+
+div.index div.fineprint {
+	display:none;
+}
+
+div.indexStatic {
+	display: none;
+}
+/* End menu */
+
+
+
+/* Start content */
+div.content *.classTitle {
+	margin-right: 60px;
+	margin-bottom: 0.8em;
+	font-size: 2em
+}
+
+div.content p.description.summary {
+	margin-bottom: 0.2em;
+}
+
+div.content div.props {
+	margin: 1.5em -2% 0 -2%;
+	padding: 2%;
+}
+
+table.summaryTable {
+	position: relative;
+	left: -10px;
+	width: 100%;
+	border-collapse: collapse;
+	box-sizing: content-box;
+	-moz-box-sizing: content-box;
+	-webkit-box-sizing: content-box;
+	-ms-box-sizing: content-box;
+	-o-box-sizing: content-box;
+	-icab-box-sizing: content-box;
+	-khtml-box-sizing: content-box; 
+}
+
+table.summaryTable caption {
+	padding: 0 10px 10px 10px;
+}
+
+table.summaryTable td,
+table.summaryTable th {
+	padding: 0px 10px 10px 10px;
+}
+table.summaryTable tr:last-child td {
+	padding-bottom: 0;
+}
+
+table.summaryTable td.attributes {
+	width: 35%;
+}
+
+table.summaryTable td.nameDescription {
+	width: 65%
+}
+
+
+
+dl.detailList {
+	margin-top: 0.5em;
+}
+
+dl.detailList.nomargin + dl.detailList.nomargin {
+	margin-top: 0;
+}
+
+dl.detailList dt {
+	display: inline;
+	margin-right: 5px;
+}
+
+dl.detailList dt:before {
+	display: block;
+	content: "";
+}
+
+dl.detailList dd {
+	display: inline;
+}
+
+dl.detailList.params dt {
+	display: block;
+}
+dl.detailList.params dd {
+	display: block;
+	padding-left: 2em;
+	padding-bottom: 0.4em;
+}
+
+
+
+
+ul.fileList li {
+	margin-bottom: 1.5em;
+}
+
+
+
+.fixedFont.heading {
+	margin-bottom: 0.5em;
+}
+
+pre.code {
+	margin: 10px 0 10px 0;
+	padding: 10px;
+	border: 1px solid #ccc;
+	-moz-border-radius: 2px;
+	-webkit-border-radius: 2px;
+	border-radius: 2px;
+}
+/* End content */
+
+/*
+ * END JSDOC
+ */
+
+
+
+
+
+
+
+/*
+ * START MEDIA QUERY CHECK
+ */
+
+.cssLoadCheck {
+	position: absolute;
+	top: -99999px;
+	left: -99999px;
+	border: 0;
+	width: 100px;
+	padding: 0;
+	overflow: hidden;
+}
+
+/*
+ * END MEDIA QUERY CHECK
+ */
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/screen.css
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/screen.css	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/css/screen.css	(revision 505)
@@ -0,0 +1,280 @@
+/*
+ * TABLE OF CONTENTS:
+ * - JsDoc styling
+ * - Media query check
+ */
+
+
+
+
+
+
+/*
+ * BEGIN JSDOC
+ */
+
+/* Start menu */
+div.index {
+	position: fixed;
+	top: 0;
+	bottom: 0;
+	float: left;
+	width: 30%;
+	min-width: 100px;
+	max-width: 300px;
+	padding: 0 0 10px 0;
+	overflow: auto;
+}
+
+div.index *.heading1 {
+	padding: 8px 0 0.4em 0;
+}
+
+div.index div.menu {
+	margin: 0 15px 0 -15px;
+	-moz-border-radius-bottomright: 15px;
+	-webkit-border-bottom-right-radius: 15px;
+	-border-bottom-right-radius: 15px;
+  	padding: 15px 15px 15px 30px;
+	-moz-box-shadow: 0px 0px 10px #c4c4c4;
+	-webkit-box-shadow: 0px 0px 10px #c4c4c4;
+	box-shadow: 0px 0px 10px #c4c4c4;
+	background-color: rgba(255, 255, 255, 0.5);
+}
+
+div.index div.indexLinks {
+	margin-top: 13px;
+	position: absolute;
+	right: 30px;
+}
+
+div.index div.indexLinks a {
+	color: #999999;
+	text-transform: lowercase;
+}
+
+div.index div.indexLinks a:first-child {
+	margin-right: 3px;
+	border-right: 1px solid #999999;
+	padding-right: 5px;
+}
+
+div.index ul.classList a {
+	line-height: 1.1em;
+	font-family: Consolas, "Courier New", Courier, monospace;
+}
+
+div.index ul.classList a + a {
+	margin-left: 0.5em;
+}
+
+div.index div.fineprint {
+	margin: 1em 0 0 15px;
+	color: #777;
+	font-size: 0.9em;
+}
+
+div.index div.fineprint a {
+	color: #777;
+}
+
+div.indexStatic {
+	position: static;
+	min-height: 1em;
+}
+/* End menu */
+
+
+/* Start content */
+div.content {
+	float: left;
+	width: 70%;
+	min-width: 300px;
+	max-width: 600px;
+}
+div.innerContent {
+	padding: 0 0 0 2.5em;
+}
+
+div.content ul,
+div.content ol {
+	margin-bottom: 3em;
+}
+
+div.content *.classTitle {
+	position: relative;
+	left: -10px;
+	margin: -30px 0 0.5em 0;
+	-moz-border-radius: 15px;
+	-webkit-border-radius: 15px;
+	border-radius: 15px;
+  	padding: 25px 15px 15px 15px;
+	background-color: #FFFFFF;
+	background-color: rgba(255, 255, 255, 0.5);
+	-moz-box-shadow: 0px 0px 10px #c4c4c4;
+	-webkit-box-shadow: 0px 0px 10px #c4c4c4;
+	box-shadow: 0px 0px 10px #c4c4c4;
+}
+
+div.content p.summary {
+	margin-bottom: 0.5em;
+}
+
+div.content ul.summary {
+	margin-bottom: 1.5em;
+}
+
+div.content ul *.classname a,
+div.content ul *.filename a {
+	font-family: Consolas, "Courier New", Courier, monospace;
+	text-decoration: none;
+	font-weight: bold;
+}
+div.content ul *.classname a:hover,
+div.content ul *.filename a:hover {
+	text-decoration: underline;
+}
+
+div.content div.props {
+	position: relative;
+	left: -10px;
+	margin-bottom: 2.5em;
+	padding: 10px 15px 15px 15px;
+	overflow: hidden;
+}
+
+div.content div.props div.sectionTitle {
+	padding-bottom: 10px;
+}
+
+div.content div.hr {
+	margin: 0 10px 0 0;
+	height: 4em;
+}
+
+
+
+table.summaryTable {
+	position: relative;
+	left: -10px;
+	width: 100%;
+	border-collapse: collapse;
+	box-sizing: content-box;
+	-moz-box-sizing: content-box;
+	-webkit-box-sizing: content-box;
+	-ms-box-sizing: content-box;
+	-o-box-sizing: content-box;
+	-icab-box-sizing: content-box;
+	-khtml-box-sizing: content-box; 
+}
+
+table.summaryTable caption {
+	padding: 0 10px 10px 10px;
+}
+
+table.summaryTable td,
+table.summaryTable th {
+	padding: 0px 10px 10px 10px;
+}
+table.summaryTable tr:last-child td {
+	padding-bottom: 0;
+}
+
+table.summaryTable td.attributes {
+	width: 35%;
+}
+
+table.summaryTable td.nameDescription {
+	width: 65%
+}
+
+
+
+dl.detailList {
+	margin-top: 0.5em;
+}
+
+dl.detailList.nomargin + dl.detailList.nomargin {
+	margin-top: 0;
+}
+
+dl.detailList dt {
+	display: inline;
+	margin-right: 5px;
+}
+
+dl.detailList dt:before {
+	display: block;
+	content: "";
+}
+
+dl.detailList dd {
+	display: inline;
+}
+
+dl.detailList.params dt {
+	display: block;
+}
+dl.detailList.params dd {
+	display: block;
+	padding-left: 2em;
+	padding-bottom: 0.4em;
+}
+
+
+
+
+ul.fileList li {
+	margin-bottom: 1.5em;
+}
+
+
+
+.fixedFont.heading {
+	margin-bottom: 0.5em;
+}
+
+pre.code {
+	margin: 10px 0 10px 0;
+	padding: 10px;
+	border: 1px solid #ccc;
+	-moz-border-radius: 2px;
+	-webkit-border-radius: 2px;
+	border-radius: 2px;
+}
+/* End content */
+
+.clear {
+	clear: both;
+	width: 100%;
+	min-height: 0;
+}
+
+/*
+ * END JSDOC
+ */
+
+
+
+
+
+
+
+/*
+ * START MEDIA QUERY CHECK
+ */
+
+.cssLoadCheck {
+	position: absolute;
+	top: -99999px;
+	left: -99999px;
+	border: 0;
+	width: 100px;
+	padding: 0;
+	overflow: hidden;
+}
+
+/*
+ * END MEDIA QUERY CHECK
+ */
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/index.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/index.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/index.tmpl	(revision 505)
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
+		<title>JsDoc Reference - Index</title>
+		<meta name="generator" content="JsDoc Toolkit" />
+
+		<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" />
+		<meta name="mobileoptimized" content="0" />
+	
+		<link rel="stylesheet" type="text/css" href="css/all.css" media="all" />
+		<link rel="stylesheet" type="text/css" href="css/handheld.css" media="only screen and (max-width: 660px)" />
+		<link rel="stylesheet" type="text/css" href="css/handheld.css" media="handheld" />
+		<link rel="stylesheet" type="text/css" href="css/screen.css" media="screen and (min-width: 661px)" />
+		
+		<script type="text/javascript" src="javascript/wbos.CSSTools.MediaQueryFallBack.js"></script>
+	</head>
+	
+	<body>
+		{+include("static/header.html")+}
+		
+		<div class="index">
+			<div class="menu">
+				{+publish.classesIndex+}
+			</div>
+			
+			<div class="fineprint" style="clear:both">
+				<if test="JSDOC.opt.D.copyright">&copy;{+JSDOC.opt.D.copyright+}<br /></if>
+				Generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}<br />
+				HTML template: <a href="http://www.thebrightlines.com/2010/05/06/new-template-for-jsdoctoolkit-codeview/" target="_blank">Codeview 1.1.1</a>
+			</div>
+		</div>
+		<div class="index indexStatic"></div>
+		
+		<div class="content">
+			<div class="innerContent">
+				<h1 class="classTitle">Class Index</h1>
+				
+				<ul>
+					<for each="thisClass" in="data">
+						<li>
+							<h2 class="classname">{+(new Link().toSymbol(thisClass.alias))+}</h2>
+							<p>{+resolveLinks(summarize(thisClass.classDesc))+}</p>
+						</li>
+					</for>
+				</ul>
+			</div>
+		</div>
+
+		<script type="text/javascript">
+			wbos.CssTools.MediaQueryFallBack.LoadCss('css/screen.css', 'css/handheld.css', 660)
+		</script>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/javascript/wbos.csstools.mediaqueryfallback.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/javascript/wbos.csstools.mediaqueryfallback.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/javascript/wbos.csstools.mediaqueryfallback.js	(revision 505)
@@ -0,0 +1,185 @@
+/**
+ * @fileOverview Media Query FallBack
+ * @author Wouter Bos (www.thebrightlines.com)
+ * @since 1.0 - 2010-09-10
+ * @version 1.0 - 2010-09-10
+ */
+
+
+
+
+
+
+if (typeof(wbos) == "undefined") {
+	/**
+	 * @namespace wbos = Wouter Bos (www.thebrightlines.com)
+	 */
+	wbos = {}
+}
+if (typeof(wbos.CssTools) == "undefined") {
+	/**
+	 * @namespace Namespace for CSS-related functionality
+	 */
+	wbos.CssTools = {}
+}
+
+
+
+
+/**
+ * @namespace Fallback for CSS advanced media query
+ * @class
+ * @since 1.0 - 2010-09-10
+ * @version 1.0 - 2010-09-10
+ */
+wbos.CssTools.MediaQueryFallBack = ( function() {
+	var config = {
+		cssScreen: "/css/screen.css",
+		cssHandheld: "/css/handheld.css",
+		mobileMaxWidth: 660,
+		testDivClass: "cssLoadCheck",
+		dynamicCssLinkId: "DynCssLink",
+		resizeDelay: 30
+	}
+	var noMediaQuery = false;
+	var delay;
+	var currentCssMediaType;
+
+	// Adding events to elements in the DOM without overwriting it
+	function addEvent(element, newFunction, eventType) {
+		var oldEvent = eval("element." + eventType);
+		var eventContentType = eval("typeof element." + eventType)
+		
+		if ( eventContentType != 'function' ) {
+			eval("element." + eventType + " = newFunction")
+		} else {
+			eval("element." + eventType + " = function(e) { oldEvent(e); newFunction(e); }")
+		}
+	}
+	
+	// Get the the inner width of the browser window
+	function getWindowWidth() {
+		if (window.innerWidth) {
+			return window.innerWidth;
+		} else if (document.documentElement.clientWidth) {
+			return document.documentElement.clientWidth;
+		} else if (document.body.clientWidth) {
+			return document.body.clientWidth;
+		} else{
+			return 0;	
+		}
+	}
+	
+	function addCssLink(cssHref) {
+		var cssNode = document.createElement('link');
+		var windowWidth;
+		cssNode.type = 'text/css';
+		cssNode.rel = 'stylesheet';
+		cssNode.media = 'screen, handheld, fallback';
+		//cssNode.id = config.dynamicCssLinkId;
+		cssNode.href = cssHref;
+		document.getElementsByTagName("head")[0].appendChild(cssNode);
+	}
+	
+
+
+	/* Start public */
+	return {
+  		/**
+		 * Adds link to CSS in the head if no CSS is loaded
+		 *
+		 * @since 1.0 - 2010-08-21
+		 * @version 1.0 - 2010-08-21
+		 * @param {String|Object} cssScreen URL to CSS file for larger screens
+		 * @param {String|Object} cssHandheld URL to CSS file for smaller screens
+		 * @param {Number} mobileMaxWidth Maximum  width for handheld devices
+		 * @example
+		 * wbos.CssTools.MediaQueryFallBack.LoadCss(['screen.css', 'screen2.css'], 'mobile.css', 480)
+		 */
+		LoadCss: function(cssScreen, cssHandheld, mobileMaxWidth) {
+			// Set config values
+			if (typeof(cssScreen) != "undefined") {
+				config.cssScreen = cssScreen;	
+			}
+			if (typeof(cssHandheld) != "undefined") {
+				config.cssHandheld = cssHandheld;	
+			}
+			if (typeof(mobileMaxWidth) != "undefined") {
+				config.mobileMaxWidth = mobileMaxWidth;	
+			}
+			
+			// Check if CSS is loaded
+			var cssloadCheckNode = document.createElement('div');
+			cssloadCheckNode.className = config.testDivClass;
+			document.getElementsByTagName("body")[0].appendChild(cssloadCheckNode);
+			if (cssloadCheckNode.offsetWidth != 100 && noMediaQuery == false) {
+				noMediaQuery = true;
+			}
+			cssloadCheckNode.parentNode.removeChild(cssloadCheckNode)
+			
+			if (noMediaQuery == true) {
+				// Browser does not support Media Queries, so JavaScript will supply a fallback 
+				var cssHref = "";
+				
+				// Determines what CSS file to load
+				if (getWindowWidth() <= config.mobileMaxWidth) {
+					cssHref = config.cssHandheld;
+					newCssMediaType = "handheld";
+				} else {
+					cssHref = config.cssScreen;
+					newCssMediaType = "screen";
+				}
+				
+				// Add CSS link to <head> of page
+				if (cssHref != "" && currentCssMediaType != newCssMediaType) {
+					var currentCssLinks = document.styleSheets
+					for (var i = 0; i < currentCssLinks.length; i++) {
+						for (var ii = 0; ii < currentCssLinks[i].media.length; ii++) {
+							if (typeof(currentCssLinks[i].media) == "object") {
+								if (currentCssLinks[i].media.item(ii) == "fallback") {
+									currentCssLinks[i].ownerNode.parentNode.removeChild(currentCssLinks[i].ownerNode)
+									i--
+									break;
+								}
+							} else {
+								if (currentCssLinks[i].media.indexOf("fallback") >= 0) {
+									currentCssLinks[i].owningElement.parentNode.removeChild(currentCssLinks[i].owningElement)
+									i--
+									break;
+								}
+							}
+						}
+					}
+					if (typeof(cssHref) == "object") {
+						for (var i = 0; i < cssHref.length; i++) {
+							addCssLink(cssHref[i])
+						}
+					} else {
+						addCssLink(cssHref)
+					}
+										
+					currentCssMediaType = newCssMediaType;
+				}
+
+				
+				// Check screen size again if user resizes window 
+				addEvent(window, wbos.CssTools.MediaQueryFallBack.LoadCssDelayed, 'onresize')
+			}
+		},
+		
+  		/**
+		 * Runs LoadCSS after a short delay
+		 *
+		 * @since 1.0 - 2010-08-21
+		 * @version 1.0 - 2010-08-21
+		 * @example
+		 * wbos.CssTools.MediaQueryFallBack.LoadCssDelayed()
+		 */
+		LoadCssDelayed: function() {
+			clearTimeout(delay);
+			delay = setTimeout( "wbos.CssTools.MediaQueryFallBack.LoadCss()", config.resizeDelay)
+		}
+		
+	}
+	/* End public */
+})();
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/publish.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/publish.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/publish.js	(revision 505)
@@ -0,0 +1,228 @@
+/** Called automatically by JsDoc Toolkit. */
+function publish(symbolSet) {
+	publish.conf = {  // trailing slash expected for dirs
+		ext:         ".html",
+		outDir:      JSDOC.opt.d || SYS.pwd+"../out/jsdoc/",
+		templatesDir: JSDOC.opt.t || SYS.pwd+"../templates/jsdoc/",
+		cssDir:      "css/",
+		jsDir:       "javascript/",
+		fontsDir:    "css/fonts/",
+		symbolsDir:  "symbols/",
+		srcDir:      "symbols/src/"
+	};
+	
+	// is source output is suppressed, just display the links to the source file
+	if (JSDOC.opt.s && defined(Link) && Link.prototype._makeSrcLink) {
+		Link.prototype._makeSrcLink = function(srcFilePath) {
+			return "&lt;"+srcFilePath+"&gt;";
+		}
+	}
+	
+	// create the folders and subfolders to hold the output
+	IO.mkPath((publish.conf.outDir+publish.conf.cssDir));
+	IO.mkPath((publish.conf.outDir+publish.conf.fontsDir));
+	IO.mkPath((publish.conf.outDir+publish.conf.jsDir));
+	IO.mkPath((publish.conf.outDir+"symbols/src").split("/"));
+		
+	// used to allow Link to check the details of things being linked to
+	Link.symbolSet = symbolSet;
+
+	// create the required templates
+	try {
+		//var styleTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+publish.conf.cssDir+"all.css");
+		var classTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"class.tmpl");
+		var classesTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"allclasses.tmpl");
+	}
+	catch(e) {
+		print("Couldn't create the required templates: "+e);
+		quit();
+	}
+	
+	// some utility filters
+	function hasNoParent($) {return ($.memberOf == "")}
+	function isaFile($) {return ($.is("FILE"))}
+	function isaClass($) {return ($.is("CONSTRUCTOR") || $.isNamespace)}
+	
+	// get an array version of the symbolset, useful for filtering
+	var symbols = symbolSet.toArray();
+	
+	// create the hilited source code files
+	var files = JSDOC.opt.srcFiles;
+ 	for (var i = 0, l = files.length; i < l; i++) {
+ 		var file = files[i];
+ 		var srcDir = publish.conf.outDir + "symbols/src/";
+		makeSrcFile(file, srcDir);
+ 	}
+ 	
+ 	// get a list of all the classes in the symbolset
+ 	var classes = symbols.filter(isaClass).sort(makeSortby("alias"));
+	
+	// create a filemap in which outfiles must be to be named uniquely, ignoring case
+	if (JSDOC.opt.u) {
+		var filemapCounts = {};
+		Link.filemap = {};
+		for (var i = 0, l = classes.length; i < l; i++) {
+			var lcAlias = classes[i].alias.toLowerCase();
+			
+			if (!filemapCounts[lcAlias]) filemapCounts[lcAlias] = 1;
+			else filemapCounts[lcAlias]++;
+			
+			Link.filemap[classes[i].alias] = 
+				(filemapCounts[lcAlias] > 1)?
+				lcAlias+"_"+filemapCounts[lcAlias] : lcAlias;
+		}
+	}
+	
+	// create a class index, displayed in the left-hand column of every class page
+	Link.base = "../";
+ 	publish.classesIndex = classesTemplate.process(classes); // kept in memory
+	
+	// create each of the class pages
+	for (var i = 0, l = classes.length; i < l; i++) {
+		var symbol = classes[i];
+		
+		symbol.events = symbol.getEvents();   // 1 order matters
+		symbol.methods = symbol.getMethods(); // 2
+		
+		var output = "";
+		output = classTemplate.process(symbol);
+		
+		IO.saveFile(publish.conf.outDir+"symbols/", ((JSDOC.opt.u)? Link.filemap[symbol.alias] : symbol.alias) + publish.conf.ext, output);
+	}
+	
+	// regenerate the index with different relative links, used in the index pages
+	Link.base = "";
+	publish.classesIndex = classesTemplate.process(classes);
+	
+	// create the class index page
+	try {
+		var classesindexTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"index.tmpl");
+	}
+	catch(e) { print(e.message); quit(); }
+	
+	var classesIndex = classesindexTemplate.process(classes);
+	IO.saveFile(publish.conf.outDir, "index"+publish.conf.ext, classesIndex);
+	classesindexTemplate = classesIndex = classes = null;
+	
+	// create the file index page
+	try {
+		var fileindexTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"allfiles.tmpl");
+	}
+	catch(e) { print(e.message); quit(); }
+	
+	var documentedFiles = symbols.filter(isaFile); // files that have file-level docs
+	var allFiles = []; // not all files have file-level docs, but we need to list every one
+	
+	for (var i = 0; i < files.length; i++) {
+		allFiles.push(new JSDOC.Symbol(files[i], [], "FILE", new JSDOC.DocComment("/** */")));
+	}
+	
+	for (var i = 0; i < documentedFiles.length; i++) {
+		var offset = files.indexOf(documentedFiles[i].alias);
+		allFiles[offset] = documentedFiles[i];
+	}
+		
+	allFiles = allFiles.sort(makeSortby("name"));
+
+	// output the file index page
+	var filesIndex = fileindexTemplate.process(allFiles);
+	IO.saveFile(publish.conf.outDir, "files"+publish.conf.ext, filesIndex);
+	fileindexTemplate = filesIndex = files = null;
+	
+	// copy files
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.cssDir+"all.css", publish.conf.outDir+"/"+publish.conf.cssDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.cssDir+"screen.css", publish.conf.outDir+"/"+publish.conf.cssDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.cssDir+"handheld.css", publish.conf.outDir+"/"+publish.conf.cssDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.jsDir+"wbos.csstools.mediaqueryfallback.js", publish.conf.outDir+"/"+publish.conf.jsDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.fontsDir+"mplus-1m-regular-webfont.eot", publish.conf.outDir+"/"+publish.conf.fontsDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.fontsDir+"mplus-1m-regular-webfont.svg", publish.conf.outDir+"/"+publish.conf.fontsDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.fontsDir+"mplus-1m-regular-webfont.ttf", publish.conf.outDir+"/"+publish.conf.fontsDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.fontsDir+"mplus-1m-regular-webfont.woff", publish.conf.outDir+"/"+publish.conf.fontsDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.fontsDir+"mplus-1m-bold-webfont.eot", publish.conf.outDir+"/"+publish.conf.fontsDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.fontsDir+"mplus-1m-bold-webfont.svg", publish.conf.outDir+"/"+publish.conf.fontsDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.fontsDir+"mplus-1m-bold-webfont.ttf", publish.conf.outDir+"/"+publish.conf.fontsDir);
+	IO.copyFile(publish.conf.templatesDir+"/"+publish.conf.fontsDir+"mplus-1m-bold-webfont.woff", publish.conf.outDir+"/"+publish.conf.fontsDir);	
+}
+
+
+/** Just the first sentence (up to a full stop). Should not break on dotted variable names. */
+function summarize(desc) {
+	if (typeof desc != "undefined")
+		return desc.match(/([\w\W]+?\.)[^a-z0-9_$]/i)? RegExp.$1 : desc;
+}
+
+/** Make a symbol sorter by some attribute. */
+function makeSortby(attribute) {
+	return function(a, b) {
+		if (a[attribute] != undefined && b[attribute] != undefined) {
+			a = a[attribute].toLowerCase();
+			b = b[attribute].toLowerCase();
+			if (a < b) return -1;
+			if (a > b) return 1;
+			return 0;
+		}
+	}
+}
+
+function wordwrapNamespace(classLink) {
+	var classText = classLink.match(/[^<>]+(?=[<])/) + "";
+	var classTextNew = classText.replace(/\./g,  "<span class='break'> </span>.<span class='break'> </span>") + "";
+	classLink = classLink.replace(/[^<>]+(?=[<])/,  classTextNew);
+	return classLink;
+}
+
+/** Pull in the contents of an external file at the given path. */
+function include(path) {
+	var path = publish.conf.templatesDir+path;
+	return IO.readFile(path);
+}
+
+/** Turn a raw source file into a code-hilited page in the docs. */
+function makeSrcFile(path, srcDir, name) {
+	if (JSDOC.opt.s) return;
+	
+	if (!name) {
+		name = path.replace(/\.\.?[\\\/]/g, "").replace(/[\\\/]/g, "_");
+		name = name.replace(/\:/g, "_");
+	}
+	
+	var src = {path: path, name:name, charset: IO.encoding, hilited: ""};
+	
+	if (defined(JSDOC.PluginManager)) {
+		JSDOC.PluginManager.run("onPublishSrc", src);
+	}
+
+	if (src.hilited) {
+		IO.saveFile(srcDir, name+publish.conf.ext, src.hilited);
+	}
+}
+
+/** Build output for displaying function parameters. */
+function makeSignature(params) {
+	if (!params) return "()";
+	var signature = "("
+	+
+	params.filter(
+		function($) {
+			return $.name.indexOf(".") == -1; // don't show config params in signature
+		}
+	).map(
+		function($) {
+			return $.name;
+		}
+	).join(", ")
+	+
+	")";
+	return signature;
+}
+
+/** Find symbol {@link ...} strings in text and turn into html links */
+function resolveLinks(str, from) {
+	str = str.replace(/\{@link ([^} ]+) ?\}/gi,
+		function(match, symbolName) {
+			return new Link().toSymbol(symbolName);
+		}
+	);
+	
+	return str;
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/static/header.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/static/header.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/static/header.html	(revision 505)
@@ -0,0 +1,2 @@
+<div id="header">
+</div>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/static/index.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/static/index.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/static/index.html	(revision 505)
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+	<title>Generated Javascript Documentation</title>
+</head>
+<frameset cols="20%,80%">
+	<frame src="allclasses-frame.html" name="packageFrame" />
+	<frame src="splash.html" name="classFrame" />
+	<noframes>
+		<body>
+		<p>
+		This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
+		</p>
+		</body>
+	</noframes>
+</frameset>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/symbol.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/symbol.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/codeview/symbol.tmpl	(revision 505)
@@ -0,0 +1,35 @@
+<symbol alias="{+data.alias+}">
+	<name>{+data.name+}</name>
+	<memberOf>{+data.memberOf+}</memberOf>
+	<isStatic>{+data.isStatic+}</isStatic>
+	<isa>{+data.isa+}</isa>
+	<desc>{+data.desc+}</desc>
+	<classDesc>{+data.classDesc+}</classDesc>
+	
+	<methods><for each="method" in="data.methods">
+		<method>
+			<name>{+method.name+}</name>
+			<memberOf>{+method.memberOf+}</memberOf>
+			<isStatic>{+method.isStatic+}</isStatic>
+			<desc>{+method.desc+}</desc>
+			<params><for each="param" in="method.params">
+				<param>
+					<type>{+param.type+}</type>
+					<name>{+param.name+}</name>
+					<desc>{+param.desc+}</desc>
+					<defaultValue>{+param.defaultValue+}</defaultValue>
+				</param></for>
+			</params>
+		</method></for>
+	</methods>
+	
+	<properties><for each="property" in="data.properties">
+		<property>
+			<name>{+property.name+}</name>
+			<memberOf>{+property.memberOf+}</memberOf>
+			<isStatic>{+property.isStatic+}</isStatic>
+			<desc>{+property.desc+}</desc>
+			<type>{+property.type+}</type>
+		</property></for>
+	</properties>
+</symbol>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/allclasses.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/allclasses.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/allclasses.tmpl	(revision 505)
@@ -0,0 +1,17 @@
+<div align="center">{+new Link().toFile("index.html").withText("Class Index")+}
+| {+new Link().toFile("files.html").withText("File Index")+}</div>
+<hr />
+<h2>Classes</h2>
+<ul class="classList">
+	<for each="thisClass" in="data.filter(function (d) { return d.alias !== '_global_' })">
+	<li>{!
+		if (thisClass.alias == "_global_") {
+			output += "<i>"+new Link().toClass(thisClass.alias)+"</i>";
+		}
+		else {
+			output += new Link().toClass(thisClass.alias);
+		}
+	!}</li>
+	</for>
+</ul>
+<hr />
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/allfiles.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/allfiles.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/allfiles.tmpl	(revision 505)
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
+		{! Link.base = ""; /* all generated links will be relative to this */ !}
+		<title>JsDoc Reference - File Index</title>
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<style type="text/css">
+		{+include("static/default.css")+}
+		</style>
+	</head>
+	
+	<body>
+		{+include("static/header.html")+}
+		
+		<div id="index">
+			{+publish.classesIndex+}
+		</div>
+		
+		<div id="content">
+			<h1 class="classTitle">File Index</h1>
+			
+			<for each="item" in="data">
+			<div>
+				<h2>{+new Link().toSrc(item.alias).withText(item.name)+}</h2>
+				<if test="item.desc">{+resolveLinks(item.desc)+}</if>
+				<dl>
+					<if test="item.author">
+						<dt class="heading">Author:</dt>
+						<dd>{+item.author+}</dd>
+					</if>
+					<if test="item.version">
+						<dt class="heading">Version:</dt>
+							<dd>{+item.version+}</dd>
+					</if>
+					{! var locations = item.comment.getTag('location').map(function($){return $.toString().replace(/(^\$ ?| ?\$$)/g, '').replace(/^HeadURL: https:/g, 'http:');}) !}
+					<if test="locations.length">
+						<dt class="heading">Location:</dt>
+							<for each="location" in="locations">
+							<dd><a href="{+location+}">{+location+}</a></dd>
+							</for>
+					</if>
+				</dl>
+			</div>
+			<hr />
+			</for>
+			
+		</div>
+		<div class="fineprint" style="clear:both">
+			<if test="JSDOC.opt.D.copyright">&copy;{+JSDOC.opt.D.copyright+}<br /></if>
+			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
+		</div>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/class.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/class.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/class.tmpl	(revision 505)
@@ -0,0 +1,649 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
+		<meta name="generator" content="JsDoc Toolkit" />
+		{! Link.base = "../"; /* all generated links will be relative to this */ !}
+		<title>JsDoc Reference - {+data.alias+}</title>
+
+		<style type="text/css">
+			{+include("static/default.css")+}
+		</style>
+	</head>
+
+	<body>
+<!-- ============================== header ================================= -->	
+		<!-- begin static/header.html -->
+		{+include("static/header.html")+}
+		<!-- end static/header.html -->
+
+<!-- ============================== classes index ============================ -->
+		<div id="index">
+			<!-- begin publish.classesIndex -->
+			{+publish.classesIndex+}
+			<!-- end publish.classesIndex -->
+		</div>
+		
+		<div id="content">
+<!-- ============================== class title ============================ -->
+			<h1 class="classTitle">
+				{!
+					var classType = "";
+					
+					if (data.isBuiltin()) {
+						classType += "Built-In ";
+					}
+					
+					if (data.isNamespace) {
+						if (data.is('FUNCTION')) {
+							classType += "Function ";
+						}
+						classType += "Namespace ";
+					}
+					else {
+						classType += "Class ";
+					}
+				!}
+				{+classType+}{+data.alias+}
+			</h1>
+
+<!-- ============================== class summary ========================== -->			
+			<p class="description">
+				<if test="data.version"><br />Version
+					{+ data.version +}.<br />
+				</if>
+				<if test="data.augments.length"><br />Extends
+					{+
+						data.augments
+						.sort()
+						.map(
+							function($) { return new Link().toSymbol($); }
+						)
+						.join(", ")
+					+}.<br />
+				</if>
+			
+				{+resolveLinks(data.classDesc)+}
+				
+				<if test="!data.isBuiltin()">{# isn't defined in any file #}
+					<br /><i>Defined in: </i> {+new Link().toSrc(data.srcFile)+}.
+				</if>
+			</p>
+
+<!-- ============================== constructor summary ==================== -->			
+			<if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
+			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class {+data.alias+}.">
+				<caption>{+classType+}Summary</caption>
+				<thead>
+					<tr>
+						<th scope="col">Constructor Attributes</th>
+						<th scope="col">Constructor Name and Description</th>
+					</tr>
+				</thead>
+				<tbody>
+					<tr>
+						<td class="attributes">{!
+							if (data.isPrivate) output += "&lt;private&gt; ";
+							if (data.isInner) output += "&lt;inner&gt; ";
+						!}&nbsp;</td>
+						<td class="nameDescription" {!if (data.comment.getTag("hilited").length){output += 'style="color: red"'}!}>
+							<div class="fixedFont">
+								<b>{+ new Link().toSymbol(data.alias).inner('constructor')+}</b><if test="classType != 'Namespace '">{+ makeSignature(data.params) +}</if>
+							</div>
+							<div class="description">{+resolveLinks(summarize(data.desc))+}</div>
+						</td>
+					</tr>
+				</tbody>
+			</table>
+			</if>
+
+<!-- ============================== properties summary ===================== -->
+			<if test="data.properties.length">
+				{! var ownProperties = data.properties.filter(function($){return $.memberOf == data.alias && !$.isNamespace}).sort(makeSortby("name")); !}
+				<if test="ownProperties.length">
+				<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class {+data.alias+}.">
+					<caption>Field Summary</caption>
+					<thead>
+						<tr>
+							<th scope="col">Field Attributes</th>
+							<th scope="col">Field Name and Description</th>
+						</tr>
+					</thead>
+					<tbody>
+					<for each="member" in="ownProperties">
+						<tr>
+							<td class="attributes">{!
+								if (member.isPrivate) output += "&lt;private&gt; ";
+								if (member.isInner) output += "&lt;inner&gt; ";
+								if (member.isStatic) output += "&lt;static&gt; ";
+								if (member.isConstant) output += "&lt;constant&gt; ";
+							!}&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont">
+								<if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name)+}</b>
+								</div>
+								<div class="description">{+resolveLinks(summarize(member.desc))+}</div>
+							</td>
+						</tr>
+					</for>
+					</tbody>
+				</table>
+				</if>
+				
+				<if test="data.inheritsFrom.length">
+				<dl class="inheritsList">
+				{!
+					var borrowedMembers = data.properties.filter(function($) {return $.memberOf != data.alias});
+					
+					var contributers = [];
+					borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
+					for (var i = 0, l = contributers.length; i < l; i++) {
+						output +=
+							"<dt>Fields borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
+							+
+							"<dd>" +
+							borrowedMembers
+							.filter(
+								function($) { return $.memberOf == contributers[i] }
+							)
+							.sort(makeSortby("name"))
+							.map(
+								function($) { return new Link().toSymbol($.alias).withText($.name) }
+							)
+							.join(", ")
+							+
+							"</dd>";
+					}
+				!}
+				</dl>
+				</if>
+			</if>
+
+<!-- ============================== methods summary ======================== -->
+			<if test="data.methods.length">
+				{! var ownMethods = data.methods.filter(function($){return $.memberOf == data.alias  && !$.isNamespace}).sort(makeSortby("name")); !}
+				<if test="ownMethods.length">
+				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class {+data.alias+}.">
+					<caption>Method Summary</caption>
+					<thead>
+						<tr>
+							<th scope="col">Method Attributes</th>
+							<th scope="col">Method Name and Description</th>
+						</tr>
+					</thead>
+					<tbody>
+					<for each="member" in="ownMethods">
+						<tr>
+							<td class="attributes">{!
+								if (member.isPrivate) output += "&lt;private&gt; ";
+								if (member.isInner) output += "&lt;inner&gt; ";
+								if (member.isStatic) output += "&lt;static&gt; ";
+							!}&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name.replace(/\^\d+$/, ''))+}</b>{+makeSignature(member.params)+}
+								</div>
+								<div class="description">{+resolveLinks(summarize(member.desc))+}</div>
+							</td>
+						</tr>
+					</for>
+					</tbody>
+				</table>
+				</if>
+				
+				<if test="data.inheritsFrom.length">
+				<dl class="inheritsList">
+				{!
+					var borrowedMembers = data.methods.filter(function($) {return $.memberOf != data.alias});
+					var contributers = [];
+					borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
+					for (var i = 0, l = contributers.length; i < l; i++) {
+						output +=
+							"<dt>Methods borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
+							+
+							"<dd>" +
+							borrowedMembers
+							.filter(
+								function($) { return $.memberOf == contributers[i] }
+							)
+							.sort(makeSortby("name"))
+							.map(
+								function($) { return new Link().toSymbol($.alias).withText($.name) }
+							)
+							.join(", ")
+							+
+							"</dd>";
+					}
+				
+				!}
+				</dl>
+				</if>
+			</if>
+<!-- ============================== events summary ======================== -->
+			<if test="data.events.length">
+				{! var ownEvents = data.events.filter(function($){return $.memberOf == data.alias  && !$.isNamespace}).sort(makeSortby("name")); !}
+				<if test="ownEvents.length">
+				<table class="summaryTable" cellspacing="0" summary="A summary of the utility methods documented in the class {+data.alias+}.">
+					<caption>Utility Method Summary</caption>
+					<thead>
+						<tr>
+							<th scope="col">Utility Method Attributes</th>
+							<th scope="col">Utility Method Name and Description</th>
+						</tr>
+					</thead>
+					<tbody>
+					<for each="member" in="ownEvents">
+						<tr>
+							<td class="attributes">{!
+								if (member.isPrivate) output += "&lt;private&gt; ";
+								if (member.isInner) output += "&lt;inner&gt; ";
+								if (member.isStatic) output += "&lt;static&gt; ";
+							!}&nbsp;</td>
+							<td class="nameDescription">
+								<div class="fixedFont"><if test="member.isStatic && member.memberOf != '_global_'">{+member.memberOf+}.</if><b>{+new Link().toSymbol(member.alias).withText(member.name)+}</b>{+makeSignature(member.params)+}
+								</div>
+								<div class="description">{+resolveLinks(summarize(member.desc))+}</div>
+							</td>
+						</tr>
+					</for>
+					</tbody>
+				</table>
+				</if>
+				
+				<if test="data.inheritsFrom.length">
+				<dl class="inheritsList">
+				{!
+					var borrowedMembers = data.events.filter(function($) {return $.memberOf != data.alias});
+					var contributers = [];
+					borrowedMembers.map(function($) {if (contributers.indexOf($.memberOf) < 0) contributers.push($.memberOf)});
+					for (var i = 0, l = contributers.length; i < l; i++) {
+						output +=
+							"<dt>Events borrowed from class "+new Link().toSymbol(contributers[i])+": </dt>"
+							+
+							"<dd>" +
+							borrowedMembers
+							.filter(
+								function($) { return $.memberOf == contributers[i] }
+							)
+							.sort(makeSortby("name"))
+							.map(
+								function($) { return new Link().toSymbol($.alias).withText($.name) }
+							)
+							.join(", ")
+							+
+							"</dd>";
+					}
+				
+				!}
+				</dl>
+				</if>
+			</if>
+
+<!-- ============================== constructor details ==================== -->		
+			<if test="!data.isBuiltin() && (data.isNamespace || data.is('CONSTRUCTOR'))">
+			<div class="details"><a name="constructor"> </a>
+				<div class="sectionTitle">
+					{+classType+}Detail
+				</div>
+				
+				<div class="fixedFont">{!
+					if (data.isPrivate) output += "&lt;private&gt; ";
+					if (data.isInner) output += "&lt;inner&gt; ";
+				!}
+						<b>{+ data.alias +}</b><if test="classType != 'Namespace '">{+ makeSignature(data.params) +}</if>
+				</div>
+				
+				<div class="description">
+					{+resolveLinks(data.desc)+}
+					<if test="data.author"><br /><i>Author: </i>{+data.author+}.</if>
+				</div>
+				
+				<if test="data.example.length">
+				<for each="example" in="data.example">
+				<pre class="code">{+example+}</pre>
+				</for>
+				</if>
+				
+				
+					<if test="data.params.length">
+						<dl class="detailList">
+						<dt class="heading">Parameters:</dt>
+						<for each="item" in="data.params">
+							<dt>
+								{+((item.type)?""+("<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type)+"}</span> ")) : "")+} <b>{+item.name+}</b>
+								<if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
+							</dt>
+								<dd>{+resolveLinks(item.desc)+}</dd>
+						</for>
+						</dl>
+					</if>
+					<if test="data.deprecated">
+						<dl class="detailList">
+						<dt class="heading">Deprecated:</dt>
+						<dt>
+							{+resolveLinks(data.deprecated)+}
+						</dt>
+						</dl>
+					</if>
+					<if test="data.since">
+						<dl class="detailList">
+						<dt class="heading">Since:</dt>
+							<dd>{+ data.since +}</dd>
+						</dl>
+					</if>
+					<if test="data.exceptions.length">
+						<dl class="detailList">
+						<dt class="heading">Throws:</dt>
+						<for each="item" in="data.exceptions">
+							<dt>
+								{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <b>{+item.name+}</b>
+							</dt>
+								<dd>{+resolveLinks(item.desc)+}</dd>
+						</for>
+						</dl>
+					</if>
+					<if test="data.returns.length">
+						<dl class="detailList">
+						<dt class="heading">Returns:</dt>
+						<for each="item" in="data.returns">
+								<dd>{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
+						</for>
+						</dl>
+					</if>
+					<if test="data.requires.length">
+						<dl class="detailList">
+						<dt class="heading">Requires:</dt>
+						<for each="item" in="data.requires">
+							<dd>{+ new Link().toSymbol(item) +}</dd>
+						</for>
+						</dl>
+					</if>
+					<if test="data.see.length">
+						<dl class="detailList">
+						<dt class="heading">See:</dt>
+						<for each="item" in="data.see">
+							<dd>{+ new Link().toSymbol(item) +}</dd>
+						</for>
+						</dl>
+					</if>
+
+			</div>
+			</if>
+
+<!-- ============================== field details ========================== -->		
+			<if test="defined(ownProperties) && ownProperties.length">
+				<div class="sectionTitle">
+					Field Detail
+				</div>
+				<for each="member" in="ownProperties">
+					<a name="{+Link.symbolNameToLinkName(member)+}"> </a>
+					<div class="fixedFont">{!
+						if (member.isPrivate) output += "&lt;private&gt; ";
+						if (member.isInner) output += "&lt;inner&gt; ";
+						if (member.isStatic) output += "&lt;static&gt; ";
+						if (member.isConstant) output += "&lt;constant&gt; ";
+					!}
+					
+					<if test="member.type"><span class="light">{{+new Link().toSymbol(member.type)+}}</span></if>
+					<if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name+}</b>
+					
+					</div>
+					<div class="description">
+						{+resolveLinks(member.desc)+}
+						<if test="member.srcFile != data.srcFile">
+							<br />
+							<i>Defined in: </i> {+new Link().toSrc(member.srcFile)+}.
+						</if>
+						<if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
+					</div>
+					
+					<if test="member.example.length">
+					<for each="example" in="member.example">
+					<pre class="code">{+example+}</pre>
+					</for>
+					</if>
+
+						<if test="member.deprecated">
+							<dl class="detailList">
+							<dt class="heading">Deprecated:</dt>
+							<dt>
+								{+ resolveLinks(member.deprecated) +}
+							</dt>
+							</dl>
+						</if>
+						<if test="member.since">
+							<dl class="detailList">
+							<dt class="heading">Since:</dt>
+								<dd>{+ member.since +}</dd>
+							</dl>
+						</if>
+						<if test="member.see.length">
+							<dl class="detailList">
+							<dt class="heading">See:</dt>
+							<for each="item" in="member.see">
+							<dd>{+ new Link().toSymbol(item) +}</dd>
+							</for>
+							</dl>
+						</if>
+						<if test="member.defaultValue">
+							<dl class="detailList">
+							<dt class="heading">Default Value:</dt>
+							<dd>
+								{+resolveLinks(member.defaultValue)+}
+							</dd>
+							</dl>
+						</if>
+
+					<if test="!$member_last"><hr /></if>
+				</for>
+			</if>
+
+<!-- ============================== method details ========================= -->		
+			<if test="defined(ownMethods) && ownMethods.length">
+				<div class="sectionTitle">
+					Method Detail
+				</div>
+				<for each="member" in="ownMethods">
+					<a name="{+Link.symbolNameToLinkName(member)+}"> </a>
+					<div class="fixedFont">{!
+						if (member.isPrivate) output += "&lt;private&gt; ";
+						if (member.isInner) output += "&lt;inner&gt; ";
+						if (member.isStatic) output += "&lt;static&gt; ";
+					!}
+					
+					<if test="member.type"><span class="light">{{+new Link().toSymbol(member.type)+}}</span></if>
+					<if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name.replace(/\^\d+$/, '')+}</b>{+makeSignature(member.params)+}
+					
+					</div>
+					<div class="description">
+						{+resolveLinks(member.desc)+}
+						<if test="member.srcFile != data.srcFile">
+							<br />
+							<i>Defined in: </i> {+new Link().toSrc(member.srcFile)+}.
+						</if>
+						<if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
+					</div>
+					
+					<if test="member.example.length">
+					<for each="example" in="member.example">
+					<pre class="code">{+example+}</pre>
+					</for>
+					</if>
+					
+						<if test="member.params.length">
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							<for each="item" in="member.params">
+								<dt>
+									{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}<b>{+item.name+}</b>
+									<if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
+								</dt>
+								<dd>{+resolveLinks(item.desc)+}</dd>
+							</for>
+							</dl>
+						</if>
+						<if test="member.deprecated">
+							<dl class="detailList">
+							<dt class="heading">Deprecated:</dt>
+							<dt>
+								{+ resolveLinks(member.deprecated) +}
+							</dt>
+							</dl>
+						</if>
+						<if test="member.since">
+							<dl class="detailList">
+							<dt class="heading">Since:</dt>
+								<dd>{+ member.since +}</dd>
+							</dl>
+							</dl>
+						</if>
+						<if test="member.exceptions.length">
+							<dl class="detailList">
+							<dt class="heading">Throws:</dt>
+							<for each="item" in="member.exceptions">
+								<dt>
+									{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <b>{+item.name+}</b>
+								</dt>
+								<dd>{+resolveLinks(item.desc)+}</dd>
+							</for>
+							</dl>
+						</if>
+						<if test="member.returns.length">
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							<for each="item" in="member.returns">
+								<dd>{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
+							</for>
+							</dl>
+						</if>
+						<if test="member.requires.length">
+							<dl class="detailList">
+							<dt class="heading">Requires:</dt>
+							<for each="item" in="member.requires">
+								<dd>{+ resolveLinks(item) +}</dd>
+							</for>
+							</dl>
+						</if>
+						<if test="member.see.length">
+							<dl class="detailList">
+							<dt class="heading">See:</dt>
+							<for each="item" in="member.see">
+								<dd>{+ new Link().toSymbol(item) +}</dd>
+							</for>
+							</dl>
+						</if>
+
+					<if test="!$member_last"><hr /></if>
+				</for>
+			</if>
+			
+<!-- ============================== event details ========================= -->		
+			<if test="defined(ownEvents) && ownEvents.length">
+				<div class="sectionTitle">
+					Utility Method Detail
+				</div>
+				<for each="member" in="ownEvents">
+					<a name="{+Link.symbolNameToLinkName(member)+}"> </a>
+					<div class="fixedFont">{!
+						if (member.isPrivate) output += "&lt;private&gt; ";
+						if (member.isInner) output += "&lt;inner&gt; ";
+						if (member.isStatic) output += "&lt;static&gt; ";
+					!}
+					
+					<if test="member.type"><span class="light">{{+new Link().toSymbol(member.type)+}}</span></if>
+					<if test="member.isStatic && member.memberOf != '_global_'"><span class="light">{+member.memberOf+}.</span></if><b>{+member.name+}</b>{+makeSignature(member.params)+}
+					
+					</div>
+					<div class="description">
+						{+resolveLinks(member.desc)+}
+						<if test="member.srcFile != data.srcFile">
+							<br />
+							<i>Defined in: </i> {+new Link().toSrc(member.srcFile)+}.
+						</if>
+						<if test="member.author"><br /><i>Author: </i>{+member.author+}.</if>
+					</div>
+					
+					<if test="member.example.length">
+					<for each="example" in="member.example">
+					<pre class="code">{+example+}</pre>
+					</for>
+					</if>
+					
+						<if test="member.params.length">
+							<dl class="detailList">
+							<dt class="heading">Parameters:</dt>
+							<for each="item" in="member.params">
+								<dt>
+									{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}<b>{+item.name+}</b>
+									<if test="item.isOptional"><i>Optional<if test="item.defaultValue">, Default: {+item.defaultValue+}</if></i></if>
+								</dt>
+								<dd>{+ resolveLinks(item.desc) +}</dd>
+							</for>
+							</dl>
+						</if>
+						<if test="member.deprecated">
+							<dl class="detailList">
+							<dt class="heading">Deprecated:</dt>
+							<dt>
+								{+ resolveLinks(member.deprecated) +}
+							</dt>
+							</dl>
+						</if>
+						<if test="member.since">
+							<dl class="detailList">
+							<dt class="heading">Since:</dt>
+								<dd>{+ member.since +}</dd>
+							</dl>
+							</dl>
+						</if>
+						<if test="member.exceptions.length">
+							<dl class="detailList">
+							<dt class="heading">Throws:</dt>
+							<for each="item" in="member.exceptions">
+								<dt>
+									{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+} <b>{+item.name+}</b>
+								</dt>
+								<dd>{+ resolveLinks(item.desc) +}</dd>
+							</for>
+							</dl>
+						</if>
+						<if test="member.returns.length">
+							<dl class="detailList">
+							<dt class="heading">Returns:</dt>
+							<for each="item" in="member.returns">
+								<dd>{+((item.type)?"<span class=\"light fixedFont\">{"+(new Link().toSymbol(item.type))+"}</span> " : "")+}{+resolveLinks(item.desc)+}</dd>
+							</for>
+							</dl>
+						</if>
+						<if test="member.requires.length">
+							<dl class="detailList">
+							<dt class="heading">Requires:</dt>
+							<for each="item" in="member.requires">
+								<dd>{+ resolveLinks(item) +}</dd>
+							</for>
+							</dl>
+						</if>
+						<if test="member.see.length">
+							<dl class="detailList">
+							<dt class="heading">See:</dt>
+							<for each="item" in="member.see">
+								<dd>{+ new Link().toSymbol(item) +}</dd>
+							</for>
+							</dl>
+						</if>
+
+					<if test="!$member_last"><hr /></if>
+				</for>
+			</if>
+			
+			<hr />
+		</div>
+
+		
+<!-- ============================== footer ================================= -->
+		<div class="fineprint" style="clear:both">
+			<if test="JSDOC.opt.D.copyright">&copy;{+JSDOC.opt.D.copyright+}<br /></if>
+			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
+		</div>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/index.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/index.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/index.tmpl	(revision 505)
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+	<head>
+		<meta http-equiv="content-type" content="text/html; charset={+IO.encoding+}" />
+		
+		<title>JsDoc Reference - Index</title>
+		<meta name="generator" content="JsDoc Toolkit" />
+		
+		<style type="text/css">
+		{+include("static/default.css")+}
+		</style>
+	</head>
+	
+	<body>
+		{+include("static/header.html")+}
+		
+		<div id="index">
+			{+publish.classesIndex+}
+		</div>
+		
+		<div id="content">
+			<h1 class="classTitle">Class Index</h1>
+			
+			<for each="thisClass" in="data.filter(function (d) { return d.alias !== '_global_' })">
+			<div>
+				<h2>{+(new Link().toSymbol(thisClass.alias))+}</h2>
+				{+resolveLinks(summarize(thisClass.classDesc))+}
+			</div>
+			<hr />
+			</for>
+			
+		</div>
+		<div class="fineprint" style="clear:both">
+			<if test="JSDOC.opt.D.copyright">&copy;{+JSDOC.opt.D.copyright+}<br /></if>
+			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blankt">JsDoc Toolkit</a> {+JSDOC.VERSION+} on {+new Date()+}
+		</div>
+	</body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/publish.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/publish.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/publish.js	(revision 505)
@@ -0,0 +1,201 @@
+/** Called automatically by JsDoc Toolkit. */
+function publish(symbolSet) {
+	publish.conf = {  // trailing slash expected for dirs
+		ext:         ".html",
+		outDir:      JSDOC.opt.d || SYS.pwd+"../out/jsdoc/",
+		templatesDir: JSDOC.opt.t || SYS.pwd+"../templates/jsdoc/",
+		symbolsDir:  "symbols/",
+		srcDir:      "symbols/src/"
+	};
+	
+	// is source output is suppressed, just display the links to the source file
+	if (JSDOC.opt.s && defined(Link) && Link.prototype._makeSrcLink) {
+		Link.prototype._makeSrcLink = function(srcFilePath) {
+			return "&lt;"+srcFilePath+"&gt;";
+		}
+	}
+	
+	// create the folders and subfolders to hold the output
+	IO.mkPath((publish.conf.outDir+"symbols/src").split("/"));
+		
+	// used to allow Link to check the details of things being linked to
+	Link.symbolSet = symbolSet;
+
+	// create the required templates
+	try {
+		var classTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"class.tmpl");
+		var classesTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"allclasses.tmpl");
+	}
+	catch(e) {
+		print("Couldn't create the required templates: "+e);
+		quit();
+	}
+	
+	// some ustility filters
+	function hasNoParent($) {return ($.memberOf == "")}
+	function isaFile($) {return ($.is("FILE"))}
+	function isaClass($) {return ($.is("CONSTRUCTOR") || $.isNamespace)}
+	
+	// get an array version of the symbolset, useful for filtering
+	var symbols = symbolSet.toArray();
+	
+	// create the hilited source code files
+	var files = JSDOC.opt.srcFiles;
+ 	for (var i = 0, l = files.length; i < l; i++) {
+ 		var file = files[i];
+ 		var srcDir = publish.conf.outDir + "symbols/src/";
+		makeSrcFile(file, srcDir);
+ 	}
+ 	
+ 	// get a list of all the classes in the symbolset
+ 	var classes = symbols.filter(isaClass).sort(makeSortby("alias"));
+	
+	// create a filemap in which outfiles must be to be named uniquely, ignoring case
+	if (JSDOC.opt.u) {
+		var filemapCounts = {};
+		Link.filemap = {};
+		for (var i = 0, l = classes.length; i < l; i++) {
+			var lcAlias = classes[i].alias.toLowerCase();
+			
+			if (!filemapCounts[lcAlias]) filemapCounts[lcAlias] = 1;
+			else filemapCounts[lcAlias]++;
+			
+			Link.filemap[classes[i].alias] = 
+				(filemapCounts[lcAlias] > 1)?
+				lcAlias+"_"+filemapCounts[lcAlias] : lcAlias;
+		}
+	}
+	
+	// create a class index, displayed in the left-hand column of every class page
+	Link.base = "../";
+ 	publish.classesIndex = classesTemplate.process(classes); // kept in memory
+	
+	// create each of the class pages
+	for (var i = 0, l = classes.length; i < l; i++) {
+		var symbol = classes[i];
+		
+		symbol.events = symbol.getEvents();   // 1 order matters
+		symbol.methods = symbol.getMethods(); // 2
+		
+		Link.currentSymbol= symbol;
+		var output = "";
+		output = classTemplate.process(symbol);
+		
+		IO.saveFile(publish.conf.outDir+"symbols/", ((JSDOC.opt.u)? Link.filemap[symbol.alias] : symbol.alias) + publish.conf.ext, output);
+	}
+	
+	// regenerate the index with different relative links, used in the index pages
+	Link.base = "";
+	publish.classesIndex = classesTemplate.process(classes);
+	
+	// create the class index page
+	try {
+		var classesindexTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"index.tmpl");
+	}
+	catch(e) { print(e.message); quit(); }
+	
+	var classesIndex = classesindexTemplate.process(classes);
+	IO.saveFile(publish.conf.outDir, "index"+publish.conf.ext, classesIndex);
+	classesindexTemplate = classesIndex = classes = null;
+	
+	// create the file index page
+	try {
+		var fileindexTemplate = new JSDOC.JsPlate(publish.conf.templatesDir+"allfiles.tmpl");
+	}
+	catch(e) { print(e.message); quit(); }
+	
+	var documentedFiles = symbols.filter(isaFile); // files that have file-level docs
+	var allFiles = []; // not all files have file-level docs, but we need to list every one
+	
+	for (var i = 0; i < files.length; i++) {
+		allFiles.push(new JSDOC.Symbol(files[i], [], "FILE", new JSDOC.DocComment("/** */")));
+	}
+	
+	for (var i = 0; i < documentedFiles.length; i++) {
+		var offset = files.indexOf(documentedFiles[i].alias);
+		allFiles[offset] = documentedFiles[i];
+	}
+		
+	allFiles = allFiles.sort(makeSortby("name"));
+
+	// output the file index page
+	var filesIndex = fileindexTemplate.process(allFiles);
+	IO.saveFile(publish.conf.outDir, "files"+publish.conf.ext, filesIndex);
+	fileindexTemplate = filesIndex = files = null;
+}
+
+
+/** Just the first sentence (up to a full stop). Should not break on dotted variable names. */
+function summarize(desc) {
+	if (typeof desc != "undefined")
+		return desc.match(/([\w\W]+?\.)[^a-z0-9_$]/i)? RegExp.$1 : desc;
+}
+
+/** Make a symbol sorter by some attribute. */
+function makeSortby(attribute) {
+	return function(a, b) {
+		if (a[attribute] != undefined && b[attribute] != undefined) {
+			a = a[attribute].toLowerCase();
+			b = b[attribute].toLowerCase();
+			if (a < b) return -1;
+			if (a > b) return 1;
+			return 0;
+		}
+	}
+}
+
+/** Pull in the contents of an external file at the given path. */
+function include(path) {
+	var path = publish.conf.templatesDir+path;
+	return IO.readFile(path);
+}
+
+/** Turn a raw source file into a code-hilited page in the docs. */
+function makeSrcFile(path, srcDir, name) {
+	if (JSDOC.opt.s) return;
+	
+	if (!name) {
+		name = path.replace(/\.\.?[\\\/]/g, "").replace(/[\\\/]/g, "_");
+		name = name.replace(/\:/g, "_");
+	}
+	
+	var src = {path: path, name:name, charset: IO.encoding, hilited: ""};
+	
+	if (defined(JSDOC.PluginManager)) {
+		JSDOC.PluginManager.run("onPublishSrc", src);
+	}
+
+	if (src.hilited) {
+		IO.saveFile(srcDir, name+publish.conf.ext, src.hilited);
+	}
+}
+
+/** Build output for displaying function parameters. */
+function makeSignature(params) {
+	if (!params) return "()";
+	var signature = "("
+	+
+	params.filter(
+		function($) {
+			return $.name.indexOf(".") == -1; // don't show config params in signature
+		}
+	).map(
+		function($) {
+			return $.name;
+		}
+	).join(", ")
+	+
+	")";
+	return signature;
+}
+
+/** Find symbol {@link ...} strings in text and turn into html links */
+function resolveLinks(str, from) {
+	str = str.replace(/\{@link ([^} ]+) ?\}/gi,
+		function(match, symbolName) {
+			return new Link().toSymbol(symbolName);
+		}
+	);
+	
+	return str;
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/static/default.css
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/static/default.css	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/static/default.css	(revision 505)
@@ -0,0 +1,162 @@
+/* default.css */
+body
+{
+	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
+	width: 800px;
+}
+
+.header
+{
+	clear: both;
+	background-color: #ccc;
+	padding: 8px;
+}
+
+h1
+{
+	font-size: 150%;
+	font-weight: bold;
+	padding: 0;
+	margin: 1em 0 0 .3em;
+}
+
+hr
+{
+	border: none 0;
+	border-top: 1px solid #7F8FB1;
+	height: 1px;
+}
+
+pre.code
+{
+	display: block;
+	padding: 8px;
+	border: 1px dashed #ccc;
+}
+
+#index
+{
+	margin-top: 24px;
+	float: left;
+	width: 160px;
+	position: absolute;
+	left: 8px;
+	background-color: #F3F3F3;
+	padding: 8px;
+}
+
+#content
+{
+	margin-left: 190px;
+	width: 600px;
+}
+
+.classList
+{
+	list-style-type: none;
+	padding: 0;
+	margin: 0 0 0 8px;
+	font-family: arial, sans-serif;
+	font-size: 1em;
+	overflow: auto;
+}
+
+.classList li
+{
+	padding: 0;
+	margin: 0 0 8px 0;
+}
+
+.summaryTable { width: 100%; }
+
+h1.classTitle
+{
+	font-size:170%;
+	line-height:130%;
+}
+
+h2 { font-size: 110%; }
+caption, div.sectionTitle
+{
+	background-color: #7F8FB1;
+	color: #fff;
+	font-size:130%;
+	text-align: left;
+	padding: 2px 6px 2px 6px;
+	border: 1px #7F8FB1 solid;
+}
+
+div.sectionTitle { margin-bottom: 8px; }
+.summaryTable thead { display: none; }
+
+.summaryTable td
+{
+	vertical-align: top;
+	padding: 4px;
+	border-bottom: 1px #7F8FB1 solid;
+	border-right: 1px #7F8FB1 solid;
+}
+
+/*col#summaryAttributes {}*/
+.summaryTable td.attributes
+{
+	border-left: 1px #7F8FB1 solid;
+	width: 140px;
+	text-align: right;
+}
+
+td.attributes, .fixedFont
+{
+	line-height: 15px;
+	color: #002EBE;
+	font-family: "Courier New",Courier,monospace;
+	font-size: 13px;
+}
+
+.summaryTable td.nameDescription
+{
+	text-align: left;
+	font-size: 13px;
+	line-height: 15px;
+}
+
+.summaryTable td.nameDescription, .description
+{
+	line-height: 15px;
+	padding: 4px;
+	padding-left: 4px;
+}
+
+.summaryTable { margin-bottom: 8px; }
+
+ul.inheritsList
+{
+	list-style: square;
+	margin-left: 20px;
+	padding-left: 0;
+}
+
+.detailList {
+	margin-left: 20px; 
+	line-height: 15px;
+}
+.detailList dt { margin-left: 20px; }
+
+.detailList .heading
+{
+	font-weight: bold;
+	padding-bottom: 6px;
+	margin-left: 0;
+}
+
+.light, td.attributes, .light a:link, .light a:visited
+{
+	color: #777;
+	font-style: italic;
+}
+
+.fineprint
+{
+	text-align: right;
+	font-size: 10px;
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/static/header.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/static/header.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/static/header.html	(revision 505)
@@ -0,0 +1,2 @@
+<div id="header">
+</div>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/static/index.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/static/index.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/static/index.html	(revision 505)
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+	<title>Generated Javascript Documentation</title>
+</head>
+<frameset cols="20%,80%">
+	<frame src="allclasses-frame.html" name="packageFrame" />
+	<frame src="splash.html" name="classFrame" />
+	<noframes>
+		<body>
+		<p>
+		This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
+		</p>
+		</body>
+	</noframes>
+</frameset>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/symbol.tmpl
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/symbol.tmpl	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/jsdoc-toolkit/templates/jsdoc/symbol.tmpl	(revision 505)
@@ -0,0 +1,35 @@
+<symbol alias="{+data.alias+}">
+	<name>{+data.name+}</name>
+	<memberOf>{+data.memberOf+}</memberOf>
+	<isStatic>{+data.isStatic+}</isStatic>
+	<isa>{+data.isa+}</isa>
+	<desc>{+data.desc+}</desc>
+	<classDesc>{+data.classDesc+}</classDesc>
+	
+	<methods><for each="method" in="data.methods">
+		<method>
+			<name>{+method.name+}</name>
+			<memberOf>{+method.memberOf+}</memberOf>
+			<isStatic>{+method.isStatic+}</isStatic>
+			<desc>{+method.desc+}</desc>
+			<params><for each="param" in="method.params">
+				<param>
+					<type>{+param.type+}</type>
+					<name>{+param.name+}</name>
+					<desc>{+param.desc+}</desc>
+					<defaultValue>{+param.defaultValue+}</defaultValue>
+				</param></for>
+			</params>
+		</method></for>
+	</methods>
+	
+	<properties><for each="property" in="data.properties">
+		<property>
+			<name>{+property.name+}</name>
+			<memberOf>{+property.memberOf+}</memberOf>
+			<isStatic>{+property.isStatic+}</isStatic>
+			<desc>{+property.desc+}</desc>
+			<type>{+property.type+}</type>
+		</property></for>
+	</properties>
+</symbol>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/environments.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/environments.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/environments.js	(revision 505)
@@ -0,0 +1,3 @@
+require("./json-schema-draft-01");
+require("./json-schema-draft-02");
+require("./json-schema-draft-03");
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/json-schema-draft-01.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/json-schema-draft-01.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/json-schema-draft-01.js	(revision 505)
@@ -0,0 +1,953 @@
+/**
+ * json-schema-draft-01 Environment
+ * 
+ * @fileOverview Implementation of the first revision of the JSON Schema specification draft.
+ * @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
+ * @version 1.7.1
+ * @see http://github.com/garycourt/JSV
+ */
+
+/*
+ * Copyright 2010 Gary Court. All rights reserved.
+ * 
+ * Redistribution and use in source and binary forms, with or without modification, are
+ * permitted provided that the following conditions are met:
+ * 
+ *    1. Redistributions of source code must retain the above copyright notice, this list of
+ *       conditions and the following disclaimer.
+ * 
+ *    2. Redistributions in binary form must reproduce the above copyright notice, this list
+ *       of conditions and the following disclaimer in the documentation and/or other materials
+ *       provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY GARY COURT ``AS IS'' AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * 
+ * The views and conclusions contained in the software and documentation are those of the
+ * authors and should not be interpreted as representing official policies, either expressed
+ * or implied, of Gary Court or the JSON Schema specification.
+ */
+
+/*jslint white: true, sub: true, onevar: true, undef: true, eqeqeq: true, newcap: true, immed: true, indent: 4 */
+/*global require */
+
+(function () {
+	var O = {},
+		JSV = require('./jsv').JSV,
+		ENVIRONMENT,
+		TYPE_VALIDATORS,
+		SCHEMA,
+		HYPERSCHEMA,
+		LINKS;
+	
+	TYPE_VALIDATORS = {
+		"string" : function (instance, report) {
+			return instance.getType() === "string";
+		},
+		
+		"number" : function (instance, report) {
+			return instance.getType() === "number";
+		},
+		
+		"integer" : function (instance, report) {
+			return instance.getType() === "number" && instance.getValue() % 1 === 0;
+		},
+		
+		"boolean" : function (instance, report) {
+			return instance.getType() === "boolean";
+		},
+		
+		"object" : function (instance, report) {
+			return instance.getType() === "object";
+		},
+		
+		"array" : function (instance, report) {
+			return instance.getType() === "array";
+		},
+		
+		"null" : function (instance, report) {
+			return instance.getType() === "null";
+		},
+		
+		"any" : function (instance, report) {
+			return true;
+		}
+	};
+	
+	ENVIRONMENT = new JSV.Environment();
+	ENVIRONMENT.setOption("defaultFragmentDelimiter", ".");
+	ENVIRONMENT.setOption("defaultSchemaURI", "http://json-schema.org/schema#");  //updated later
+	
+	SCHEMA = ENVIRONMENT.createSchema({
+		"$schema" : "http://json-schema.org/hyper-schema#",
+		"id" : "http://json-schema.org/schema#",
+		"type" : "object",
+		
+		"properties" : {
+			"type" : {
+				"type" : ["string", "array"],
+				"items" : {
+					"type" : ["string", {"$ref" : "#"}]
+				},
+				"optional" : true,
+				"uniqueItems" : true,
+				"default" : "any",
+				
+				"parser" : function (instance, self) {
+					var parser;
+					
+					if (instance.getType() === "string") {
+						return instance.getValue();
+					} else if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(
+							instance, 
+							self.getEnvironment().findSchema(self.resolveURI("#"))
+						);
+					} else if (instance.getType() === "array") {
+						parser = self.getValueOfProperty("parser");
+						return JSV.mapArray(instance.getProperties(), function (prop) {
+							return parser(prop, self);
+						});
+					}
+					//else
+					return "any";
+				},
+			
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var requiredTypes = JSV.toArray(schema.getAttribute("type")),
+						x, xl, type, subreport, typeValidators;
+					
+					//for instances that are required to be a certain type
+					if (instance.getType() !== "undefined" && requiredTypes && requiredTypes.length) {
+						typeValidators = self.getValueOfProperty("typeValidators") || {};
+						
+						//ensure that type matches for at least one of the required types
+						for (x = 0, xl = requiredTypes.length; x < xl; ++x) {
+							type = requiredTypes[x];
+							if (JSV.isJSONSchema(type)) {
+								subreport = JSV.createObject(report);
+								subreport.errors = [];
+								subreport.validated = JSV.clone(report.validated);
+								if (type.validate(instance, subreport, parent, parentSchema, name).errors.length === 0) {
+									return true;  //instance matches this schema
+								}
+							} else {
+								if (typeValidators[type] !== O[type] && typeof typeValidators[type] === "function") {
+									if (typeValidators[type](instance, report)) {
+										return true;  //type is valid
+									}
+								} else {
+									return true;  //unknown types are assumed valid
+								}
+							}
+						}
+						
+						//if we get to this point, type is invalid
+						report.addError(instance, schema, "type", "Instance is not a required type", requiredTypes);
+						return false;
+					}
+					//else, anything is allowed if no type is specified
+					return true;
+				},
+				
+				"typeValidators" : TYPE_VALIDATORS
+			},
+			
+			"properties" : {
+				"type" : "object",
+				"additionalProperties" : {"$ref" : "#"},
+				"optional" : true,
+				"default" : {},
+				
+				"parser" : function (instance, self, arg) {
+					var env = instance.getEnvironment(),
+						selfEnv = self.getEnvironment();
+					if (instance.getType() === "object") {
+						if (arg) {
+							return env.createSchema(instance.getProperty(arg), selfEnv.findSchema(self.resolveURI("#")));
+						} else {
+							return JSV.mapObject(instance.getProperties(), function (instance) {
+								return env.createSchema(instance, selfEnv.findSchema(self.resolveURI("#")));
+							});
+						}
+					}
+					//else
+					return {};
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var propertySchemas, key;
+					//this attribute is for object type instances only
+					if (instance.getType() === "object") {
+						//for each property defined in the schema
+						propertySchemas = schema.getAttribute("properties");
+						for (key in propertySchemas) {
+							if (propertySchemas[key] !== O[key] && propertySchemas[key]) {
+								//ensure that instance property is valid
+								propertySchemas[key].validate(instance.getProperty(key), report, instance, schema, key);
+							}
+						}
+					}
+				}
+			},
+			
+			"items" : {
+				"type" : [{"$ref" : "#"}, "array"],
+				"items" : {"$ref" : "#"},
+				"optional" : true,
+				"default" : {},
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+					} else if (instance.getType() === "array") {
+						return JSV.mapArray(instance.getProperties(), function (instance) {
+							return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+						});
+					}
+					//else
+					return instance.getEnvironment().createEmptySchema();
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var properties, items, x, xl, itemSchema, additionalProperties;
+					
+					if (instance.getType() === "array") {
+						properties = instance.getProperties();
+						items = schema.getAttribute("items");
+						additionalProperties = schema.getAttribute("additionalProperties");
+						
+						if (JSV.typeOf(items) === "array") {
+							for (x = 0, xl = properties.length; x < xl; ++x) {
+								itemSchema = items[x] || additionalProperties;
+								if (itemSchema !== false) {
+									itemSchema.validate(properties[x], report, instance, schema, x);
+								} else {
+									report.addError(instance, schema, "additionalProperties", "Additional items are not allowed", itemSchema);
+								}
+							}
+						} else {
+							itemSchema = items || additionalProperties;
+							for (x = 0, xl = properties.length; x < xl; ++x) {
+								itemSchema.validate(properties[x], report, instance, schema, x);
+							}
+						}
+					}
+				}
+			},
+			
+			"optional" : {
+				"type" : "boolean",
+				"optional" : true,
+				"default" : false,
+				
+				"parser" : function (instance, self) {
+					return !!instance.getValue();
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					if (instance.getType() === "undefined" && !schema.getAttribute("optional")) {
+						report.addError(instance, schema, "optional", "Property is required", false);
+					}
+				},
+				
+				"validationRequired" : true
+			},
+			
+			"additionalProperties" : {
+				"type" : [{"$ref" : "#"}, "boolean"],
+				"optional" : true,
+				"default" : {},
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+					} else if (instance.getType() === "boolean" && instance.getValue() === false) {
+						return false;
+					}
+					//else
+					return instance.getEnvironment().createEmptySchema();
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var additionalProperties, propertySchemas, properties, key;
+					//we only need to check against object types as arrays do their own checking on this property
+					if (instance.getType() === "object") {
+						additionalProperties = schema.getAttribute("additionalProperties");
+						propertySchemas = schema.getAttribute("properties") || {};
+						properties = instance.getProperties();
+						for (key in properties) {
+							if (properties[key] !== O[key] && properties[key] && !propertySchemas[key]) {
+								if (JSV.isJSONSchema(additionalProperties)) {
+									additionalProperties.validate(properties[key], report, instance, schema, key);
+								} else if (additionalProperties === false) {
+									report.addError(instance, schema, "additionalProperties", "Additional properties are not allowed", additionalProperties);
+								}
+							}
+						}
+					}
+				}
+			},
+			
+			"requires" : {
+				"type" : ["string", {"$ref" : "#"}],
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "string") {
+						return instance.getValue();
+					} else if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var requires;
+					if (instance.getType() !== "undefined" && parent && parent.getType() !== "undefined") {
+						requires = schema.getAttribute("requires");
+						if (typeof requires === "string") {
+							if (parent.getProperty(requires).getType() === "undefined") {
+								report.addError(instance, schema, "requires", 'Property requires sibling property "' + requires + '"', requires);
+							}
+						} else if (JSV.isJSONSchema(requires)) {
+							requires.validate(parent, report);  //WATCH: A "requires" schema does not support the "requires" attribute
+						}
+					}
+				}
+			},
+			
+			"minimum" : {
+				"type" : "number",
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var minimum, minimumCanEqual;
+					if (instance.getType() === "number") {
+						minimum = schema.getAttribute("minimum");
+						minimumCanEqual = schema.getAttribute("minimumCanEqual");
+						if (typeof minimum === "number" && (instance.getValue() < minimum || (minimumCanEqual === false && instance.getValue() === minimum))) {
+							report.addError(instance, schema, "minimum", "Number is less than the required minimum value", minimum);
+						}
+					}
+				}
+			},
+			
+			"maximum" : {
+				"type" : "number",
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var maximum, maximumCanEqual;
+					if (instance.getType() === "number") {
+						maximum = schema.getAttribute("maximum");
+						maximumCanEqual = schema.getAttribute("maximumCanEqual");
+						if (typeof maximum === "number" && (instance.getValue() > maximum || (maximumCanEqual === false && instance.getValue() === maximum))) {
+							report.addError(instance, schema, "maximum", "Number is greater than the required maximum value", maximum);
+						}
+					}
+				}
+			},
+			
+			"minimumCanEqual" : {
+				"type" : "boolean",
+				"optional" : true,
+				"requires" : "minimum",
+				"default" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "boolean") {
+						return instance.getValue();
+					}
+					//else
+					return true;
+				}
+			},
+			
+			"maximumCanEqual" : {
+				"type" : "boolean",
+				"optional" : true,
+				"requires" : "maximum",
+				"default" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "boolean") {
+						return instance.getValue();
+					}
+					//else
+					return true;
+				}
+			},
+			
+			"minItems" : {
+				"type" : "integer",
+				"optional" : true,
+				"minimum" : 0,
+				"default" : 0,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+					//else
+					return 0;
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var minItems;
+					if (instance.getType() === "array") {
+						minItems = schema.getAttribute("minItems");
+						if (typeof minItems === "number" && instance.getProperties().length < minItems) {
+							report.addError(instance, schema, "minItems", "The number of items is less than the required minimum", minItems);
+						}
+					}
+				}
+			},
+			
+			"maxItems" : {
+				"type" : "integer",
+				"optional" : true,
+				"minimum" : 0,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var maxItems;
+					if (instance.getType() === "array") {
+						maxItems = schema.getAttribute("maxItems");
+						if (typeof maxItems === "number" && instance.getProperties().length > maxItems) {
+							report.addError(instance, schema, "maxItems", "The number of items is greater than the required maximum", maxItems);
+						}
+					}
+				}
+			},
+			
+			"pattern" : {
+				"type" : "string",
+				"optional" : true,
+				"format" : "regex",
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "string") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var pattern;
+					try {
+						pattern = new RegExp(schema.getAttribute("pattern"));
+						if (instance.getType() === "string" && pattern && !pattern.test(instance.getValue())) {
+							report.addError(instance, schema, "pattern", "String does not match pattern", pattern.toString());
+						}
+					} catch (e) {
+						report.addError(instance, schema, "pattern", "Invalid pattern", e);
+					}
+				}
+			},
+			
+			"minLength" : {
+				"type" : "integer",
+				"optional" : true,
+				"minimum" : 0,
+				"default" : 0,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+					//else
+					return 0;
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var minLength;
+					if (instance.getType() === "string") {
+						minLength = schema.getAttribute("minLength");
+						if (typeof minLength === "number" && instance.getValue().length < minLength) {
+							report.addError(instance, schema, "minLength", "String is less than the required minimum length", minLength);
+						}
+					}
+				}
+			},
+			
+			"maxLength" : {
+				"type" : "integer",
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var maxLength;
+					if (instance.getType() === "string") {
+						maxLength = schema.getAttribute("maxLength");
+						if (typeof maxLength === "number" && instance.getValue().length > maxLength) {
+							report.addError(instance, schema, "maxLength", "String is greater than the required maximum length", maxLength);
+						}
+					}
+				}
+			},
+			
+			"enum" : {
+				"type" : "array",
+				"optional" : true,
+				"minItems" : 1,
+				"uniqueItems" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "array") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var enums, x, xl;
+					if (instance.getType() !== "undefined") {
+						enums = schema.getAttribute("enum");
+						if (enums) {
+							for (x = 0, xl = enums.length; x < xl; ++x) {
+								if (instance.equals(enums[x])) {
+									return true;
+								}
+							}
+							report.addError(instance, schema, "enum", "Instance is not one of the possible values", enums);
+						}
+					}
+				}
+			},
+			
+			"title" : {
+				"type" : "string",
+				"optional" : true
+			},
+			
+			"description" : {
+				"type" : "string",
+				"optional" : true
+			},
+			
+			"format" : {
+				"type" : "string",
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "string") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var format, formatValidators;
+					if (instance.getType() === "string") {
+						format = schema.getAttribute("format");
+						formatValidators = self.getValueOfProperty("formatValidators");
+						if (typeof format === "string" && formatValidators[format] !== O[format] && typeof formatValidators[format] === "function" && !formatValidators[format].call(this, instance, report)) {
+							report.addError(instance, schema, "format", "String is not in the required format", format);
+						}
+					}
+				},
+				
+				"formatValidators" : {}
+			},
+			
+			"contentEncoding" : {
+				"type" : "string",
+				"optional" : true
+			},
+			
+			"default" : {
+				"type" : "any",
+				"optional" : true
+			},
+			
+			"maxDecimal" : {
+				"type" : "integer",
+				"optional" : true,
+				"minimum" : 0,
+								
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var maxDecimal, decimals;
+					if (instance.getType() === "number") {
+						maxDecimal = schema.getAttribute("maxDecimal");
+						if (typeof maxDecimal === "number") {
+							decimals = instance.getValue().toString(10).split('.')[1];
+							if (decimals && decimals.length > maxDecimal) {
+								report.addError(instance, schema, "maxDecimal", "The number of decimal places is greater than the allowed maximum", maxDecimal);
+							}
+						}
+					}
+				}
+			},
+			
+			"disallow" : {
+				"type" : ["string", "array"],
+				"items" : {"type" : "string"},
+				"optional" : true,
+				"uniqueItems" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "string" || instance.getType() === "array") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var disallowedTypes = JSV.toArray(schema.getAttribute("disallow")),
+						x, xl, key, typeValidators;
+					
+					//for instances that are required to be a certain type
+					if (instance.getType() !== "undefined" && disallowedTypes && disallowedTypes.length) {
+						typeValidators = self.getValueOfProperty("typeValidators") || {};
+						
+						//ensure that type matches for at least one of the required types
+						for (x = 0, xl = disallowedTypes.length; x < xl; ++x) {
+							key = disallowedTypes[x];
+							if (typeValidators[key] !== O[key] && typeof typeValidators[key] === "function") {
+								if (typeValidators[key](instance, report)) {
+									report.addError(instance, schema, "disallow", "Instance is a disallowed type", disallowedTypes);
+									return false;
+								}
+							} 
+							/*
+							else {
+								report.addError(instance, schema, "disallow", "Instance may be a disallowed type", disallowedTypes);
+								return false;
+							}
+							*/
+						}
+						
+						//if we get to this point, type is valid
+						return true;
+					}
+					//else, everything is allowed if no disallowed types are specified
+					return true;
+				},
+				
+				"typeValidators" : TYPE_VALIDATORS
+			},
+		
+			"extends" : {
+				"type" : [{"$ref" : "#"}, "array"],
+				"items" : {"$ref" : "#"},
+				"optional" : true,
+				"default" : {},
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+					} else if (instance.getType() === "array") {
+						return JSV.mapArray(instance.getProperties(), function (instance) {
+							return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+						});
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var extensions = schema.getAttribute("extends"), x, xl;
+					if (extensions) {
+						if (JSV.isJSONSchema(extensions)) {
+							extensions.validate(instance, report, parent, parentSchema, name);
+						} else if (JSV.typeOf(extensions) === "array") {
+							for (x = 0, xl = extensions.length; x < xl; ++x) {
+								extensions[x].validate(instance, report, parent, parentSchema, name);
+							}
+						}
+					}
+				}
+			}
+		},
+		
+		"optional" : true,
+		"default" : {},
+		"fragmentResolution" : "dot-delimited",
+		
+		"parser" : function (instance, self) {
+			if (instance.getType() === "object") {
+				return instance.getEnvironment().createSchema(instance, self);
+			}
+		},
+		
+		"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+			var propNames = schema.getPropertyNames(), 
+				x, xl,
+				attributeSchemas = self.getAttribute("properties"),
+				validator;
+			
+			for (x in attributeSchemas) {
+				if (attributeSchemas[x] !== O[x] && attributeSchemas[x].getValueOfProperty("validationRequired")) {
+					JSV.pushUnique(propNames, x);
+				}
+			}
+			
+			for (x = 0, xl = propNames.length; x < xl; ++x) {
+				if (attributeSchemas[propNames[x]] !== O[propNames[x]]) {
+					validator = attributeSchemas[propNames[x]].getValueOfProperty("validator");
+					if (typeof validator === "function") {
+						validator(instance, schema, attributeSchemas[propNames[x]], report, parent, parentSchema, name);
+					}
+				}
+			}
+		},
+				
+		"initializer" : function (instance) {
+			var link, extension, extended;
+			
+			//if there is a link to a different schema, set reference
+			link = instance._schema.getLink("describedby", instance);
+			if (link && instance._schema._uri !== link) {
+				instance.setReference("describedby", link);
+			}
+			
+			//if instance has a URI link to itself, update it's own URI
+			link = instance._schema.getLink("self", instance);
+			if (JSV.typeOf(link) === "string") {
+				instance._uri = JSV.formatURI(link);
+			}
+			
+			//if there is a link to the full representation, set reference
+			link = instance._schema.getLink("full", instance);
+			if (link && instance._uri !== link) {
+				instance.setReference("full", link);
+			}
+			
+			//extend schema
+			extension = instance.getAttribute("extends");
+			if (JSV.isJSONSchema(extension)) {
+				extended = JSV.inherits(extension, instance, true);
+				instance = instance._env.createSchema(extended, instance._schema, instance._uri);
+			}
+			
+			return instance;
+		}
+	}, true, "http://json-schema.org/schema#");
+	
+	HYPERSCHEMA = ENVIRONMENT.createSchema(JSV.inherits(SCHEMA, ENVIRONMENT.createSchema({
+		"$schema" : "http://json-schema.org/hyper-schema#",
+		"id" : "http://json-schema.org/hyper-schema#",
+	
+		"properties" : {
+			"links" : {
+				"type" : "array",
+				"items" : {"$ref" : "links#"},
+				"optional" : true,
+				
+				"parser" : function (instance, self, arg) {
+					var links,
+						linkSchemaURI = self.getValueOfProperty("items")["$ref"],
+						linkSchema = self.getEnvironment().findSchema(linkSchemaURI),
+						linkParser = linkSchema && linkSchema.getValueOfProperty("parser");
+					arg = JSV.toArray(arg);
+					
+					if (typeof linkParser === "function") {
+						links = JSV.mapArray(instance.getProperties(), function (link) {
+							return linkParser(link, linkSchema);
+						});
+					} else {
+						links = JSV.toArray(instance.getValue());
+					}
+					
+					if (arg[0]) {
+						links = JSV.filterArray(links, function (link) {
+							return link["rel"] === arg[0];
+						});
+					}
+					
+					if (arg[1]) {
+						links = JSV.mapArray(links, function (link) {
+							var instance = arg[1],
+								href = link["href"];
+							href = href.replace(/\{(.+)\}/g, function (str, p1, offset, s) {
+								var value; 
+								if (p1 === "-this") {
+									value = instance.getValue();
+								} else {
+									value = instance.getValueOfProperty(p1);
+								}
+								return value !== undefined ? String(value) : "";
+							});
+							return href ? JSV.formatURI(instance.resolveURI(href)) : href;
+						});
+					}
+					
+					return links;
+				}
+			},
+			
+			"fragmentResolution" : {
+				"type" : "string",
+				"optional" : true,
+				"default" : "dot-delimited"
+			},
+			
+			"root" : {
+				"type" : "boolean",
+				"optional" : true,
+				"default" : false
+			},
+			
+			"readonly" : {
+				"type" : "boolean",
+				"optional" : true,
+				"default" : false
+			},
+			
+			"pathStart" : {
+				"type" : "string",
+				"optional" : true,
+				"format" : "uri",
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var pathStart;
+					if (instance.getType() !== "undefined") {
+						pathStart = schema.getAttribute("pathStart");
+						if (typeof pathStart === "string") {
+							//TODO: Find out what pathStart is relative to
+							if (instance.getURI().indexOf(pathStart) !== 0) {
+								report.addError(instance, schema, "pathStart", "Instance's URI does not start with " + pathStart, pathStart);
+							}
+						}
+					}
+				}
+			},
+			
+			"mediaType" : {
+				"type" : "string",
+				"optional" : true,
+				"format" : "media-type"
+			},
+			
+			"alternate" : {
+				"type" : "array",
+				"items" : {"$ref" : "#"},
+				"optional" : true
+			}
+		},
+		
+		"links" : [
+			{
+				"href" : "{$ref}",
+				"rel" : "full"
+			},
+			
+			{
+				"href" : "{$schema}",
+				"rel" : "describedby"
+			},
+			
+			{
+				"href" : "{id}",
+				"rel" : "self"
+			}
+		]//,
+		
+		//not needed as JSV.inherits does the job for us
+		//"extends" : {"$ref" : "http://json-schema.org/schema#"}
+	}, SCHEMA), true), true, "http://json-schema.org/hyper-schema#");
+	
+	ENVIRONMENT.setOption("defaultSchemaURI", "http://json-schema.org/hyper-schema#");
+	
+	LINKS = ENVIRONMENT.createSchema({
+		"$schema" : "http://json-schema.org/hyper-schema#",
+		"id" : "http://json-schema.org/links#",
+		"type" : "object",
+		
+		"properties" : {
+			"href" : {
+				"type" : "string"
+			},
+			
+			"rel" : {
+				"type" : "string"
+			},
+			
+			"method" : {
+				"type" : "string",
+				"default" : "GET",
+				"optional" : true
+			},
+			
+			"enctype" : {
+				"type" : "string",
+				"requires" : "method",
+				"optional" : true
+			},
+			
+			"properties" : {
+				"type" : "object",
+				"additionalProperties" : {"$ref" : "hyper-schema#"},
+				"optional" : true,
+				
+				"parser" : function (instance, self, arg) {
+					var env = instance.getEnvironment(),
+						selfEnv = self.getEnvironment(),
+						additionalPropertiesSchemaURI = self.getValueOfProperty("additionalProperties")["$ref"];
+					if (instance.getType() === "object") {
+						if (arg) {
+							return env.createSchema(instance.getProperty(arg), selfEnv.findSchema(self.resolveURI(additionalPropertiesSchemaURI)));
+						} else {
+							return JSV.mapObject(instance.getProperties(), function (instance) {
+								return env.createSchema(instance, selfEnv.findSchema(self.resolveURI(additionalPropertiesSchemaURI)));
+							});
+						}
+					}
+				}
+			}
+		},
+		
+		"parser" : function (instance, self) {
+			var selfProperties = self.getProperty("properties");
+			if (instance.getType() === "object") {
+				return JSV.mapObject(instance.getProperties(), function (property, key) {
+					var propertySchema = selfProperties.getProperty(key),
+						parser = propertySchema && propertySchema.getValueOfProperty("parser");
+					if (typeof parser === "function") {
+						return parser(property, propertySchema);
+					}
+					//else
+					return property.getValue();
+				});
+			}
+			return instance.getValue();
+		}
+	}, HYPERSCHEMA, "http://json-schema.org/links#");
+	
+	JSV.registerEnvironment("json-schema-draft-00", ENVIRONMENT);
+	JSV.registerEnvironment("json-schema-draft-01", JSV.createEnvironment("json-schema-draft-00"));
+	
+	if (!JSV.getDefaultEnvironmentID()) {
+		JSV.setDefaultEnvironmentID("json-schema-draft-01");
+	}
+	
+}());
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/json-schema-draft-02.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/json-schema-draft-02.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/json-schema-draft-02.js	(revision 505)
@@ -0,0 +1,982 @@
+/**
+ * json-schema-draft-02 Environment
+ * 
+ * @fileOverview Implementation of the second revision of the JSON Schema specification draft.
+ * @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
+ * @version 1.7.1
+ * @see http://github.com/garycourt/JSV
+ */
+
+/*
+ * Copyright 2010 Gary Court. All rights reserved.
+ * 
+ * Redistribution and use in source and binary forms, with or without modification, are
+ * permitted provided that the following conditions are met:
+ * 
+ *    1. Redistributions of source code must retain the above copyright notice, this list of
+ *       conditions and the following disclaimer.
+ * 
+ *    2. Redistributions in binary form must reproduce the above copyright notice, this list
+ *       of conditions and the following disclaimer in the documentation and/or other materials
+ *       provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY GARY COURT ``AS IS'' AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * 
+ * The views and conclusions contained in the software and documentation are those of the
+ * authors and should not be interpreted as representing official policies, either expressed
+ * or implied, of Gary Court or the JSON Schema specification.
+ */
+
+/*jslint white: true, sub: true, onevar: true, undef: true, eqeqeq: true, newcap: true, immed: true, indent: 4 */
+/*global require */
+
+(function () {
+	var O = {},
+		JSV = require('./jsv').JSV,
+		ENVIRONMENT,
+		TYPE_VALIDATORS,
+		SCHEMA,
+		HYPERSCHEMA,
+		LINKS;
+	
+	TYPE_VALIDATORS = {
+		"string" : function (instance, report) {
+			return instance.getType() === "string";
+		},
+		
+		"number" : function (instance, report) {
+			return instance.getType() === "number";
+		},
+		
+		"integer" : function (instance, report) {
+			return instance.getType() === "number" && instance.getValue() % 1 === 0;
+		},
+		
+		"boolean" : function (instance, report) {
+			return instance.getType() === "boolean";
+		},
+		
+		"object" : function (instance, report) {
+			return instance.getType() === "object";
+		},
+		
+		"array" : function (instance, report) {
+			return instance.getType() === "array";
+		},
+		
+		"null" : function (instance, report) {
+			return instance.getType() === "null";
+		},
+		
+		"any" : function (instance, report) {
+			return true;
+		}
+	};
+	
+	ENVIRONMENT = new JSV.Environment();
+	ENVIRONMENT.setOption("defaultFragmentDelimiter", "/");
+	ENVIRONMENT.setOption("defaultSchemaURI", "http://json-schema.org/schema#");  //updated later
+	
+	SCHEMA = ENVIRONMENT.createSchema({
+		"$schema" : "http://json-schema.org/hyper-schema#",
+		"id" : "http://json-schema.org/schema#",
+		"type" : "object",
+		
+		"properties" : {
+			"type" : {
+				"type" : ["string", "array"],
+				"items" : {
+					"type" : ["string", {"$ref" : "#"}]
+				},
+				"optional" : true,
+				"uniqueItems" : true,
+				"default" : "any",
+				
+				"parser" : function (instance, self) {
+					var parser;
+					
+					if (instance.getType() === "string") {
+						return instance.getValue();
+					} else if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(
+							instance, 
+							self.getEnvironment().findSchema(self.resolveURI("#"))
+						);
+					} else if (instance.getType() === "array") {
+						parser = self.getValueOfProperty("parser");
+						return JSV.mapArray(instance.getProperties(), function (prop) {
+							return parser(prop, self);
+						});
+					}
+					//else
+					return "any";
+				},
+			
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var requiredTypes = JSV.toArray(schema.getAttribute("type")),
+						x, xl, type, subreport, typeValidators;
+					
+					//for instances that are required to be a certain type
+					if (instance.getType() !== "undefined" && requiredTypes && requiredTypes.length) {
+						typeValidators = self.getValueOfProperty("typeValidators") || {};
+						
+						//ensure that type matches for at least one of the required types
+						for (x = 0, xl = requiredTypes.length; x < xl; ++x) {
+							type = requiredTypes[x];
+							if (JSV.isJSONSchema(type)) {
+								subreport = JSV.createObject(report);
+								subreport.errors = [];
+								subreport.validated = JSV.clone(report.validated);
+								if (type.validate(instance, subreport, parent, parentSchema, name).errors.length === 0) {
+									return true;  //instance matches this schema
+								}
+							} else {
+								if (typeValidators[type] !== O[type] && typeof typeValidators[type] === "function") {
+									if (typeValidators[type](instance, report)) {
+										return true;  //type is valid
+									}
+								} else {
+									return true;  //unknown types are assumed valid
+								}
+							}
+						}
+						
+						//if we get to this point, type is invalid
+						report.addError(instance, schema, "type", "Instance is not a required type", requiredTypes);
+						return false;
+					}
+					//else, anything is allowed if no type is specified
+					return true;
+				},
+				
+				"typeValidators" : TYPE_VALIDATORS
+			},
+			
+			"properties" : {
+				"type" : "object",
+				"additionalProperties" : {"$ref" : "#"},
+				"optional" : true,
+				"default" : {},
+				
+				"parser" : function (instance, self, arg) {
+					var env = instance.getEnvironment(),
+						selfEnv = self.getEnvironment();
+					if (instance.getType() === "object") {
+						if (arg) {
+							return env.createSchema(instance.getProperty(arg), selfEnv.findSchema(self.resolveURI("#")));
+						} else {
+							return JSV.mapObject(instance.getProperties(), function (instance) {
+								return env.createSchema(instance, selfEnv.findSchema(self.resolveURI("#")));
+							});
+						}
+					}
+					//else
+					return {};
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var propertySchemas, key;
+					//this attribute is for object type instances only
+					if (instance.getType() === "object") {
+						//for each property defined in the schema
+						propertySchemas = schema.getAttribute("properties");
+						for (key in propertySchemas) {
+							if (propertySchemas[key] !== O[key] && propertySchemas[key]) {
+								//ensure that instance property is valid
+								propertySchemas[key].validate(instance.getProperty(key), report, instance, schema, key);
+							}
+						}
+					}
+				}
+			},
+			
+			"items" : {
+				"type" : [{"$ref" : "#"}, "array"],
+				"items" : {"$ref" : "#"},
+				"optional" : true,
+				"default" : {},
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+					} else if (instance.getType() === "array") {
+						return JSV.mapArray(instance.getProperties(), function (instance) {
+							return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+						});
+					}
+					//else
+					return instance.getEnvironment().createEmptySchema();
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var properties, items, x, xl, itemSchema, additionalProperties;
+					
+					if (instance.getType() === "array") {
+						properties = instance.getProperties();
+						items = schema.getAttribute("items");
+						additionalProperties = schema.getAttribute("additionalProperties");
+						
+						if (JSV.typeOf(items) === "array") {
+							for (x = 0, xl = properties.length; x < xl; ++x) {
+								itemSchema = items[x] || additionalProperties;
+								if (itemSchema !== false) {
+									itemSchema.validate(properties[x], report, instance, schema, x);
+								} else {
+									report.addError(instance, schema, "additionalProperties", "Additional items are not allowed", itemSchema);
+								}
+							}
+						} else {
+							itemSchema = items || additionalProperties;
+							for (x = 0, xl = properties.length; x < xl; ++x) {
+								itemSchema.validate(properties[x], report, instance, schema, x);
+							}
+						}
+					}
+				}
+			},
+			
+			"optional" : {
+				"type" : "boolean",
+				"optional" : true,
+				"default" : false,
+				
+				"parser" : function (instance, self) {
+					return !!instance.getValue();
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					if (instance.getType() === "undefined" && !schema.getAttribute("optional")) {
+						report.addError(instance, schema, "optional", "Property is required", false);
+					}
+				},
+				
+				"validationRequired" : true
+			},
+			
+			"additionalProperties" : {
+				"type" : [{"$ref" : "#"}, "boolean"],
+				"optional" : true,
+				"default" : {},
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+					} else if (instance.getType() === "boolean" && instance.getValue() === false) {
+						return false;
+					}
+					//else
+					return instance.getEnvironment().createEmptySchema();
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var additionalProperties, propertySchemas, properties, key;
+					//we only need to check against object types as arrays do their own checking on this property
+					if (instance.getType() === "object") {
+						additionalProperties = schema.getAttribute("additionalProperties");
+						propertySchemas = schema.getAttribute("properties") || {};
+						properties = instance.getProperties();
+						for (key in properties) {
+							if (properties[key] !== O[key] && properties[key] && !propertySchemas[key]) {
+								if (JSV.isJSONSchema(additionalProperties)) {
+									additionalProperties.validate(properties[key], report, instance, schema, key);
+								} else if (additionalProperties === false) {
+									report.addError(instance, schema, "additionalProperties", "Additional properties are not allowed", additionalProperties);
+								}
+							}
+						}
+					}
+				}
+			},
+			
+			"requires" : {
+				"type" : ["string", {"$ref" : "#"}],
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "string") {
+						return instance.getValue();
+					} else if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var requires;
+					if (instance.getType() !== "undefined" && parent && parent.getType() !== "undefined") {
+						requires = schema.getAttribute("requires");
+						if (typeof requires === "string") {
+							if (parent.getProperty(requires).getType() === "undefined") {
+								report.addError(instance, schema, "requires", 'Property requires sibling property "' + requires + '"', requires);
+							}
+						} else if (JSV.isJSONSchema(requires)) {
+							requires.validate(parent, report);  //WATCH: A "requires" schema does not support the "requires" attribute
+						}
+					}
+				}
+			},
+			
+			"minimum" : {
+				"type" : "number",
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var minimum, minimumCanEqual;
+					if (instance.getType() === "number") {
+						minimum = schema.getAttribute("minimum");
+						minimumCanEqual = schema.getAttribute("minimumCanEqual");
+						if (typeof minimum === "number" && (instance.getValue() < minimum || (minimumCanEqual === false && instance.getValue() === minimum))) {
+							report.addError(instance, schema, "minimum", "Number is less than the required minimum value", minimum);
+						}
+					}
+				}
+			},
+			
+			"maximum" : {
+				"type" : "number",
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var maximum, maximumCanEqual;
+					if (instance.getType() === "number") {
+						maximum = schema.getAttribute("maximum");
+						maximumCanEqual = schema.getAttribute("maximumCanEqual");
+						if (typeof maximum === "number" && (instance.getValue() > maximum || (maximumCanEqual === false && instance.getValue() === maximum))) {
+							report.addError(instance, schema, "maximum", "Number is greater than the required maximum value", maximum);
+						}
+					}
+				}
+			},
+			
+			"minimumCanEqual" : {
+				"type" : "boolean",
+				"optional" : true,
+				"requires" : "minimum",
+				"default" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "boolean") {
+						return instance.getValue();
+					}
+					//else
+					return true;
+				}
+			},
+			
+			"maximumCanEqual" : {
+				"type" : "boolean",
+				"optional" : true,
+				"requires" : "maximum",
+				"default" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "boolean") {
+						return instance.getValue();
+					}
+					//else
+					return true;
+				}
+			},
+			
+			"minItems" : {
+				"type" : "integer",
+				"optional" : true,
+				"minimum" : 0,
+				"default" : 0,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+					//else
+					return 0;
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var minItems;
+					if (instance.getType() === "array") {
+						minItems = schema.getAttribute("minItems");
+						if (typeof minItems === "number" && instance.getProperties().length < minItems) {
+							report.addError(instance, schema, "minItems", "The number of items is less than the required minimum", minItems);
+						}
+					}
+				}
+			},
+			
+			"maxItems" : {
+				"type" : "integer",
+				"optional" : true,
+				"minimum" : 0,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var maxItems;
+					if (instance.getType() === "array") {
+						maxItems = schema.getAttribute("maxItems");
+						if (typeof maxItems === "number" && instance.getProperties().length > maxItems) {
+							report.addError(instance, schema, "maxItems", "The number of items is greater than the required maximum", maxItems);
+						}
+					}
+				}
+			},
+			
+			"uniqueItems" : {
+				"type" : "boolean",
+				"optional" : true,
+				"default" : false,
+				
+				"parser" : function (instance, self) {
+					return !!instance.getValue();
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var value, x, xl, y, yl;
+					if (instance.getType() === "array" && schema.getAttribute("uniqueItems")) {
+						value = instance.getProperties();
+						for (x = 0, xl = value.length - 1; x < xl; ++x) {
+							for (y = x + 1, yl = value.length; y < yl; ++y) {
+								if (value[x].equals(value[y])) {
+									report.addError(instance, schema, "uniqueItems", "Array can only contain unique items", { x : x, y : y });
+								}
+							}
+						}
+					}
+				}
+			},
+			
+			"pattern" : {
+				"type" : "string",
+				"optional" : true,
+				"format" : "regex",
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "string") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var pattern;
+					try {
+						pattern = new RegExp(schema.getAttribute("pattern"));
+						if (instance.getType() === "string" && pattern && !pattern.test(instance.getValue())) {
+							report.addError(instance, schema, "pattern", "String does not match pattern", pattern.toString());
+						}
+					} catch (e) {
+						report.addError(instance, schema, "pattern", "Invalid pattern", e);
+					}
+				}
+			},
+			
+			"minLength" : {
+				"type" : "integer",
+				"optional" : true,
+				"minimum" : 0,
+				"default" : 0,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+					//else
+					return 0;
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var minLength;
+					if (instance.getType() === "string") {
+						minLength = schema.getAttribute("minLength");
+						if (typeof minLength === "number" && instance.getValue().length < minLength) {
+							report.addError(instance, schema, "minLength", "String is less than the required minimum length", minLength);
+						}
+					}
+				}
+			},
+			
+			"maxLength" : {
+				"type" : "integer",
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var maxLength;
+					if (instance.getType() === "string") {
+						maxLength = schema.getAttribute("maxLength");
+						if (typeof maxLength === "number" && instance.getValue().length > maxLength) {
+							report.addError(instance, schema, "maxLength", "String is greater than the required maximum length", maxLength);
+						}
+					}
+				}
+			},
+			
+			"enum" : {
+				"type" : "array",
+				"optional" : true,
+				"minItems" : 1,
+				"uniqueItems" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "array") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var enums, x, xl;
+					if (instance.getType() !== "undefined") {
+						enums = schema.getAttribute("enum");
+						if (enums) {
+							for (x = 0, xl = enums.length; x < xl; ++x) {
+								if (instance.equals(enums[x])) {
+									return true;
+								}
+							}
+							report.addError(instance, schema, "enum", "Instance is not one of the possible values", enums);
+						}
+					}
+				}
+			},
+			
+			"title" : {
+				"type" : "string",
+				"optional" : true
+			},
+			
+			"description" : {
+				"type" : "string",
+				"optional" : true
+			},
+			
+			"format" : {
+				"type" : "string",
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "string") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var format, formatValidators;
+					if (instance.getType() === "string") {
+						format = schema.getAttribute("format");
+						formatValidators = self.getValueOfProperty("formatValidators");
+						if (typeof format === "string" && formatValidators[format] !== O[format] && typeof formatValidators[format] === "function" && !formatValidators[format].call(this, instance, report)) {
+							report.addError(instance, schema, "format", "String is not in the required format", format);
+						}
+					}
+				},
+				
+				"formatValidators" : {}
+			},
+			
+			"contentEncoding" : {
+				"type" : "string",
+				"optional" : true
+			},
+			
+			"default" : {
+				"type" : "any",
+				"optional" : true
+			},
+			
+			"divisibleBy" : {
+				"type" : "number",
+				"minimum" : 0,
+				"minimumCanEqual" : false,
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var divisor;
+					if (instance.getType() === "number") {
+						divisor = schema.getAttribute("divisibleBy");
+						if (divisor === 0) {
+							report.addError(instance, schema, "divisibleBy", "Nothing is divisible by 0", divisor);
+						} else if (divisor !== 1 && ((instance.getValue() / divisor) % 1) !== 0) {
+							report.addError(instance, schema, "divisibleBy", "Number is not divisible by " + divisor, divisor);
+						}
+					}
+				}
+			},
+			
+			"disallow" : {
+				"type" : ["string", "array"],
+				"items" : {"type" : "string"},
+				"optional" : true,
+				"uniqueItems" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "string" || instance.getType() === "array") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var disallowedTypes = JSV.toArray(schema.getAttribute("disallow")),
+						x, xl, key, typeValidators;
+					
+					//for instances that are required to be a certain type
+					if (instance.getType() !== "undefined" && disallowedTypes && disallowedTypes.length) {
+						typeValidators = self.getValueOfProperty("typeValidators") || {};
+						
+						//ensure that type matches for at least one of the required types
+						for (x = 0, xl = disallowedTypes.length; x < xl; ++x) {
+							key = disallowedTypes[x];
+							if (typeValidators[key] !== O[key] && typeof typeValidators[key] === "function") {
+								if (typeValidators[key](instance, report)) {
+									report.addError(instance, schema, "disallow", "Instance is a disallowed type", disallowedTypes);
+									return false;
+								}
+							} 
+							/*
+							else {
+								report.addError(instance, schema, "disallow", "Instance may be a disallowed type", disallowedTypes);
+								return false;
+							}
+							*/
+						}
+						
+						//if we get to this point, type is valid
+						return true;
+					}
+					//else, everything is allowed if no disallowed types are specified
+					return true;
+				},
+				
+				"typeValidators" : TYPE_VALIDATORS
+			},
+		
+			"extends" : {
+				"type" : [{"$ref" : "#"}, "array"],
+				"items" : {"$ref" : "#"},
+				"optional" : true,
+				"default" : {},
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+					} else if (instance.getType() === "array") {
+						return JSV.mapArray(instance.getProperties(), function (instance) {
+							return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+						});
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var extensions = schema.getAttribute("extends"), x, xl;
+					if (extensions) {
+						if (JSV.isJSONSchema(extensions)) {
+							extensions.validate(instance, report, parent, parentSchema, name);
+						} else if (JSV.typeOf(extensions) === "array") {
+							for (x = 0, xl = extensions.length; x < xl; ++x) {
+								extensions[x].validate(instance, report, parent, parentSchema, name);
+							}
+						}
+					}
+				}
+			}
+		},
+		
+		"optional" : true,
+		"default" : {},
+		"fragmentResolution" : "slash-delimited",
+		
+		"parser" : function (instance, self) {
+			if (instance.getType() === "object") {
+				return instance.getEnvironment().createSchema(instance, self);
+			}
+		},
+		
+		"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+			var propNames = schema.getPropertyNames(), 
+				x, xl,
+				attributeSchemas = self.getAttribute("properties"),
+				validator;
+			
+			for (x in attributeSchemas) {
+				if (attributeSchemas[x] !== O[x] && attributeSchemas[x].getValueOfProperty("validationRequired")) {
+					JSV.pushUnique(propNames, x);
+				}
+			}
+			
+			for (x = 0, xl = propNames.length; x < xl; ++x) {
+				if (attributeSchemas[propNames[x]] !== O[propNames[x]]) {
+					validator = attributeSchemas[propNames[x]].getValueOfProperty("validator");
+					if (typeof validator === "function") {
+						validator(instance, schema, attributeSchemas[propNames[x]], report, parent, parentSchema, name);
+					}
+				}
+			}
+		},
+				
+		"initializer" : function (instance) {
+			var link, extension, extended;
+			
+			//if there is a link to a different schema, set reference
+			link = instance._schema.getLink("describedby", instance);
+			if (link && instance._schema._uri !== link) {
+				instance.setReference("describedby", link);
+			}
+			
+			//if instance has a URI link to itself, update it's own URI
+			link = instance._schema.getLink("self", instance);
+			if (JSV.typeOf(link) === "string") {
+				instance._uri = JSV.formatURI(link);
+			}
+			
+			//if there is a link to the full representation, set reference
+			link = instance._schema.getLink("full", instance);
+			if (link && instance._uri !== link) {
+				instance.setReference("full", link);
+			}
+			
+			//extend schema
+			extension = instance.getAttribute("extends");
+			if (JSV.isJSONSchema(extension)) {
+				extended = JSV.inherits(extension, instance, true);
+				instance = instance._env.createSchema(extended, instance._schema, instance._uri);
+			}
+			
+			return instance;
+		}
+	}, true, "http://json-schema.org/schema#");
+	
+	HYPERSCHEMA = ENVIRONMENT.createSchema(JSV.inherits(SCHEMA, ENVIRONMENT.createSchema({
+		"$schema" : "http://json-schema.org/hyper-schema#",
+		"id" : "http://json-schema.org/hyper-schema#",
+	
+		"properties" : {
+			"links" : {
+				"type" : "array",
+				"items" : {"$ref" : "links#"},
+				"optional" : true,
+				
+				"parser" : function (instance, self, arg) {
+					var links,
+						linkSchemaURI = self.getValueOfProperty("items")["$ref"],
+						linkSchema = self.getEnvironment().findSchema(linkSchemaURI),
+						linkParser = linkSchema && linkSchema.getValueOfProperty("parser");
+					arg = JSV.toArray(arg);
+					
+					if (typeof linkParser === "function") {
+						links = JSV.mapArray(instance.getProperties(), function (link) {
+							return linkParser(link, linkSchema);
+						});
+					} else {
+						links = JSV.toArray(instance.getValue());
+					}
+					
+					if (arg[0]) {
+						links = JSV.filterArray(links, function (link) {
+							return link["rel"] === arg[0];
+						});
+					}
+					
+					if (arg[1]) {
+						links = JSV.mapArray(links, function (link) {
+							var instance = arg[1],
+								href = link["href"];
+							href = href.replace(/\{(.+)\}/g, function (str, p1, offset, s) {
+								var value; 
+								if (p1 === "-this") {
+									value = instance.getValue();
+								} else {
+									value = instance.getValueOfProperty(p1);
+								}
+								return value !== undefined ? String(value) : "";
+							});
+							return href ? JSV.formatURI(instance.resolveURI(href)) : href;
+						});
+					}
+					
+					return links;
+				}
+			},
+			
+			"fragmentResolution" : {
+				"type" : "string",
+				"optional" : true,
+				"default" : "slash-delimited"
+			},
+			
+			"root" : {
+				"type" : "boolean",
+				"optional" : true,
+				"default" : false
+			},
+			
+			"readonly" : {
+				"type" : "boolean",
+				"optional" : true,
+				"default" : false
+			},
+			
+			"pathStart" : {
+				"type" : "string",
+				"optional" : true,
+				"format" : "uri",
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var pathStart;
+					if (instance.getType() !== "undefined") {
+						pathStart = schema.getAttribute("pathStart");
+						if (typeof pathStart === "string") {
+							//TODO: Find out what pathStart is relative to
+							if (instance.getURI().indexOf(pathStart) !== 0) {
+								report.addError(instance, schema, "pathStart", "Instance's URI does not start with " + pathStart, pathStart);
+							}
+						}
+					}
+				}
+			},
+			
+			"mediaType" : {
+				"type" : "string",
+				"optional" : true,
+				"format" : "media-type"
+			},
+			
+			"alternate" : {
+				"type" : "array",
+				"items" : {"$ref" : "#"},
+				"optional" : true
+			}
+		},
+		
+		"links" : [
+			{
+				"href" : "{$ref}",
+				"rel" : "full"
+			},
+			
+			{
+				"href" : "{$schema}",
+				"rel" : "describedby"
+			},
+			
+			{
+				"href" : "{id}",
+				"rel" : "self"
+			}
+		]//,
+		
+		//not needed as JSV.inherits does the job for us
+		//"extends" : {"$ref" : "http://json-schema.org/schema#"}
+	}, SCHEMA), true), true, "http://json-schema.org/hyper-schema#");
+	
+	ENVIRONMENT.setOption("defaultSchemaURI", "http://json-schema.org/hyper-schema#");
+	
+	LINKS = ENVIRONMENT.createSchema({
+		"$schema" : "http://json-schema.org/hyper-schema#",
+		"id" : "http://json-schema.org/links#",
+		"type" : "object",
+		
+		"properties" : {
+			"href" : {
+				"type" : "string"
+			},
+			
+			"rel" : {
+				"type" : "string"
+			},
+			
+			"targetSchema" : {
+				"$ref" : "hyper-schema#",
+				
+				//need this here because parsers are run before links are resolved
+				"parser" : HYPERSCHEMA.getAttribute("parser")
+			},
+			
+			"method" : {
+				"type" : "string",
+				"default" : "GET",
+				"optional" : true
+			},
+			
+			"enctype" : {
+				"type" : "string",
+				"requires" : "method",
+				"optional" : true
+			},
+			
+			"properties" : {
+				"type" : "object",
+				"additionalProperties" : {"$ref" : "hyper-schema#"},
+				"optional" : true,
+				
+				"parser" : function (instance, self, arg) {
+					var env = instance.getEnvironment(),
+						selfEnv = self.getEnvironment(),
+						additionalPropertiesSchemaURI = self.getValueOfProperty("additionalProperties")["$ref"];
+					if (instance.getType() === "object") {
+						if (arg) {
+							return env.createSchema(instance.getProperty(arg), selfEnv.findSchema(self.resolveURI(additionalPropertiesSchemaURI)));
+						} else {
+							return JSV.mapObject(instance.getProperties(), function (instance) {
+								return env.createSchema(instance, selfEnv.findSchema(self.resolveURI(additionalPropertiesSchemaURI)));
+							});
+						}
+					}
+				}
+			}
+		},
+		
+		"parser" : function (instance, self) {
+			var selfProperties = self.getProperty("properties");
+			if (instance.getType() === "object") {
+				return JSV.mapObject(instance.getProperties(), function (property, key) {
+					var propertySchema = selfProperties.getProperty(key),
+						parser = propertySchema && propertySchema.getValueOfProperty("parser");
+					if (typeof parser === "function") {
+						return parser(property, propertySchema);
+					}
+					//else
+					return property.getValue();
+				});
+			}
+			return instance.getValue();
+		}
+	}, HYPERSCHEMA, "http://json-schema.org/links#");
+	
+	JSV.registerEnvironment("json-schema-draft-02", ENVIRONMENT);
+	if (!JSV.getDefaultEnvironmentID() || JSV.getDefaultEnvironmentID() === "json-schema-draft-01") {
+		JSV.setDefaultEnvironmentID("json-schema-draft-02");
+	}
+	
+}());
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/json-schema-draft-03.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/json-schema-draft-03.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/json-schema-draft-03.js	(revision 505)
@@ -0,0 +1,1552 @@
+/**
+ * json-schema-draft-03 Environment
+ * 
+ * @fileOverview Implementation of the third revision of the JSON Schema specification draft.
+ * @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
+ * @version 1.5.1
+ * @see http://github.com/garycourt/JSV
+ */
+
+/*
+ * Copyright 2010 Gary Court. All rights reserved.
+ * 
+ * Redistribution and use in source and binary forms, with or without modification, are
+ * permitted provided that the following conditions are met:
+ * 
+ *    1. Redistributions of source code must retain the above copyright notice, this list of
+ *       conditions and the following disclaimer.
+ * 
+ *    2. Redistributions in binary form must reproduce the above copyright notice, this list
+ *       of conditions and the following disclaimer in the documentation and/or other materials
+ *       provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY GARY COURT ``AS IS'' AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * 
+ * The views and conclusions contained in the software and documentation are those of the
+ * authors and should not be interpreted as representing official policies, either expressed
+ * or implied, of Gary Court or the JSON Schema specification.
+ */
+
+/*jslint white: true, sub: true, onevar: true, undef: true, eqeqeq: true, newcap: true, immed: true, indent: 4 */
+/*global require */
+
+(function () {
+	var O = {},
+		JSV = require('./jsv').JSV,
+		TYPE_VALIDATORS,
+		ENVIRONMENT,
+		SCHEMA_00_JSON,
+		HYPERSCHEMA_00_JSON,
+		LINKS_00_JSON, 
+		SCHEMA_00,
+		HYPERSCHEMA_00,
+		LINKS_00, 
+		SCHEMA_01_JSON,
+		HYPERSCHEMA_01_JSON,
+		LINKS_01_JSON, 
+		SCHEMA_01,
+		HYPERSCHEMA_01,
+		LINKS_01, 
+		SCHEMA_02_JSON,
+		HYPERSCHEMA_02_JSON,
+		LINKS_02_JSON,
+		SCHEMA_02,
+		HYPERSCHEMA_02,
+		LINKS_02, 
+		SCHEMA_03_JSON,
+		HYPERSCHEMA_03_JSON,
+		LINKS_03_JSON,
+		SCHEMA_03,
+		HYPERSCHEMA_03,
+		LINKS_03;
+	
+	TYPE_VALIDATORS = {
+		"string" : function (instance, report) {
+			return instance.getType() === "string";
+		},
+		
+		"number" : function (instance, report) {
+			return instance.getType() === "number";
+		},
+		
+		"integer" : function (instance, report) {
+			return instance.getType() === "number" && instance.getValue() % 1 === 0;
+		},
+		
+		"boolean" : function (instance, report) {
+			return instance.getType() === "boolean";
+		},
+		
+		"object" : function (instance, report) {
+			return instance.getType() === "object";
+		},
+		
+		"array" : function (instance, report) {
+			return instance.getType() === "array";
+		},
+		
+		"null" : function (instance, report) {
+			return instance.getType() === "null";
+		},
+		
+		"any" : function (instance, report) {
+			return true;
+		}
+	};
+	
+	ENVIRONMENT = new JSV.Environment();
+	ENVIRONMENT.setOption("validateReferences", true);
+	ENVIRONMENT.setOption("enforceReferences", false);
+	ENVIRONMENT.setOption("strict", false);
+	
+	//
+	// draft-00
+	//
+	
+	SCHEMA_00_JSON = {
+		"$schema" : "http://json-schema.org/draft-00/hyper-schema#",
+		"id" : "http://json-schema.org/draft-00/schema#",
+		"type" : "object",
+		
+		"properties" : {
+			"type" : {
+				"type" : ["string", "array"],
+				"items" : {
+					"type" : ["string", {"$ref" : "#"}]
+				},
+				"optional" : true,
+				"uniqueItems" : true,
+				"default" : "any",
+				
+				"parser" : function (instance, self) {
+					var parser;
+					
+					if (instance.getType() === "string") {
+						return instance.getValue();
+					} else if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(
+							instance, 
+							self.getEnvironment().findSchema(self.resolveURI("#"))
+						);
+					} else if (instance.getType() === "array") {
+						parser = self.getValueOfProperty("parser");
+						return JSV.mapArray(instance.getProperties(), function (prop) {
+							return parser(prop, self);
+						});
+					}
+					//else
+					return "any";
+				},
+			
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var requiredTypes = JSV.toArray(schema.getAttribute("type")),
+						x, xl, type, subreport, typeValidators;
+					
+					//for instances that are required to be a certain type
+					if (instance.getType() !== "undefined" && requiredTypes && requiredTypes.length) {
+						typeValidators = self.getValueOfProperty("typeValidators") || {};
+						
+						//ensure that type matches for at least one of the required types
+						for (x = 0, xl = requiredTypes.length; x < xl; ++x) {
+							type = requiredTypes[x];
+							if (JSV.isJSONSchema(type)) {
+								subreport = JSV.createObject(report);
+								subreport.errors = [];
+								subreport.validated = JSV.clone(report.validated);
+								if (type.validate(instance, subreport, parent, parentSchema, name).errors.length === 0) {
+									return true;  //instance matches this schema
+								}
+							} else {
+								if (typeValidators[type] !== O[type] && typeof typeValidators[type] === "function") {
+									if (typeValidators[type](instance, report)) {
+										return true;  //type is valid
+									}
+								} else {
+									return true;  //unknown types are assumed valid
+								}
+							}
+						}
+						
+						//if we get to this point, type is invalid
+						report.addError(instance, schema, "type", "Instance is not a required type", requiredTypes);
+						return false;
+					}
+					//else, anything is allowed if no type is specified
+					return true;
+				},
+				
+				"typeValidators" : TYPE_VALIDATORS
+			},
+			
+			"properties" : {
+				"type" : "object",
+				"additionalProperties" : {"$ref" : "#"},
+				"optional" : true,
+				"default" : {},
+				
+				"parser" : function (instance, self, arg) {
+					var env = instance.getEnvironment(),
+						selfEnv = self.getEnvironment();
+					if (instance.getType() === "object") {
+						if (arg) {
+							return env.createSchema(instance.getProperty(arg), selfEnv.findSchema(self.resolveURI("#")));
+						} else {
+							return JSV.mapObject(instance.getProperties(), function (instance) {
+								return env.createSchema(instance, selfEnv.findSchema(self.resolveURI("#")));
+							});
+						}
+					}
+					//else
+					return {};
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var propertySchemas, key;
+					//this attribute is for object type instances only
+					if (instance.getType() === "object") {
+						//for each property defined in the schema
+						propertySchemas = schema.getAttribute("properties");
+						for (key in propertySchemas) {
+							if (propertySchemas[key] !== O[key] && propertySchemas[key]) {
+								//ensure that instance property is valid
+								propertySchemas[key].validate(instance.getProperty(key), report, instance, schema, key);
+							}
+						}
+					}
+				}
+			},
+			
+			"items" : {
+				"type" : [{"$ref" : "#"}, "array"],
+				"items" : {"$ref" : "#"},
+				"optional" : true,
+				"default" : {},
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+					} else if (instance.getType() === "array") {
+						return JSV.mapArray(instance.getProperties(), function (instance) {
+							return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+						});
+					}
+					//else
+					return instance.getEnvironment().createEmptySchema();
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var properties, items, x, xl, itemSchema, additionalProperties;
+					
+					if (instance.getType() === "array") {
+						properties = instance.getProperties();
+						items = schema.getAttribute("items");
+						additionalProperties = schema.getAttribute("additionalProperties");
+						
+						if (JSV.typeOf(items) === "array") {
+							for (x = 0, xl = properties.length; x < xl; ++x) {
+								itemSchema = items[x] || additionalProperties;
+								if (itemSchema !== false) {
+									itemSchema.validate(properties[x], report, instance, schema, x);
+								} else {
+									report.addError(instance, schema, "additionalProperties", "Additional items are not allowed", itemSchema);
+								}
+							}
+						} else {
+							itemSchema = items || additionalProperties;
+							for (x = 0, xl = properties.length; x < xl; ++x) {
+								itemSchema.validate(properties[x], report, instance, schema, x);
+							}
+						}
+					}
+				}
+			},
+			
+			"optional" : {
+				"type" : "boolean",
+				"optional" : true,
+				"default" : false,
+				
+				"parser" : function (instance, self) {
+					return !!instance.getValue();
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					if (instance.getType() === "undefined" && !schema.getAttribute("optional")) {
+						report.addError(instance, schema, "optional", "Property is required", false);
+					}
+				},
+				
+				"validationRequired" : true
+			},
+			
+			"additionalProperties" : {
+				"type" : [{"$ref" : "#"}, "boolean"],
+				"optional" : true,
+				"default" : {},
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+					} else if (instance.getType() === "boolean" && instance.getValue() === false) {
+						return false;
+					}
+					//else
+					return instance.getEnvironment().createEmptySchema();
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var additionalProperties, propertySchemas, properties, key;
+					//we only need to check against object types as arrays do their own checking on this property
+					if (instance.getType() === "object") {
+						additionalProperties = schema.getAttribute("additionalProperties");
+						propertySchemas = schema.getAttribute("properties") || {};
+						properties = instance.getProperties();
+						for (key in properties) {
+							if (properties[key] !== O[key] && properties[key] && propertySchemas[key] === O[key]) {
+								if (JSV.isJSONSchema(additionalProperties)) {
+									additionalProperties.validate(properties[key], report, instance, schema, key);
+								} else if (additionalProperties === false) {
+									report.addError(instance, schema, "additionalProperties", "Additional properties are not allowed", additionalProperties);
+								}
+							}
+						}
+					}
+				}
+			},
+			
+			"requires" : {
+				"type" : ["string", {"$ref" : "#"}],
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "string") {
+						return instance.getValue();
+					} else if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var requires;
+					if (instance.getType() !== "undefined" && parent && parent.getType() !== "undefined") {
+						requires = schema.getAttribute("requires");
+						if (typeof requires === "string") {
+							if (parent.getProperty(requires).getType() === "undefined") {
+								report.addError(instance, schema, "requires", 'Property requires sibling property "' + requires + '"', requires);
+							}
+						} else if (JSV.isJSONSchema(requires)) {
+							requires.validate(parent, report);  //WATCH: A "requires" schema does not support the "requires" attribute
+						}
+					}
+				}
+			},
+			
+			"minimum" : {
+				"type" : "number",
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var minimum, minimumCanEqual;
+					if (instance.getType() === "number") {
+						minimum = schema.getAttribute("minimum");
+						minimumCanEqual = schema.getAttribute("minimumCanEqual");
+						if (typeof minimum === "number" && (instance.getValue() < minimum || (minimumCanEqual === false && instance.getValue() === minimum))) {
+							report.addError(instance, schema, "minimum", "Number is less than the required minimum value", minimum);
+						}
+					}
+				}
+			},
+			
+			"maximum" : {
+				"type" : "number",
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var maximum, maximumCanEqual;
+					if (instance.getType() === "number") {
+						maximum = schema.getAttribute("maximum");
+						maximumCanEqual = schema.getAttribute("maximumCanEqual");
+						if (typeof maximum === "number" && (instance.getValue() > maximum || (maximumCanEqual === false && instance.getValue() === maximum))) {
+							report.addError(instance, schema, "maximum", "Number is greater than the required maximum value", maximum);
+						}
+					}
+				}
+			},
+			
+			"minimumCanEqual" : {
+				"type" : "boolean",
+				"optional" : true,
+				"requires" : "minimum",
+				"default" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "boolean") {
+						return instance.getValue();
+					}
+					//else
+					return true;
+				}
+			},
+			
+			"maximumCanEqual" : {
+				"type" : "boolean",
+				"optional" : true,
+				"requires" : "maximum",
+				"default" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "boolean") {
+						return instance.getValue();
+					}
+					//else
+					return true;
+				}
+			},
+			
+			"minItems" : {
+				"type" : "integer",
+				"optional" : true,
+				"minimum" : 0,
+				"default" : 0,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+					//else
+					return 0;
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var minItems;
+					if (instance.getType() === "array") {
+						minItems = schema.getAttribute("minItems");
+						if (typeof minItems === "number" && instance.getProperties().length < minItems) {
+							report.addError(instance, schema, "minItems", "The number of items is less than the required minimum", minItems);
+						}
+					}
+				}
+			},
+			
+			"maxItems" : {
+				"type" : "integer",
+				"optional" : true,
+				"minimum" : 0,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var maxItems;
+					if (instance.getType() === "array") {
+						maxItems = schema.getAttribute("maxItems");
+						if (typeof maxItems === "number" && instance.getProperties().length > maxItems) {
+							report.addError(instance, schema, "maxItems", "The number of items is greater than the required maximum", maxItems);
+						}
+					}
+				}
+			},
+			
+			"pattern" : {
+				"type" : "string",
+				"optional" : true,
+				"format" : "regex",
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "string") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var pattern;
+					try {
+						pattern = new RegExp(schema.getAttribute("pattern"));
+						if (instance.getType() === "string" && pattern && !pattern.test(instance.getValue())) {
+							report.addError(instance, schema, "pattern", "String does not match pattern", pattern.toString());
+						}
+					} catch (e) {
+						report.addError(schema, self, "pattern", "Invalid pattern", schema.getValueOfProperty("pattern"));
+					}
+				}
+			},
+			
+			"minLength" : {
+				"type" : "integer",
+				"optional" : true,
+				"minimum" : 0,
+				"default" : 0,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+					//else
+					return 0;
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var minLength;
+					if (instance.getType() === "string") {
+						minLength = schema.getAttribute("minLength");
+						if (typeof minLength === "number" && instance.getValue().length < minLength) {
+							report.addError(instance, schema, "minLength", "String is less than the required minimum length", minLength);
+						}
+					}
+				}
+			},
+			
+			"maxLength" : {
+				"type" : "integer",
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var maxLength;
+					if (instance.getType() === "string") {
+						maxLength = schema.getAttribute("maxLength");
+						if (typeof maxLength === "number" && instance.getValue().length > maxLength) {
+							report.addError(instance, schema, "maxLength", "String is greater than the required maximum length", maxLength);
+						}
+					}
+				}
+			},
+			
+			"enum" : {
+				"type" : "array",
+				"optional" : true,
+				"minItems" : 1,
+				"uniqueItems" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "array") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var enums, x, xl;
+					if (instance.getType() !== "undefined") {
+						enums = schema.getAttribute("enum");
+						if (enums) {
+							for (x = 0, xl = enums.length; x < xl; ++x) {
+								if (instance.equals(enums[x])) {
+									return true;
+								}
+							}
+							report.addError(instance, schema, "enum", "Instance is not one of the possible values", enums);
+						}
+					}
+				}
+			},
+			
+			"title" : {
+				"type" : "string",
+				"optional" : true
+			},
+			
+			"description" : {
+				"type" : "string",
+				"optional" : true
+			},
+			
+			"format" : {
+				"type" : "string",
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "string") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var format, formatValidators;
+					if (instance.getType() === "string") {
+						format = schema.getAttribute("format");
+						formatValidators = self.getValueOfProperty("formatValidators");
+						if (typeof format === "string" && formatValidators[format] !== O[format] && typeof formatValidators[format] === "function" && !formatValidators[format].call(this, instance, report)) {
+							report.addError(instance, schema, "format", "String is not in the required format", format);
+						}
+					}
+				},
+				
+				"formatValidators" : {}
+			},
+			
+			"contentEncoding" : {
+				"type" : "string",
+				"optional" : true
+			},
+			
+			"default" : {
+				"type" : "any",
+				"optional" : true
+			},
+			
+			"maxDecimal" : {
+				"type" : "integer",
+				"optional" : true,
+				"minimum" : 0,
+								
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var maxDecimal, decimals;
+					if (instance.getType() === "number") {
+						maxDecimal = schema.getAttribute("maxDecimal");
+						if (typeof maxDecimal === "number") {
+							decimals = instance.getValue().toString(10).split('.')[1];
+							if (decimals && decimals.length > maxDecimal) {
+								report.addError(instance, schema, "maxDecimal", "The number of decimal places is greater than the allowed maximum", maxDecimal);
+							}
+						}
+					}
+				}
+			},
+			
+			"disallow" : {
+				"type" : ["string", "array"],
+				"items" : {"type" : "string"},
+				"optional" : true,
+				"uniqueItems" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "string" || instance.getType() === "array") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var disallowedTypes = JSV.toArray(schema.getAttribute("disallow")),
+						x, xl, key, typeValidators, subreport;
+					
+					//for instances that are required to be a certain type
+					if (instance.getType() !== "undefined" && disallowedTypes && disallowedTypes.length) {
+						typeValidators = self.getValueOfProperty("typeValidators") || {};
+						
+						//ensure that type matches for at least one of the required types
+						for (x = 0, xl = disallowedTypes.length; x < xl; ++x) {
+							key = disallowedTypes[x];
+							if (JSV.isJSONSchema(key)) {  //this is supported draft-03 and on
+								subreport = JSV.createObject(report);
+								subreport.errors = [];
+								subreport.validated = JSV.clone(report.validated);
+								if (key.validate(instance, subreport, parent, parentSchema, name).errors.length === 0) {
+									//instance matches this schema
+									report.addError(instance, schema, "disallow", "Instance is a disallowed type", disallowedTypes);
+									return false;  
+								}
+							} else if (typeValidators[key] !== O[key] && typeof typeValidators[key] === "function") {
+								if (typeValidators[key](instance, report)) {
+									report.addError(instance, schema, "disallow", "Instance is a disallowed type", disallowedTypes);
+									return false;
+								}
+							} 
+							/*
+							else {
+								report.addError(instance, schema, "disallow", "Instance may be a disallowed type", disallowedTypes);
+								return false;
+							}
+							*/
+						}
+						
+						//if we get to this point, type is valid
+						return true;
+					}
+					//else, everything is allowed if no disallowed types are specified
+					return true;
+				},
+				
+				"typeValidators" : TYPE_VALIDATORS
+			},
+		
+			"extends" : {
+				"type" : [{"$ref" : "#"}, "array"],
+				"items" : {"$ref" : "#"},
+				"optional" : true,
+				"default" : {},
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "object") {
+						return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+					} else if (instance.getType() === "array") {
+						return JSV.mapArray(instance.getProperties(), function (instance) {
+							return instance.getEnvironment().createSchema(instance, self.getEnvironment().findSchema(self.resolveURI("#")));
+						});
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var extensions = schema.getAttribute("extends"), x, xl;
+					if (extensions) {
+						if (JSV.isJSONSchema(extensions)) {
+							extensions.validate(instance, report, parent, parentSchema, name);
+						} else if (JSV.typeOf(extensions) === "array") {
+							for (x = 0, xl = extensions.length; x < xl; ++x) {
+								extensions[x].validate(instance, report, parent, parentSchema, name);
+							}
+						}
+					}
+				}
+			}
+		},
+		
+		"optional" : true,
+		"default" : {},
+		"fragmentResolution" : "dot-delimited",
+		
+		"parser" : function (instance, self) {
+			if (instance.getType() === "object") {
+				return instance.getEnvironment().createSchema(instance, self);
+			}
+		},
+		
+		"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+			var propNames = schema.getPropertyNames(), 
+				x, xl,
+				attributeSchemas = self.getAttribute("properties"),
+				strict = instance.getEnvironment().getOption("strict"),
+				validator;
+			
+			for (x in attributeSchemas) {
+				if (attributeSchemas[x] !== O[x]) {
+					if (attributeSchemas[x].getValueOfProperty("validationRequired")) {
+						JSV.pushUnique(propNames, x);
+					}
+					if (strict && attributeSchemas[x].getValueOfProperty("deprecated")) {
+						JSV.popFirst(propNames, x);
+					}
+				}
+			}
+			
+			for (x = 0, xl = propNames.length; x < xl; ++x) {
+				if (attributeSchemas[propNames[x]] !== O[propNames[x]]) {
+					validator = attributeSchemas[propNames[x]].getValueOfProperty("validator");
+					if (typeof validator === "function") {
+						validator(instance, schema, attributeSchemas[propNames[x]], report, parent, parentSchema, name);
+					}
+				}
+			}
+		}
+	};
+	
+	HYPERSCHEMA_00_JSON = {
+		"$schema" : "http://json-schema.org/draft-00/hyper-schema#",
+		"id" : "http://json-schema.org/draft-00/hyper-schema#",
+	
+		"properties" : {
+			"links" : {
+				"type" : "array",
+				"items" : {"$ref" : "links#"},
+				"optional" : true,
+				
+				"parser" : function (instance, self, arg) {
+					var links,
+						linkSchemaURI = self.getValueOfProperty("items")["$ref"],
+						linkSchema = self.getEnvironment().findSchema(linkSchemaURI),
+						linkParser = linkSchema && linkSchema.getValueOfProperty("parser"),
+						selfReferenceVariable;
+					arg = JSV.toArray(arg);
+					
+					if (typeof linkParser === "function") {
+						links = JSV.mapArray(instance.getProperties(), function (link) {
+							return linkParser(link, linkSchema);
+						});
+					} else {
+						links = JSV.toArray(instance.getValue());
+					}
+					
+					if (arg[0]) {
+						links = JSV.filterArray(links, function (link) {
+							return link["rel"] === arg[0];
+						});
+					}
+					
+					if (arg[1]) {
+						selfReferenceVariable = self.getValueOfProperty("selfReferenceVariable");
+						links = JSV.mapArray(links, function (link) {
+							var instance = arg[1],
+								href = link["href"];
+							href = href.replace(/\{(.+)\}/g, function (str, p1, offset, s) {
+								var value; 
+								if (p1 === selfReferenceVariable) {
+									value = instance.getValue();
+								} else {
+									value = instance.getValueOfProperty(p1);
+								}
+								return value !== undefined ? String(value) : "";
+							});
+							return href ? JSV.formatURI(instance.resolveURI(href)) : href;
+						});
+					}
+					
+					return links;
+				},
+				
+				"selfReferenceVariable" : "-this"
+			},
+			
+			"fragmentResolution" : {
+				"type" : "string",
+				"optional" : true,
+				"default" : "dot-delimited"
+			},
+			
+			"root" : {
+				"type" : "boolean",
+				"optional" : true,
+				"default" : false
+			},
+			
+			"readonly" : {
+				"type" : "boolean",
+				"optional" : true,
+				"default" : false
+			},
+			
+			"pathStart" : {
+				"type" : "string",
+				"optional" : true,
+				"format" : "uri",
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var pathStart;
+					if (instance.getType() !== "undefined") {
+						pathStart = schema.getAttribute("pathStart");
+						if (typeof pathStart === "string") {
+							//TODO: Find out what pathStart is relative to
+							if (instance.getURI().indexOf(pathStart) !== 0) {
+								report.addError(instance, schema, "pathStart", "Instance's URI does not start with " + pathStart, pathStart);
+							}
+						}
+					}
+				}
+			},
+			
+			"mediaType" : {
+				"type" : "string",
+				"optional" : true,
+				"format" : "media-type"
+			},
+			
+			"alternate" : {
+				"type" : "array",
+				"items" : {"$ref" : "#"},
+				"optional" : true
+			}
+		},
+		
+		"links" : [
+			{
+				"href" : "{$ref}",
+				"rel" : "full"
+			},
+			
+			{
+				"href" : "{$schema}",
+				"rel" : "describedby"
+			},
+			
+			{
+				"href" : "{id}",
+				"rel" : "self"
+			}
+		],
+				
+		"initializer" : function (instance) {
+			var link, extension, extended;
+			
+			//if there is a link to a different schema, set reference
+			link = instance._schema.getLink("describedby", instance);
+			if (link && instance._schema._uri !== link) {
+				instance.setReference("describedby", link);
+			}
+			
+			//if instance has a URI link to itself, update it's own URI
+			link = instance._schema.getLink("self", instance);
+			if (JSV.typeOf(link) === "string") {
+				instance._uri = JSV.formatURI(link);
+			}
+			
+			//if there is a link to the full representation, set reference
+			link = instance._schema.getLink("full", instance);
+			if (link && instance._uri !== link) {
+				instance.setReference("full", link);
+			}
+			
+			//extend schema
+			extension = instance.getAttribute("extends");
+			if (JSV.isJSONSchema(extension)) {
+				extended = JSV.inherits(extension, instance, true);
+				instance = instance._env.createSchema(extended, instance._schema, instance._uri);
+			}
+			
+			return instance;
+		}
+		
+		//not needed as JSV.inherits does the job for us
+		//"extends" : {"$ref" : "http://json-schema.org/schema#"}
+	};
+	
+	LINKS_00_JSON = {
+		"$schema" : "http://json-schema.org/draft-00/hyper-schema#",
+		"id" : "http://json-schema.org/draft-00/links#",
+		"type" : "object",
+		
+		"properties" : {
+			"href" : {
+				"type" : "string"
+			},
+			
+			"rel" : {
+				"type" : "string"
+			},
+			
+			"method" : {
+				"type" : "string",
+				"default" : "GET",
+				"optional" : true
+			},
+			
+			"enctype" : {
+				"type" : "string",
+				"requires" : "method",
+				"optional" : true
+			},
+			
+			"properties" : {
+				"type" : "object",
+				"additionalProperties" : {"$ref" : "hyper-schema#"},
+				"optional" : true,
+				
+				"parser" : function (instance, self, arg) {
+					var env = instance.getEnvironment(),
+						selfEnv = self.getEnvironment(),
+						additionalPropertiesSchemaURI = self.getValueOfProperty("additionalProperties")["$ref"];
+					if (instance.getType() === "object") {
+						if (arg) {
+							return env.createSchema(instance.getProperty(arg), selfEnv.findSchema(self.resolveURI(additionalPropertiesSchemaURI)));
+						} else {
+							return JSV.mapObject(instance.getProperties(), function (instance) {
+								return env.createSchema(instance, selfEnv.findSchema(self.resolveURI(additionalPropertiesSchemaURI)));
+							});
+						}
+					}
+				}
+			}
+		},
+		
+		"parser" : function (instance, self) {
+			var selfProperties = self.getProperty("properties");
+			if (instance.getType() === "object") {
+				return JSV.mapObject(instance.getProperties(), function (property, key) {
+					var propertySchema = selfProperties.getProperty(key),
+						parser = propertySchema && propertySchema.getValueOfProperty("parser");
+					if (typeof parser === "function") {
+						return parser(property, propertySchema);
+					}
+					//else
+					return property.getValue();
+				});
+			}
+			return instance.getValue();
+		}
+	};
+	
+	ENVIRONMENT.setOption("defaultFragmentDelimiter", ".");
+	ENVIRONMENT.setOption("defaultSchemaURI", "http://json-schema.org/draft-00/schema#");  //updated later
+	
+	SCHEMA_00 = ENVIRONMENT.createSchema(SCHEMA_00_JSON, true, "http://json-schema.org/draft-00/schema#");
+	HYPERSCHEMA_00 = ENVIRONMENT.createSchema(JSV.inherits(SCHEMA_00, ENVIRONMENT.createSchema(HYPERSCHEMA_00_JSON, true, "http://json-schema.org/draft-00/hyper-schema#"), true), true, "http://json-schema.org/draft-00/hyper-schema#");
+	
+	ENVIRONMENT.setOption("defaultSchemaURI", "http://json-schema.org/draft-00/hyper-schema#");
+	
+	LINKS_00 = ENVIRONMENT.createSchema(LINKS_00_JSON, HYPERSCHEMA_00, "http://json-schema.org/draft-00/links#");
+	
+	//
+	// draft-01
+	//
+		
+	SCHEMA_01_JSON = JSV.inherits(SCHEMA_00_JSON, {
+		"$schema" : "http://json-schema.org/draft-01/hyper-schema#",
+		"id" : "http://json-schema.org/draft-01/schema#"
+	});
+	
+	HYPERSCHEMA_01_JSON = JSV.inherits(HYPERSCHEMA_00_JSON, {
+		"$schema" : "http://json-schema.org/draft-01/hyper-schema#",
+		"id" : "http://json-schema.org/draft-01/hyper-schema#"
+	});
+	
+	LINKS_01_JSON = JSV.inherits(LINKS_00_JSON, {
+		"$schema" : "http://json-schema.org/draft-01/hyper-schema#",
+		"id" : "http://json-schema.org/draft-01/links#"
+	});
+	
+	ENVIRONMENT.setOption("defaultSchemaURI", "http://json-schema.org/draft-01/schema#");  //update later
+	
+	SCHEMA_01 = ENVIRONMENT.createSchema(SCHEMA_01_JSON, true, "http://json-schema.org/draft-01/schema#");
+	HYPERSCHEMA_01 = ENVIRONMENT.createSchema(JSV.inherits(SCHEMA_01, ENVIRONMENT.createSchema(HYPERSCHEMA_01_JSON, true, "http://json-schema.org/draft-01/hyper-schema#"), true), true, "http://json-schema.org/draft-01/hyper-schema#");
+	
+	ENVIRONMENT.setOption("defaultSchemaURI", "http://json-schema.org/draft-01/hyper-schema#");
+	
+	LINKS_01 = ENVIRONMENT.createSchema(LINKS_01_JSON, HYPERSCHEMA_01, "http://json-schema.org/draft-01/links#");
+	
+	//
+	// draft-02
+	//
+	
+	SCHEMA_02_JSON = JSV.inherits(SCHEMA_01_JSON, {
+		"$schema" : "http://json-schema.org/draft-02/hyper-schema#",
+		"id" : "http://json-schema.org/draft-02/schema#",
+		
+		"properties" : {
+			"uniqueItems" : {
+				"type" : "boolean",
+				"optional" : true,
+				"default" : false,
+				
+				"parser" : function (instance, self) {
+					return !!instance.getValue();
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var value, x, xl, y, yl;
+					if (instance.getType() === "array" && schema.getAttribute("uniqueItems")) {
+						value = instance.getProperties();
+						for (x = 0, xl = value.length - 1; x < xl; ++x) {
+							for (y = x + 1, yl = value.length; y < yl; ++y) {
+								if (value[x].equals(value[y])) {
+									report.addError(instance, schema, "uniqueItems", "Array can only contain unique items", { x : x, y : y });
+								}
+							}
+						}
+					}
+				}
+			},
+			
+			"maxDecimal" : {
+				"deprecated" : true
+			},
+			
+			"divisibleBy" : {
+				"type" : "number",
+				"minimum" : 0,
+				"minimumCanEqual" : false,
+				"optional" : true,
+				
+				"parser" : function (instance, self) {
+					if (instance.getType() === "number") {
+						return instance.getValue();
+					}
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var divisor, value, digits;
+					if (instance.getType() === "number") {
+						divisor = schema.getAttribute("divisibleBy");
+						if (divisor === 0) {
+							report.addError(instance, schema, "divisibleBy", "Nothing is divisible by 0", divisor);
+						} else if (divisor !== 1) {
+							value = instance.getValue();
+							digits = Math.max((value.toString().split(".")[1] || " ").length, (divisor.toString().split(".")[1] || " ").length);
+							digits = parseFloat(((value / divisor) % 1).toFixed(digits));  //cut out floating point errors
+							if (0 < digits && digits < 1) {
+								report.addError(instance, schema, "divisibleBy", "Number is not divisible by " + divisor, divisor);
+							}
+						}
+					}
+				}
+			}
+		},
+		
+		"fragmentResolution" : "slash-delimited"
+	});
+	
+	HYPERSCHEMA_02_JSON = JSV.inherits(HYPERSCHEMA_01_JSON, {
+		"id" : "http://json-schema.org/draft-02/hyper-schema#",
+		
+		"properties" : {
+			"fragmentResolution" : {
+				"default" : "slash-delimited"
+			}
+		}
+	});
+	
+	LINKS_02_JSON = JSV.inherits(LINKS_01_JSON, {
+		"$schema" : "http://json-schema.org/draft-02/hyper-schema#",
+		"id" : "http://json-schema.org/draft-02/links#",
+		
+		"properties" : {
+			"targetSchema" : {
+				"$ref" : "hyper-schema#",
+				
+				//need this here because parsers are run before links are resolved
+				"parser" : HYPERSCHEMA_01.getAttribute("parser")
+			}
+		}
+	});
+	
+	ENVIRONMENT.setOption("defaultFragmentDelimiter", "/");
+	ENVIRONMENT.setOption("defaultSchemaURI", "http://json-schema.org/draft-02/schema#");  //update later
+	
+	SCHEMA_02 = ENVIRONMENT.createSchema(SCHEMA_02_JSON, true, "http://json-schema.org/draft-02/schema#");
+	HYPERSCHEMA_02 = ENVIRONMENT.createSchema(JSV.inherits(SCHEMA_02, ENVIRONMENT.createSchema(HYPERSCHEMA_02_JSON, true, "http://json-schema.org/draft-02/hyper-schema#"), true), true, "http://json-schema.org/draft-02/hyper-schema#");
+	
+	ENVIRONMENT.setOption("defaultSchemaURI", "http://json-schema.org/draft-02/hyper-schema#");
+	
+	LINKS_02 = ENVIRONMENT.createSchema(LINKS_02_JSON, HYPERSCHEMA_02, "http://json-schema.org/draft-02/links#");
+	
+	//
+	// draft-03
+	//
+	
+	function getMatchedPatternProperties(instance, schema, report, self) {
+		var matchedProperties = {}, patternProperties, pattern, regexp, properties, key;
+		
+		if (instance.getType() === "object") {
+			patternProperties = schema.getAttribute("patternProperties");
+			properties = instance.getProperties();
+			for (pattern in patternProperties) {
+				if (patternProperties[pattern] !== O[pattern]) {
+					regexp = null;
+					try {
+						regexp = new RegExp(pattern);
+					} catch (e) {
+						if (report) {
+							report.addError(schema, self, "patternProperties", "Invalid pattern", pattern);
+						}
+					}
+					
+					if (regexp) {
+						for (key in properties) {
+							if (properties[key] !== O[key]  && regexp.test(key)) {
+								matchedProperties[key] = matchedProperties[key] ? JSV.pushUnique(matchedProperties[key], patternProperties[pattern]) : [ patternProperties[pattern] ];
+							}
+						}
+					}
+				}
+			}
+		}
+		
+		return matchedProperties;
+	}
+	
+	SCHEMA_03_JSON = JSV.inherits(SCHEMA_02_JSON, {
+		"$schema" : "http://json-schema.org/draft-03/schema#",
+		"id" : "http://json-schema.org/draft-03/schema#",
+		
+		"properties" : {
+			"patternProperties" : {
+				"type" : "object",
+				"additionalProperties" : {"$ref" : "#"},
+				"default" : {},
+				
+				"parser" : SCHEMA_02.getValueOfProperty("properties")["properties"]["parser"],
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var matchedProperties, key, x;
+					if (instance.getType() === "object") {
+						matchedProperties = getMatchedPatternProperties(instance, schema, report, self);
+						for (key in matchedProperties) {
+							if (matchedProperties[key] !== O[key]) {
+								x = matchedProperties[key].length;
+								while (x--) {
+									matchedProperties[key][x].validate(instance.getProperty(key), report, instance, schema, key);
+								}
+							}
+						}
+					}
+				}
+			},
+			
+			"additionalProperties" : {
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var additionalProperties, propertySchemas, properties, matchedProperties, key;
+					if (instance.getType() === "object") {
+						additionalProperties = schema.getAttribute("additionalProperties");
+						propertySchemas = schema.getAttribute("properties") || {};
+						properties = instance.getProperties();
+						matchedProperties = getMatchedPatternProperties(instance, schema);
+						for (key in properties) {
+							if (properties[key] !== O[key] && properties[key] && propertySchemas[key] === O[key] && matchedProperties[key] === O[key]) {
+								if (JSV.isJSONSchema(additionalProperties)) {
+									additionalProperties.validate(properties[key], report, instance, schema, key);
+								} else if (additionalProperties === false) {
+									report.addError(instance, schema, "additionalProperties", "Additional properties are not allowed", additionalProperties);
+								}
+							}
+						}
+					}
+				}
+			},
+			
+			"items" : {
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var properties, items, x, xl, itemSchema, additionalItems;
+					
+					if (instance.getType() === "array") {
+						properties = instance.getProperties();
+						items = schema.getAttribute("items");
+						additionalItems = schema.getAttribute("additionalItems");
+						
+						if (JSV.typeOf(items) === "array") {
+							for (x = 0, xl = properties.length; x < xl; ++x) {
+								itemSchema = items[x] || additionalItems;
+								if (itemSchema !== false) {
+									itemSchema.validate(properties[x], report, instance, schema, x);
+								} else {
+									report.addError(instance, schema, "additionalItems", "Additional items are not allowed", itemSchema);
+								}
+							}
+						} else {
+							itemSchema = items || additionalItems;
+							for (x = 0, xl = properties.length; x < xl; ++x) {
+								itemSchema.validate(properties[x], report, instance, schema, x);
+							}
+						}
+					}
+				}
+			},
+			
+			"additionalItems" : {
+				"type" : [{"$ref" : "#"}, "boolean"],
+				"default" : {},
+				
+				"parser" : SCHEMA_02.getValueOfProperty("properties")["additionalProperties"]["parser"],
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var additionalItems, properties, x, xl;
+					//only validate if the "items" attribute is undefined
+					if (instance.getType() === "array" && schema.getProperty("items").getType() === "undefined") {
+						additionalItems = schema.getAttribute("additionalItems");
+						properties = instance.getProperties();
+						
+						if (additionalItems !== false) {
+							for (x = 0, xl = properties.length; x < xl; ++x) {
+								additionalItems.validate(properties[x], report, instance, schema, x);
+							}
+						} else if (properties.length) {
+							report.addError(instance, schema, "additionalItems", "Additional items are not allowed", additionalItems);
+						}
+					}
+				}
+			},
+			
+			"optional" : {
+				"validationRequired" : false,
+				"deprecated" : true
+			},
+			
+			"required" : {
+				"type" : "boolean",
+				"default" : false,
+				
+				"parser" : function (instance, self) {
+					return !!instance.getValue();
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					if (instance.getType() === "undefined" && schema.getAttribute("required")) {
+						report.addError(instance, schema, "required", "Property is required", true);
+					}
+				}
+			},
+			
+			"requires" : {
+				"deprecated" : true
+			},
+			
+			"dependencies" : {
+				"type" : "object",
+				"additionalProperties" : {
+					"type" : ["string", "array", {"$ref" : "#"}],
+					"items" : {
+						"type" : "string"
+					}
+				},
+				"default" : {},
+				
+				"parser" : function (instance, self, arg) {
+					function parseProperty(property) {
+						var type = property.getType();
+						if (type === "string" || type === "array") {
+							return property.getValue();
+						} else if (type === "object") {
+							return property.getEnvironment().createSchema(property, self.getEnvironment().findSchema(self.resolveURI("#")));
+						}
+					}
+					
+					if (instance.getType() === "object") {
+						if (arg) {
+							return parseProperty(instance.getProperty(arg));
+						} else {
+							return JSV.mapObject(instance.getProperties(), parseProperty);
+						}
+					}
+					//else
+					return {};
+				},
+				
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var dependencies, key, dependency, type, x, xl;
+					if (instance.getType() === "object") {
+						dependencies = schema.getAttribute("dependencies");
+						for (key in dependencies) {
+							if (dependencies[key] !== O[key] && instance.getProperty(key).getType() !== "undefined") {
+								dependency = dependencies[key];
+								type = JSV.typeOf(dependency);
+								if (type === "string") {
+									if (instance.getProperty(dependency).getType() === "undefined") {
+										report.addError(instance, schema, "dependencies", 'Property "' + key + '" requires sibling property "' + dependency + '"', dependencies);
+									}
+								} else if (type === "array") {
+									for (x = 0, xl = dependency.length; x < xl; ++x) {
+										if (instance.getProperty(dependency[x]).getType() === "undefined") {
+											report.addError(instance, schema, "dependencies", 'Property "' + key + '" requires sibling property "' + dependency[x] + '"', dependencies);
+										}
+									}
+								} else if (JSV.isJSONSchema(dependency)) {
+									dependency.validate(instance, report);
+								}
+							}
+						}
+					}
+				}
+			},
+			
+			"minimumCanEqual" : {
+				"deprecated" : true
+			},
+			
+			"maximumCanEqual" : {
+				"deprecated" : true
+			},
+			
+			"exclusiveMinimum" : {
+				"type" : "boolean",
+				"default" : false,
+				
+				"parser" : function (instance, self) {
+					return !!instance.getValue();
+				}
+			},
+			
+			"exclusiveMaximum" : {
+				"type" : "boolean",
+				"default" : false,
+				
+				"parser" : function (instance, self) {
+					return !!instance.getValue();
+				}
+			},
+			
+			"minimum" : {
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var minimum, exclusiveMinimum;
+					if (instance.getType() === "number") {
+						minimum = schema.getAttribute("minimum");
+						exclusiveMinimum = schema.getAttribute("exclusiveMinimum") || (!instance.getEnvironment().getOption("strict") && !schema.getAttribute("minimumCanEqual"));
+						if (typeof minimum === "number" && (instance.getValue() < minimum || (exclusiveMinimum === true && instance.getValue() === minimum))) {
+							report.addError(instance, schema, "minimum", "Number is less than the required minimum value", minimum);
+						}
+					}
+				}
+			},
+			
+			"maximum" : {
+				"validator" : function (instance, schema, self, report, parent, parentSchema, name) {
+					var maximum, exclusiveMaximum;
+					if (instance.getType() === "number") {
+						maximum = schema.getAttribute("maximum");
+						exclusiveMaximum = schema.getAttribute("exclusiveMaximum") || (!instance.getEnvironment().getOption("strict") && !schema.getAttribute("maximumCanEqual"));
+						if (typeof maximum === "number" && (instance.getValue() > maximum || (exclusiveMaximum === true && instance.getValue() === maximum))) {
+							report.addError(instance, schema, "maximum", "Number is greater than the required maximum value", maximum);
+						}
+					}
+				}
+			},
+			
+			"contentEncoding" : {
+				"deprecated" : true
+			},
+			
+			"divisibleBy" : {
+				"exclusiveMinimum" : true
+			},
+			
+			"disallow" : {
+				"items" : {
+					"type" : ["string", {"$ref" : "#"}]
+				},
+				
+				"parser" : SCHEMA_02_JSON["properties"]["type"]["parser"]
+			},
+			
+			"id" : {
+				"type" : "string",
+				"format" : "uri"
+			},
+			
+			"$ref" : {
+				"type" : "string",
+				"format" : "uri"
+			},
+			
+			"$schema" : {
+				"type" : "string",
+				"format" : "uri"
+			}
+		},
+		
+		"dependencies" : {
+			"exclusiveMinimum" : "minimum",
+			"exclusiveMaximum" : "maximum"
+		},
+		
+		"initializer" : function (instance) {
+			var link, extension, extended,
+				schemaLink = instance.getValueOfProperty("$schema"),
+				refLink = instance.getValueOfProperty("$ref"),
+				idLink = instance.getValueOfProperty("id");
+			
+			//if there is a link to a different schema, set reference
+			if (schemaLink) {
+				link = instance.resolveURI(schemaLink);
+				instance.setReference("describedby", link);
+			}
+			
+			//if instance has a URI link to itself, update it's own URI
+			if (idLink) {
+				link = instance.resolveURI(idLink);
+				if (JSV.typeOf(link) === "string") {
+					instance._uri = JSV.formatURI(link);
+				}
+			}
+			
+			//if there is a link to the full representation, set reference
+			if (refLink) {
+				link = instance.resolveURI(refLink);
+				instance.setReference("full", link);
+			}
+			
+			//extend schema
+			extension = instance.getAttribute("extends");
+			if (JSV.isJSONSchema(extension)) {
+				extended = JSV.inherits(extension, instance, true);
+				instance = instance._env.createSchema(extended, instance._schema, instance._uri);
+			}
+			
+			return instance;
+		}
+	});
+	
+	HYPERSCHEMA_03_JSON = JSV.inherits(HYPERSCHEMA_02_JSON, {
+		"$schema" : "http://json-schema.org/draft-03/hyper-schema#",
+		"id" : "http://json-schema.org/draft-03/hyper-schema#",
+		
+		"properties" : {
+			"links" : {
+				"selfReferenceVariable" : "@"
+			},
+			
+			"root" : {
+				"deprecated" : true
+			},
+			
+			"contentEncoding" : {
+				"deprecated" : false  //moved from core to hyper
+			},
+			
+			"alternate" : {
+				"deprecated" : true
+			}
+		}
+	});
+	
+	LINKS_03_JSON = JSV.inherits(LINKS_02_JSON, {
+		"$schema" : "http://json-schema.org/draft-03/hyper-schema#",
+		"id" : "http://json-schema.org/draft-03/links#",
+		
+		"properties" : {
+			"href" : {
+				"required" : true,
+				"format" : "link-description-object-template"
+			},
+			
+			"rel" : {
+				"required" : true
+			},
+			
+			"properties" : {
+				"deprecated" : true
+			},
+			
+			"schema" : {"$ref" : "http://json-schema.org/draft-03/hyper-schema#"}
+		}
+	});
+	
+	ENVIRONMENT.setOption("defaultSchemaURI", "http://json-schema.org/draft-03/schema#");  //update later
+	
+	SCHEMA_03 = ENVIRONMENT.createSchema(SCHEMA_03_JSON, true, "http://json-schema.org/draft-03/schema#");
+	HYPERSCHEMA_03 = ENVIRONMENT.createSchema(JSV.inherits(SCHEMA_03, ENVIRONMENT.createSchema(HYPERSCHEMA_03_JSON, true, "http://json-schema.org/draft-03/hyper-schema#"), true), true, "http://json-schema.org/draft-03/hyper-schema#");
+	
+	ENVIRONMENT.setOption("defaultSchemaURI", "http://json-schema.org/draft-03/hyper-schema#");
+	
+	LINKS_03 = ENVIRONMENT.createSchema(LINKS_03_JSON, true, "http://json-schema.org/draft-03/links#");
+	
+	ENVIRONMENT.setOption("latestJSONSchemaSchemaURI", "http://json-schema.org/draft-03/schema#");
+	ENVIRONMENT.setOption("latestJSONSchemaHyperSchemaURI", "http://json-schema.org/draft-03/hyper-schema#");
+	ENVIRONMENT.setOption("latestJSONSchemaLinksURI", "http://json-schema.org/draft-03/links#");
+	
+	//
+	//Latest JSON Schema
+	//
+	
+	//Hack, but WAY faster than instantiating a new schema
+	ENVIRONMENT._schemas["http://json-schema.org/schema#"] = SCHEMA_03;
+	ENVIRONMENT._schemas["http://json-schema.org/hyper-schema#"] = HYPERSCHEMA_03;
+	ENVIRONMENT._schemas["http://json-schema.org/links#"] = LINKS_03;
+	
+	//
+	//register environment
+	//
+	
+	JSV.registerEnvironment("json-schema-draft-03", ENVIRONMENT);
+	if (!JSV.getDefaultEnvironmentID() || JSV.getDefaultEnvironmentID() === "json-schema-draft-01" || JSV.getDefaultEnvironmentID() === "json-schema-draft-02") {
+		JSV.setDefaultEnvironmentID("json-schema-draft-03");
+	}
+	
+}());
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/jsv.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/jsv.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/jsv.js	(revision 505)
@@ -0,0 +1,1497 @@
+/**
+ * JSV: JSON Schema Validator
+ * 
+ * @fileOverview A JavaScript implementation of a extendable, fully compliant JSON Schema validator.
+ * @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
+ * @version 4.0.2
+ * @see http://github.com/garycourt/JSV
+ */
+
+/*
+ * Copyright 2010 Gary Court. All rights reserved.
+ * 
+ * Redistribution and use in source and binary forms, with or without modification, are
+ * permitted provided that the following conditions are met:
+ * 
+ *    1. Redistributions of source code must retain the above copyright notice, this list of
+ *       conditions and the following disclaimer.
+ * 
+ *    2. Redistributions in binary form must reproduce the above copyright notice, this list
+ *       of conditions and the following disclaimer in the documentation and/or other materials
+ *       provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY GARY COURT ``AS IS'' AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * 
+ * The views and conclusions contained in the software and documentation are those of the
+ * authors and should not be interpreted as representing official policies, either expressed
+ * or implied, of Gary Court or the JSON Schema specification.
+ */
+
+/*jslint white: true, sub: true, onevar: true, undef: true, eqeqeq: true, newcap: true, immed: true, indent: 4 */
+
+var exports = exports || this,
+	require = require || function () {
+		return exports;
+	};
+
+(function () {
+	
+	var URI = require("./uri/uri").URI,
+		O = {},
+		I2H = "0123456789abcdef".split(""),
+		mapArray, filterArray, searchArray,
+		
+		JSV;
+	
+	//
+	// Utility functions
+	//
+	
+	function typeOf(o) {
+		return o === undefined ? "undefined" : (o === null ? "null" : Object.prototype.toString.call(o).split(" ").pop().split("]").shift().toLowerCase());
+	}
+	
+	/** @inner */
+	function F() {}
+	
+	function createObject(proto) {
+		F.prototype = proto || {};
+		return new F();
+	}
+	
+	function mapObject(obj, func, scope) {
+		var newObj = {}, key;
+		for (key in obj) {
+			if (obj[key] !== O[key]) {
+				newObj[key] = func.call(scope, obj[key], key, obj);
+			}
+		}
+		return newObj;
+	}
+	
+	/** @ignore */
+	mapArray = function (arr, func, scope) {
+		var x = 0, xl = arr.length, newArr = new Array(xl);
+		for (; x < xl; ++x) {
+			newArr[x] = func.call(scope, arr[x], x, arr);
+		}
+		return newArr;
+	};
+		
+	if (Array.prototype.map) {
+		/** @ignore */
+		mapArray = function (arr, func, scope) {
+			return Array.prototype.map.call(arr, func, scope);
+		};
+	}
+	
+	/** @ignore */
+	filterArray = function (arr, func, scope) {
+		var x = 0, xl = arr.length, newArr = [];
+		for (; x < xl; ++x) {
+			if (func.call(scope, arr[x], x, arr)) {
+				newArr[newArr.length] = arr[x];
+			}
+		}
+		return newArr;
+	};
+	
+	if (Array.prototype.filter) {
+		/** @ignore */
+		filterArray = function (arr, func, scope) {
+			return Array.prototype.filter.call(arr, func, scope);
+		};
+	}
+	
+	/** @ignore */
+	searchArray = function (arr, o) {
+		var x = 0, xl = arr.length;
+		for (; x < xl; ++x) {
+			if (arr[x] === o) {
+				return x;
+			}
+		}
+		return -1;
+	};
+	
+	if (Array.prototype.indexOf) {
+		/** @ignore */
+		searchArray = function (arr, o) {
+			return Array.prototype.indexOf.call(arr, o);
+		};
+	}
+	
+	function toArray(o) {
+		return o !== undefined && o !== null ? (o instanceof Array && !o.callee ? o : (typeof o.length !== "number" || o.split || o.setInterval || o.call ? [ o ] : Array.prototype.slice.call(o))) : [];
+	}
+	
+	function keys(o) {
+		var result = [], key;
+		
+		switch (typeOf(o)) {
+		case "object":
+			for (key in o) {
+				if (o[key] !== O[key]) {
+					result[result.length] = key;
+				}
+			}
+			break;
+		case "array":
+			for (key = o.length - 1; key >= 0; --key) {
+				result[key] = key;
+			}
+			break;
+		}
+		
+		return result;
+	}
+	
+	function pushUnique(arr, o) {
+		if (searchArray(arr, o) === -1) {
+			arr.push(o);
+		}
+		return arr;
+	}
+	
+	function popFirst(arr, o) {
+		var index = searchArray(arr, o);
+		if (index > -1) {
+			arr.splice(index, 1);
+		}
+		return arr;
+	}
+	
+	function randomUUID() {
+		return [
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			"-",
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			"-4",  //set 4 high bits of time_high field to version
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			"-",
+			I2H[(Math.floor(Math.random() * 0x10) & 0x3) | 0x8],  //specify 2 high bits of clock sequence
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			"-",
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)],
+			I2H[Math.floor(Math.random() * 0x10)]
+		].join("");
+	}
+	
+	function escapeURIComponent(str) {
+		return encodeURIComponent(str).replace(/!/g, '%21').replace(/'/g, '%27').replace(/\(/g, '%28').replace(/\)/g, '%29').replace(/\*/g, '%2A');
+	}
+	
+	function formatURI(uri) {
+		if (typeof uri === "string" && uri.indexOf("#") === -1) {
+			uri += "#";
+		}
+		return uri;
+	}
+	
+	function stripInstances(o) {
+		if (o instanceof JSONInstance) {
+			return o.getURI();
+		}
+		
+		switch (typeOf(o)) {
+		case "undefined":
+		case "null":
+		case "boolean":
+		case "number":
+		case "string":
+			return o;  //do nothing
+		
+		case "object":
+			return mapObject(o, stripInstances);
+		
+		case "array":
+			return mapArray(o, stripInstances);
+		
+		default:
+			return o.toString();
+		}
+	}
+	
+	/**
+	 * The exception that is thrown when a schema fails to be created.
+	 * 
+	 * @name InitializationError
+	 * @class
+	 * @param {JSONInstance|String} instance The instance (or instance URI) that is invalid
+	 * @param {JSONSchema|String} schema The schema (or schema URI) that was validating the instance
+	 * @param {String} attr The attribute that failed to validated
+	 * @param {String} message A user-friendly message on why the schema attribute failed to validate the instance
+	 * @param {Any} details The value of the schema attribute
+	 */
+	
+	function InitializationError(instance, schema, attr, message, details) {
+		Error.call(this, message);
+		
+		this.uri = instance instanceof JSONInstance ? instance.getURI() : instance;
+		this.schemaUri = schema instanceof JSONInstance ? schema.getURI() : schema;
+		this.attribute = attr;
+		this.message = message;
+		this.description = message;  //IE
+		this.details = details;
+	}
+	
+	InitializationError.prototype = new Error();
+	InitializationError.prototype.constructor = InitializationError;
+	InitializationError.prototype.name = "InitializationError";
+	
+	/**
+	 * Defines an error, found by a schema, with an instance.
+	 * This class can only be instantiated by {@link Report#addError}. 
+	 * 
+	 * @name ValidationError
+	 * @class
+	 * @see Report#addError
+	 */
+	
+	/**
+	 * The URI of the instance that has the error.
+	 * 
+	 * @name ValidationError.prototype.uri
+	 * @type String
+	 */
+	
+	/**
+	 * The URI of the schema that generated the error.
+	 * 
+	 * @name ValidationError.prototype.schemaUri
+	 * @type String
+	 */
+	
+	/**
+	 * The name of the schema attribute that generated the error.
+	 * 
+	 * @name ValidationError.prototype.attribute
+	 * @type String
+	 */
+	
+	/**
+	 * An user-friendly (English) message about what failed to validate.
+	 * 
+	 * @name ValidationError.prototype.message
+	 * @type String
+	 */
+	
+	/**
+	 * The value of the schema attribute that generated the error.
+	 * 
+	 * @name ValidationError.prototype.details
+	 * @type Any
+	 */
+	
+	/**
+	 * Reports are returned from validation methods to describe the result of a validation.
+	 * 
+	 * @name Report
+	 * @class
+	 * @see JSONSchema#validate
+	 * @see Environment#validate
+	 */
+	
+	function Report() {
+		/**
+		 * An array of {@link ValidationError} objects that define all the errors generated by the schema against the instance.
+		 * 
+		 * @name Report.prototype.errors
+		 * @type Array
+		 * @see Report#addError
+		 */
+		this.errors = [];
+		
+		/**
+		 * A hash table of every instance and what schemas were validated against it.
+		 * <p>
+		 * The key of each item in the table is the URI of the instance that was validated.
+		 * The value of this key is an array of strings of URIs of the schema that validated it.
+		 * </p>
+		 * 
+		 * @name Report.prototype.validated
+		 * @type Object
+		 * @see Report#registerValidation
+		 * @see Report#isValidatedBy
+		 */
+		this.validated = {};
+		
+		/**
+		 * If the report is generated by {@link Environment#validate}, this field is the generated instance.
+		 * 
+		 * @name Report.prototype.instance
+		 * @type JSONInstance
+		 * @see Environment#validate
+		 */
+		
+		/**
+		 * If the report is generated by {@link Environment#validate}, this field is the generated schema.
+		 * 
+		 * @name Report.prototype.schema
+		 * @type JSONSchema
+		 * @see Environment#validate
+		 */
+		 
+		/**
+		 * If the report is generated by {@link Environment#validate}, this field is the schema's schema.
+		 * This value is the same as calling <code>schema.getSchema()</code>.
+		 * 
+		 * @name Report.prototype.schemaSchema
+		 * @type JSONSchema
+		 * @see Environment#validate
+		 * @see JSONSchema#getSchema
+		 */
+	}
+	
+	/**
+	 * Adds a {@link ValidationError} object to the <a href="#errors"><code>errors</code></a> field.
+	 * 
+	 * @param {JSONInstance|String} instance The instance (or instance URI) that is invalid
+	 * @param {JSONSchema|String} schema The schema (or schema URI) that was validating the instance
+	 * @param {String} attr The attribute that failed to validated
+	 * @param {String} message A user-friendly message on why the schema attribute failed to validate the instance
+	 * @param {Any} details The value of the schema attribute
+	 */
+	
+	Report.prototype.addError = function (instance, schema, attr, message, details) {
+		this.errors.push({
+			uri : instance instanceof JSONInstance ? instance.getURI() : instance,
+			schemaUri : schema instanceof JSONInstance ? schema.getURI() : schema,
+			attribute : attr,
+			message : message,
+			details : stripInstances(details)
+		});
+	};
+	
+	/**
+	 * Registers that the provided instance URI has been validated by the provided schema URI. 
+	 * This is recorded in the <a href="#validated"><code>validated</code></a> field.
+	 * 
+	 * @param {String} uri The URI of the instance that was validated
+	 * @param {String} schemaUri The URI of the schema that validated the instance
+	 */
+	
+	Report.prototype.registerValidation = function (uri, schemaUri) {
+		if (!this.validated[uri]) {
+			this.validated[uri] = [ schemaUri ];
+		} else {
+			this.validated[uri].push(schemaUri);
+		}
+	};
+	
+	/**
+	 * Returns if an instance with the provided URI has been validated by the schema with the provided URI. 
+	 * 
+	 * @param {String} uri The URI of the instance
+	 * @param {String} schemaUri The URI of a schema
+	 * @returns {Boolean} If the instance has been validated by the schema.
+	 */
+	
+	Report.prototype.isValidatedBy = function (uri, schemaUri) {
+		return !!this.validated[uri] && searchArray(this.validated[uri], schemaUri) !== -1;
+	};
+	
+	/**
+	 * A wrapper class for binding an Environment, URI and helper methods to an instance. 
+	 * This class is most commonly instantiated with {@link Environment#createInstance}.
+	 * 
+	 * @name JSONInstance
+	 * @class
+	 * @param {Environment} env The environment this instance belongs to
+	 * @param {JSONInstance|Any} json The value of the instance
+	 * @param {String} [uri] The URI of the instance. If undefined, the URI will be a randomly generated UUID. 
+	 * @param {String} [fd] The fragment delimiter for properties. If undefined, uses the environment default.
+	 */
+	
+	function JSONInstance(env, json, uri, fd) {
+		if (json instanceof JSONInstance) {
+			if (typeof fd !== "string") {
+				fd = json._fd;
+			}
+			if (typeof uri !== "string") {
+				uri = json._uri;
+			}
+			json = json._value;
+		}
+		
+		if (typeof uri !== "string") {
+			uri = "urn:uuid:" + randomUUID() + "#";
+		} else if (uri.indexOf(":") === -1) {
+			uri = formatURI(URI.resolve("urn:uuid:" + randomUUID() + "#", uri));
+		}
+		
+		this._env = env;
+		this._value = json;
+		this._uri = uri;
+		this._fd = fd || this._env._options["defaultFragmentDelimiter"];
+	}
+	
+	/**
+	 * Returns the environment the instance is bound to.
+	 * 
+	 * @returns {Environment} The environment of the instance
+	 */
+	
+	JSONInstance.prototype.getEnvironment = function () {
+		return this._env;
+	};
+	
+	/**
+	 * Returns the name of the type of the instance.
+	 * 
+	 * @returns {String} The name of the type of the instance
+	 */
+	
+	JSONInstance.prototype.getType = function () {
+		return typeOf(this._value);
+	};
+	
+	/**
+	 * Returns the JSON value of the instance.
+	 * 
+	 * @returns {Any} The actual JavaScript value of the instance
+	 */
+	
+	JSONInstance.prototype.getValue = function () {
+		return this._value;
+	};
+	
+	/**
+	 * Returns the URI of the instance.
+	 * 
+	 * @returns {String} The URI of the instance
+	 */
+	
+	JSONInstance.prototype.getURI = function () {
+		return this._uri;
+	};
+	
+	/**
+	 * Returns a resolved URI of a provided relative URI against the URI of the instance.
+	 * 
+	 * @param {String} uri The relative URI to resolve
+	 * @returns {String} The resolved URI
+	 */
+	
+	JSONInstance.prototype.resolveURI = function (uri) {
+		return formatURI(URI.resolve(this._uri, uri));
+	};
+	
+	/**
+	 * Returns an array of the names of all the properties.
+	 * 
+	 * @returns {Array} An array of strings which are the names of all the properties
+	 */
+	
+	JSONInstance.prototype.getPropertyNames = function () {
+		return keys(this._value);
+	};
+	
+	/**
+	 * Returns a {@link JSONInstance} of the value of the provided property name. 
+	 * 
+	 * @param {String} key The name of the property to fetch
+	 * @returns {JSONInstance} The instance of the property value
+	 */
+	
+	JSONInstance.prototype.getProperty = function (key) {
+		var value = this._value ? this._value[key] : undefined;
+		if (value instanceof JSONInstance) {
+			return value;
+		}
+		//else
+		return new JSONInstance(this._env, value, this._uri + this._fd + escapeURIComponent(key), this._fd);
+	};
+	
+	/**
+	 * Returns all the property instances of the target instance.
+	 * <p>
+	 * If the target instance is an Object, then the method will return a hash table of {@link JSONInstance}s of all the properties. 
+	 * If the target instance is an Array, then the method will return an array of {@link JSONInstance}s of all the items.
+	 * </p> 
+	 * 
+	 * @returns {Object|Array|undefined} The list of instances for all the properties
+	 */
+	
+	JSONInstance.prototype.getProperties = function () {
+		var type = typeOf(this._value),
+			self = this;
+		
+		if (type === "object") {
+			return mapObject(this._value, function (value, key) {
+				if (value instanceof JSONInstance) {
+					return value;
+				}
+				return new JSONInstance(self._env, value, self._uri + self._fd + escapeURIComponent(key), self._fd);
+			});
+		} else if (type === "array") {
+			return mapArray(this._value, function (value, key) {
+				if (value instanceof JSONInstance) {
+					return value;
+				}
+				return new JSONInstance(self._env, value, self._uri + self._fd + escapeURIComponent(key), self._fd);
+			});
+		}
+	};
+	
+	/**
+	 * Returns the JSON value of the provided property name. 
+	 * This method is a faster version of calling <code>instance.getProperty(key).getValue()</code>.
+	 * 
+	 * @param {String} key The name of the property
+	 * @returns {Any} The JavaScript value of the instance
+	 * @see JSONInstance#getProperty
+	 * @see JSONInstance#getValue
+	 */
+	
+	JSONInstance.prototype.getValueOfProperty = function (key) {
+		if (this._value) {
+			if (this._value[key] instanceof JSONInstance) {
+				return this._value[key]._value;
+			}
+			return this._value[key];
+		}
+	};
+	
+	/**
+	 * Return if the provided value is the same as the value of the instance.
+	 * 
+	 * @param {JSONInstance|Any} instance The value to compare
+	 * @returns {Boolean} If both the instance and the value match
+	 */
+	
+	JSONInstance.prototype.equals = function (instance) {
+		if (instance instanceof JSONInstance) {
+			return this._value === instance._value;
+		}
+		//else
+		return this._value === instance;
+	};
+	
+	/**
+	 * Warning: Not a generic clone function
+	 * Produces a JSV acceptable clone
+	 */
+	
+	function clone(obj, deep) {
+		var newObj, x;
+		
+		if (obj instanceof JSONInstance) {
+			obj = obj.getValue();
+		}
+		
+		switch (typeOf(obj)) {
+		case "object":
+			if (deep) {
+				newObj = {};
+				for (x in obj) {
+					if (obj[x] !== O[x]) {
+						newObj[x] = clone(obj[x], deep);
+					}
+				}
+				return newObj;
+			} else {
+				return createObject(obj);
+			}
+			break;
+		case "array":
+			if (deep) {
+				newObj = new Array(obj.length);
+				x = obj.length;
+				while (--x >= 0) {
+					newObj[x] = clone(obj[x], deep);
+				}
+				return newObj;
+			} else {
+				return Array.prototype.slice.call(obj);
+			}
+			break;
+		default:
+			return obj;
+		}
+	}
+	
+	/**
+	 * This class binds a {@link JSONInstance} with a {@link JSONSchema} to provided context aware methods. 
+	 * 
+	 * @name JSONSchema
+	 * @class
+	 * @param {Environment} env The environment this schema belongs to
+	 * @param {JSONInstance|Any} json The value of the schema
+	 * @param {String} [uri] The URI of the schema. If undefined, the URI will be a randomly generated UUID. 
+	 * @param {JSONSchema|Boolean} [schema] The schema to bind to the instance. If <code>undefined</code>, the environment's default schema will be used. If <code>true</code>, the instance's schema will be itself.
+	 * @extends JSONInstance
+	 */
+	
+	function JSONSchema(env, json, uri, schema) {
+		var fr;
+		JSONInstance.call(this, env, json, uri);
+		
+		if (schema === true) {
+			this._schema = this;
+		} else if (json instanceof JSONSchema && !(schema instanceof JSONSchema)) {
+			this._schema = json._schema;  //TODO: Make sure cross environments don't mess everything up
+		} else {
+			this._schema = schema instanceof JSONSchema ? schema : this._env.getDefaultSchema() || this._env.createEmptySchema();
+		}
+		
+		//determine fragment delimiter from schema
+		fr = this._schema.getValueOfProperty("fragmentResolution");
+		if (fr === "dot-delimited") {
+			this._fd = ".";
+		} else if (fr === "slash-delimited") {
+			this._fd = "/";
+		}
+		
+		return this.rebuild();  //this works even when called with "new"
+	}
+	
+	JSONSchema.prototype = createObject(JSONInstance.prototype);
+	
+	/**
+	 * Returns the schema of the schema.
+	 * 
+	 * @returns {JSONSchema} The schema of the schema
+	 */
+	
+	JSONSchema.prototype.getSchema = function () {
+		var uri = this._refs && this._refs["describedby"],
+			newSchema;
+		
+		if (uri) {
+			newSchema = uri && this._env.findSchema(uri);
+			
+			if (newSchema) {
+				if (!newSchema.equals(this._schema)) {
+					this._schema = newSchema;
+					this.rebuild();  //if the schema has changed, the context has changed - so everything must be rebuilt
+				}
+			} else if (this._env._options["enforceReferences"]) {
+				throw new InitializationError(this, this._schema, "{describedby}", "Unknown schema reference", uri);
+			}
+		}
+		
+		return this._schema;
+	};
+	
+	/**
+	 * Returns the value of the provided attribute name.
+	 * <p>
+	 * This method is different from {@link JSONInstance#getProperty} as the named property 
+	 * is converted using a parser defined by the schema's schema before being returned. This
+	 * makes the return value of this method attribute dependent.
+	 * </p>
+	 * 
+	 * @param {String} key The name of the attribute
+	 * @param {Any} [arg] Some attribute parsers accept special arguments for returning resolved values. This is attribute dependent.
+	 * @returns {JSONSchema|Any} The value of the attribute
+	 */
+	
+	JSONSchema.prototype.getAttribute = function (key, arg) {
+		var schemaProperty, parser, property, result,
+			schema = this.getSchema();  //we do this here to make sure the "describedby" reference has not changed, and that the attribute cache is up-to-date
+		
+		if (!arg && this._attributes && this._attributes.hasOwnProperty(key)) {
+			return this._attributes[key];
+		}
+		
+		schemaProperty = schema.getProperty("properties").getProperty(key);
+		parser = schemaProperty.getValueOfProperty("parser");
+		property = this.getProperty(key);
+		if (typeof parser === "function") {
+			result = parser(property, schemaProperty, arg);
+			if (!arg && this._attributes) {
+				this._attributes[key] = result;
+			}
+			return result;
+		}
+		//else
+		return property.getValue();
+	};
+	
+	/**
+	 * Returns all the attributes of the schema.
+	 * 
+	 * @returns {Object} A map of all parsed attribute values
+	 */
+	
+	JSONSchema.prototype.getAttributes = function () {
+		var properties, schemaProperties, key, schemaProperty, parser,
+			schema = this.getSchema();  //we do this here to make sure the "describedby" reference has not changed, and that the attribute cache is up-to-date
+		
+		if (!this._attributes && this.getType() === "object") {
+			properties = this.getProperties();
+			schemaProperties = schema.getProperty("properties");
+			this._attributes = {};
+			for (key in properties) {
+				if (properties[key] !== O[key]) {
+					schemaProperty = schemaProperties && schemaProperties.getProperty(key);
+					parser = schemaProperty && schemaProperty.getValueOfProperty("parser");
+					if (typeof parser === "function") {
+						this._attributes[key] = parser(properties[key], schemaProperty);
+					} else {
+						this._attributes[key] = properties[key].getValue();
+					}
+				}
+			}
+		}
+		
+		return clone(this._attributes, false);
+	};
+	
+	/**
+	 * Convenience method for retrieving a link or link object from a schema. 
+	 * This method is the same as calling <code>schema.getAttribute("links", [rel, instance])[0];</code>.
+	 * 
+	 * @param {String} rel The link relationship
+	 * @param {JSONInstance} [instance] The instance to resolve any URIs from
+	 * @returns {String|Object|undefined} If <code>instance</code> is provided, a string containing the resolve URI of the link is returned.
+	 *   If <code>instance</code> is not provided, a link object is returned with details of the link.
+	 *   If no link with the provided relationship exists, <code>undefined</code> is returned.
+	 * @see JSONSchema#getAttribute
+	 */
+	
+	JSONSchema.prototype.getLink = function (rel, instance) {
+		var schemaLinks = this.getAttribute("links", [rel, instance]);
+		if (schemaLinks && schemaLinks.length && schemaLinks[schemaLinks.length - 1]) {
+			return schemaLinks[schemaLinks.length - 1];
+		}
+	};
+	
+	/**
+	 * Validates the provided instance against the target schema and returns a {@link Report}.
+	 * 
+	 * @param {JSONInstance|Any} instance The instance to validate; may be a {@link JSONInstance} or any JavaScript value
+	 * @param {Report} [report] A {@link Report} to concatenate the result of the validation to. If <code>undefined</code>, a new {@link Report} is created. 
+	 * @param {JSONInstance} [parent] The parent/containing instance of the provided instance
+	 * @param {JSONSchema} [parentSchema] The schema of the parent/containing instance
+	 * @param {String} [name] The name of the parent object's property that references the instance
+	 * @returns {Report} The result of the validation
+	 */
+	
+	JSONSchema.prototype.validate = function (instance, report, parent, parentSchema, name) {
+		var schemaSchema = this.getSchema(),
+			validator = schemaSchema.getValueOfProperty("validator");
+		
+		if (!(instance instanceof JSONInstance)) {
+			instance = this.getEnvironment().createInstance(instance);
+		}
+		
+		if (!(report instanceof Report)) {
+			report = new Report();
+		}
+		
+		if (this._env._options["validateReferences"] && this._refs) {
+			if (this._refs["describedby"] && !this._env.findSchema(this._refs["describedby"])) {
+				report.addError(this, this._schema, "{describedby}", "Unknown schema reference", this._refs["describedby"]);
+			}
+			if (this._refs["full"] && !this._env.findSchema(this._refs["full"])) {
+				report.addError(this, this._schema, "{full}", "Unknown schema reference", this._refs["full"]);
+			}
+		}
+		
+		if (typeof validator === "function" && !report.isValidatedBy(instance.getURI(), this.getURI())) {
+			report.registerValidation(instance.getURI(), this.getURI());
+			validator(instance, this, schemaSchema, report, parent, parentSchema, name);
+		}
+		
+		return report;
+	};
+	
+	/** @inner */
+	function createFullLookupWrapper(func) {
+		return /** @inner */ function fullLookupWrapper() {
+			var scope = this,
+				stack = [],
+				uri = scope._refs && scope._refs["full"],
+				schema;
+			
+			while (uri) {
+				schema = scope._env.findSchema(uri);
+				if (schema) {
+					if (schema._value === scope._value) {
+						break;
+					}
+					scope = schema;
+					stack.push(uri);
+					uri = scope._refs && scope._refs["full"];
+					if (stack.indexOf(uri) > -1) {
+						break;  //stop infinite loop
+					}
+				} else if (scope._env._options["enforceReferences"]) {
+					throw new InitializationError(scope, scope._schema, "{full}", "Unknown schema reference", uri);
+				} else {
+					uri = null;
+				}
+			}
+			return func.apply(scope, arguments);
+		};
+	}
+	
+	/**
+	 * Wraps all JSONInstance methods with a function that resolves the "full" reference.
+	 * 
+	 * @inner
+	 */
+	
+	(function () {
+		var key;
+		for (key in JSONSchema.prototype) {
+			if (JSONSchema.prototype[key] !== O[key] && typeOf(JSONSchema.prototype[key]) === "function") {
+				JSONSchema.prototype[key] = createFullLookupWrapper(JSONSchema.prototype[key]);
+			}
+		}
+	}());
+	
+	/**
+	 * Reinitializes/re-registers/rebuilds the schema.
+	 * <br/>
+	 * This is used internally, and should only be called when a schema's private variables are modified directly.
+	 * 
+	 * @private
+	 * @return {JSONSchema} The newly rebuilt schema
+	 */
+	
+	JSONSchema.prototype.rebuild = function () {
+		var instance = this,
+			initializer = instance.getSchema().getValueOfProperty("initializer");
+		
+		//clear previous built values
+		instance._refs = null;
+		instance._attributes = null;
+		
+		if (typeof initializer === "function") {
+			instance = initializer(instance);
+		}
+		
+		//register schema
+		instance._env._schemas[instance._uri] = instance;
+		
+		//build & cache the rest of the schema
+		instance.getAttributes();
+		
+		return instance;
+	};
+	
+	/**
+	 * Set the provided reference to the given value.
+	 * <br/>
+	 * References are used for establishing soft-links to other {@link JSONSchema}s.
+	 * Currently, the following references are natively supported:
+	 * <dl>
+	 *   <dt><code>full</code></dt>
+	 *   <dd>The value is the URI to the full instance of this instance.</dd>
+	 *   <dt><code>describedby</code></dt>
+	 *   <dd>The value is the URI to the schema of this instance.</dd>
+	 * </dl>
+	 * 
+	 * @param {String} name The name of the reference
+	 * @param {String} uri The URI of the schema to refer to
+	 */
+	
+	JSONSchema.prototype.setReference = function (name, uri) {
+		if (!this._refs) {
+			this._refs = {};
+		}
+		this._refs[name] = this.resolveURI(uri);
+	};
+	
+	/**
+	 * Returns the value of the provided reference name.
+	 * 
+	 * @param {String} name The name of the reference
+	 * @return {String} The value of the provided reference name
+	 */
+	
+	JSONSchema.prototype.getReference = function (name) {
+		return this._refs && this._refs[name];
+	};
+	
+	/**
+	 * Merges two schemas/instances together.
+	 */
+	
+	function inherits(base, extra, extension) {
+		var baseType = typeOf(base),
+			extraType = typeOf(extra),
+			child, x;
+		
+		if (extraType === "undefined") {
+			return clone(base, true);
+		} else if (baseType === "undefined" || extraType !== baseType) {
+			return clone(extra, true);
+		} else if (extraType === "object") {
+			if (base instanceof JSONSchema) {
+				base = base.getAttributes();
+			}
+			if (extra instanceof JSONSchema) {
+				extra = extra.getAttributes();
+				if (extra["extends"] && extension && extra["extends"] instanceof JSONSchema) {
+					extra["extends"] = [ extra["extends"] ];
+				}
+			}
+			child = clone(base, true);  //this could be optimized as some properties get overwritten
+			for (x in extra) {
+				if (extra[x] !== O[x]) {
+					child[x] = inherits(base[x], extra[x], extension);
+				}
+			}
+			return child;
+		} else {
+			return clone(extra, true);
+		}
+	}
+	
+	/**
+	 * An Environment is a sandbox of schemas thats behavior is different from other environments.
+	 * 
+	 * @name Environment
+	 * @class
+	 */
+	
+	function Environment() {
+		this._id = randomUUID();
+		this._schemas = {};
+		this._options = {};
+		
+		this.createSchema({}, true, "urn:jsv:empty-schema#");
+	}
+	
+	/**
+	 * Returns a clone of the target environment.
+	 * 
+	 * @returns {Environment} A new {@link Environment} that is a exact copy of the target environment 
+	 */
+	
+	Environment.prototype.clone = function () {
+		var env = new Environment();
+		env._schemas = createObject(this._schemas);
+		env._options = createObject(this._options);
+		
+		return env;
+	};
+	
+	/**
+	 * Returns a new {@link JSONInstance} of the provided data.
+	 * 
+	 * @param {JSONInstance|Any} data The value of the instance
+	 * @param {String} [uri] The URI of the instance. If undefined, the URI will be a randomly generated UUID. 
+	 * @returns {JSONInstance} A new {@link JSONInstance} from the provided data
+	 */
+	
+	Environment.prototype.createInstance = function (data, uri) {
+		uri = formatURI(uri);
+		
+		if (data instanceof JSONInstance && (!uri || data.getURI() === uri)) {
+			return data;
+		}
+
+		return new JSONInstance(this, data, uri);
+	};
+	
+	/**
+	 * Creates a new {@link JSONSchema} from the provided data, and registers it with the environment. 
+	 * 
+	 * @param {JSONInstance|Any} data The value of the schema
+	 * @param {JSONSchema|Boolean} [schema] The schema to bind to the instance. If <code>undefined</code>, the environment's default schema will be used. If <code>true</code>, the instance's schema will be itself.
+	 * @param {String} [uri] The URI of the schema. If undefined, the URI will be a randomly generated UUID. 
+	 * @returns {JSONSchema} A new {@link JSONSchema} from the provided data
+	 * @throws {InitializationError} If a schema that is not registered with the environment is referenced 
+	 */
+	
+	Environment.prototype.createSchema = function (data, schema, uri) {
+		uri = formatURI(uri);
+		
+		if (data instanceof JSONSchema && (!uri || data._uri === uri) && (!schema || data.getSchema().equals(schema))) {
+			return data;
+		}
+		
+		return new JSONSchema(this, data, uri, schema);
+	};
+	
+	/**
+	 * Creates an empty schema.
+	 * 
+	 * @returns {JSONSchema} The empty schema, who's schema is itself.
+	 */
+	
+	Environment.prototype.createEmptySchema = function () {
+		return this._schemas["urn:jsv:empty-schema#"];
+	};
+	
+	/**
+	 * Returns the schema registered with the provided URI.
+	 * 
+	 * @param {String} uri The absolute URI of the required schema
+	 * @returns {JSONSchema|undefined} The request schema, or <code>undefined</code> if not found
+	 */
+	
+	Environment.prototype.findSchema = function (uri) {
+		return this._schemas[formatURI(uri)];
+	};
+	
+	/**
+	 * Sets the specified environment option to the specified value.
+	 * 
+	 * @param {String} name The name of the environment option to set
+	 * @param {Any} value The new value of the environment option
+	 */
+	
+	Environment.prototype.setOption = function (name, value) {
+		this._options[name] = value;
+	};
+	
+	/**
+	 * Returns the specified environment option.
+	 * 
+	 * @param {String} name The name of the environment option to set
+	 * @returns {Any} The value of the environment option
+	 */
+	
+	Environment.prototype.getOption = function (name) {
+		return this._options[name];
+	};
+	
+	/**
+	 * Sets the default fragment delimiter of the environment.
+	 * 
+	 * @deprecated Use {@link Environment#setOption} with option "defaultFragmentDelimiter"
+	 * @param {String} fd The fragment delimiter character
+	 */
+	
+	Environment.prototype.setDefaultFragmentDelimiter = function (fd) {
+		if (typeof fd === "string" && fd.length > 0) {
+			this._options["defaultFragmentDelimiter"] = fd;
+		}
+	};
+	
+	/**
+	 * Returns the default fragment delimiter of the environment.
+	 * 
+	 * @deprecated Use {@link Environment#getOption} with option "defaultFragmentDelimiter"
+	 * @returns {String} The fragment delimiter character
+	 */
+	
+	Environment.prototype.getDefaultFragmentDelimiter = function () {
+		return this._options["defaultFragmentDelimiter"];
+	};
+	
+	/**
+	 * Sets the URI of the default schema for the environment.
+	 * 
+	 * @deprecated Use {@link Environment#setOption} with option "defaultSchemaURI"
+	 * @param {String} uri The default schema URI
+	 */
+	
+	Environment.prototype.setDefaultSchemaURI = function (uri) {
+		if (typeof uri === "string") {
+			this._options["defaultSchemaURI"] = formatURI(uri);
+		}
+	};
+	
+	/**
+	 * Returns the default schema of the environment.
+	 * 
+	 * @returns {JSONSchema} The default schema
+	 */
+	
+	Environment.prototype.getDefaultSchema = function () {
+		return this.findSchema(this._options["defaultSchemaURI"]);
+	};
+	
+	/**
+	 * Validates both the provided schema and the provided instance, and returns a {@link Report}. 
+	 * If the schema fails to validate, the instance will not be validated.
+	 * 
+	 * @param {JSONInstance|Any} instanceJSON The {@link JSONInstance} or JavaScript value to validate.
+	 * @param {JSONSchema|Any} schemaJSON The {@link JSONSchema} or JavaScript value to use in the validation. This will also be validated againt the schema's schema.
+	 * @returns {Report} The result of the validation
+	 */
+	
+	Environment.prototype.validate = function (instanceJSON, schemaJSON) {
+		var instance,
+			schema,
+			schemaSchema,
+			report = new Report();
+		
+		try {
+			instance = this.createInstance(instanceJSON);
+			report.instance = instance;
+		} catch (e) {
+			report.addError(e.uri, e.schemaUri, e.attribute, e.message, e.details);
+		}
+		
+		try {
+			schema = this.createSchema(schemaJSON);
+			report.schema = schema;
+			
+			schemaSchema = schema.getSchema();
+			report.schemaSchema = schemaSchema;
+		} catch (f) {
+			report.addError(f.uri, f.schemaUri, f.attribute, f.message, f.details);
+		}
+		
+		if (schemaSchema) {
+			schemaSchema.validate(schema, report);
+		}
+			
+		if (report.errors.length) {
+			return report;
+		}
+		
+		return schema.validate(instance, report);
+	};
+	
+	/**
+	 * @private
+	 */
+	
+	Environment.prototype._checkForInvalidInstances = function (stackSize, schemaURI) {
+		var result = [],
+			stack = [
+				[schemaURI, this._schemas[schemaURI]]
+			], 
+			counter = 0,
+			item, uri, instance, properties, key;
+		
+		while (counter++ < stackSize && stack.length) {
+			item = stack.shift();
+			uri = item[0];
+			instance = item[1];
+			
+			if (instance instanceof JSONSchema) {
+				if (this._schemas[instance._uri] !== instance) {
+					result.push("Instance " + uri + " does not match " + instance._uri);
+				} else {
+					//schema = instance.getSchema();
+					//stack.push([uri + "/{schema}", schema]);
+					
+					properties = instance.getAttributes();
+					for (key in properties) {
+						if (properties[key] !== O[key]) {
+							stack.push([uri + "/" + escapeURIComponent(key), properties[key]]);
+						}
+					}
+				}
+			} else if (typeOf(instance) === "object") {
+				properties = instance;
+				for (key in properties) {
+					if (properties.hasOwnProperty(key)) {
+						stack.push([uri + "/" + escapeURIComponent(key), properties[key]]);
+					}
+				}
+			} else if (typeOf(instance) === "array") {
+				properties = instance;
+				for (key = 0; key < properties.length; ++key) {
+					stack.push([uri + "/" + escapeURIComponent(key), properties[key]]);
+				}
+			}
+		}
+		
+		return result.length ? result : counter;
+	};
+	
+	/**
+	 * A globaly accessible object that provides the ability to create and manage {@link Environments},
+	 * as well as providing utility methods.
+	 * 
+	 * @namespace
+	 */
+	
+	JSV = {
+		_environments : {},
+		_defaultEnvironmentID : "",
+		
+		/**
+		 * Returns if the provide value is an instance of {@link JSONInstance}.
+		 * 
+		 * @param o The value to test
+		 * @returns {Boolean} If the provide value is an instance of {@link JSONInstance}
+		 */
+		
+		isJSONInstance : function (o) {
+			return o instanceof JSONInstance;
+		},
+		
+		/**
+		 * Returns if the provide value is an instance of {@link JSONSchema}.
+		 * 
+		 * @param o The value to test
+		 * @returns {Boolean} If the provide value is an instance of {@link JSONSchema}
+		 */
+		
+		isJSONSchema : function (o) {
+			return o instanceof JSONSchema;
+		},
+		
+		/**
+		 * Creates and returns a new {@link Environment} that is a clone of the environment registered with the provided ID.
+		 * If no environment ID is provided, the default environment is cloned.
+		 * 
+		 * @param {String} [id] The ID of the environment to clone. If <code>undefined</code>, the default environment ID is used.
+		 * @returns {Environment} A newly cloned {@link Environment}
+		 * @throws {Error} If there is no environment registered with the provided ID
+		 */
+		
+		createEnvironment : function (id) {
+			id = id || this._defaultEnvironmentID;
+			
+			if (!this._environments[id]) {
+				throw new Error("Unknown Environment ID");
+			}
+			//else
+			return this._environments[id].clone();
+		},
+		
+		Environment : Environment,
+		
+		/**
+		 * Registers the provided {@link Environment} with the provided ID.
+		 * 
+		 * @param {String} id The ID of the environment
+		 * @param {Environment} env The environment to register
+		 */
+		
+		registerEnvironment : function (id, env) {
+			id = id || (env || 0)._id;
+			if (id && !this._environments[id] && env instanceof Environment) {
+				env._id = id;
+				this._environments[id] = env;
+			}
+		},
+		
+		/**
+		 * Sets which registered ID is the default environment.
+		 * 
+		 * @param {String} id The ID of the registered environment that is default
+		 * @throws {Error} If there is no registered environment with the provided ID
+		 */
+		
+		setDefaultEnvironmentID : function (id) {
+			if (typeof id === "string") {
+				if (!this._environments[id]) {
+					throw new Error("Unknown Environment ID");
+				}
+				
+				this._defaultEnvironmentID = id;
+			}
+		},
+		
+		/**
+		 * Returns the ID of the default environment.
+		 * 
+		 * @returns {String} The ID of the default environment
+		 */
+		
+		getDefaultEnvironmentID : function () {
+			return this._defaultEnvironmentID;
+		},
+		
+		//
+		// Utility Functions
+		//
+		
+		/**
+		 * Returns the name of the type of the provided value.
+		 *
+		 * @event //utility
+		 * @param {Any} o The value to determine the type of
+		 * @returns {String} The name of the type of the value
+		 */
+		typeOf : typeOf,
+		
+		/**
+		 * Return a new object that inherits all of the properties of the provided object.
+		 *
+		 * @event //utility
+		 * @param {Object} proto The prototype of the new object
+		 * @returns {Object} A new object that inherits all of the properties of the provided object
+		 */
+		createObject : createObject,
+		
+		/**
+		 * Returns a new object with each property transformed by the iterator.
+		 *
+		 * @event //utility
+		 * @param {Object} obj The object to transform
+		 * @param {Function} iterator A function that returns the new value of the provided property
+		 * @param {Object} [scope] The value of <code>this</code> in the iterator
+		 * @returns {Object} A new object with each property transformed
+		 */
+		mapObject : mapObject,
+		
+		/**
+		 * Returns a new array with each item transformed by the iterator.
+		 * 
+		 * @event //utility
+		 * @param {Array} arr The array to transform
+		 * @param {Function} iterator A function that returns the new value of the provided item
+		 * @param {Object} scope The value of <code>this</code> in the iterator
+		 * @returns {Array} A new array with each item transformed
+		 */
+		mapArray : mapArray,
+		
+		/**
+		 * Returns a new array that only contains the items allowed by the iterator.
+		 *
+		 * @event //utility
+		 * @param {Array} arr The array to filter
+		 * @param {Function} iterator The function that returns true if the provided property should be added to the array
+		 * @param {Object} scope The value of <code>this</code> within the iterator
+		 * @returns {Array} A new array that contains the items allowed by the iterator
+		 */
+		filterArray : filterArray,
+		
+		/**
+		 * Returns the first index in the array that the provided item is located at.
+		 *
+		 * @event //utility
+		 * @param {Array} arr The array to search
+		 * @param {Any} o The item being searched for
+		 * @returns {Number} The index of the item in the array, or <code>-1</code> if not found
+		 */
+		searchArray : searchArray,
+			
+		/**
+		 * Returns an array representation of a value.
+		 * <ul>
+		 * <li>For array-like objects, the value will be casted as an Array type.</li>
+		 * <li>If an array is provided, the function will simply return the same array.</li>
+		 * <li>For a null or undefined value, the result will be an empty Array.</li>
+		 * <li>For all other values, the value will be the first element in a new Array. </li>
+		 * </ul>
+		 *
+		 * @event //utility
+		 * @param {Any} o The value to convert into an array
+		 * @returns {Array} The value as an array
+		 */
+		toArray : toArray,
+		
+		/**
+		 * Returns an array of the names of all properties of an object.
+		 * 
+		 * @event //utility
+		 * @param {Object|Array} o The object in question
+		 * @returns {Array} The names of all properties
+		 */
+		keys : keys,
+		
+		/**
+		 * Mutates the array by pushing the provided value onto the array only if it is not already there.
+		 *
+		 * @event //utility
+		 * @param {Array} arr The array to modify
+		 * @param {Any} o The object to add to the array if it is not already there
+		 * @returns {Array} The provided array for chaining
+		 */
+		pushUnique : pushUnique,
+		
+		/**
+		 * Mutates the array by removing the first item that matches the provided value in the array.
+		 *
+		 * @event //utility
+		 * @param {Array} arr The array to modify
+		 * @param {Any} o The object to remove from the array
+		 * @returns {Array} The provided array for chaining
+		 */
+		popFirst : popFirst,
+		
+		/**
+		 * Creates a copy of the target object.
+		 * <p>
+		 * This method will create a new instance of the target, and then mixin the properties of the target.
+		 * If <code>deep</code> is <code>true</code>, then each property will be cloned before mixin.
+		 * </p>
+		 * <p><b>Warning</b>: This is not a generic clone function, as it will only properly clone objects and arrays.</p>
+		 * 
+		 * @event //utility
+		 * @param {Any} o The value to clone 
+		 * @param {Boolean} [deep=false] If each property should be recursively cloned
+		 * @returns A cloned copy of the provided value
+		 */
+		clone : clone,
+		
+		/**
+		 * Generates a pseudo-random UUID.
+		 * 
+		 * @event //utility
+		 * @returns {String} A new universally unique ID
+		 */
+		randomUUID : randomUUID,
+		
+		/**
+		 * Properly escapes a URI component for embedding into a URI string.
+		 * 
+		 * @event //utility
+		 * @param {String} str The URI component to escape
+		 * @returns {String} The escaped URI component
+		 */
+		escapeURIComponent : escapeURIComponent,
+		
+		/**
+		 * Returns a URI that is formated for JSV. Currently, this only ensures that the URI ends with a hash tag (<code>#</code>).
+		 * 
+		 * @event //utility
+		 * @param {String} uri The URI to format
+		 * @returns {String} The URI formatted for JSV
+		 */
+		formatURI : formatURI,
+		
+		/**
+		 * Merges two schemas/instance together.
+		 * 
+		 * @event //utility
+		 * @param {JSONSchema|Any} base The old value to merge
+		 * @param {JSONSchema|Any} extra The new value to merge
+		 * @param {Boolean} extension If the merge is a JSON Schema extension
+		 * @return {Any} The modified base value
+		 */
+		 
+		inherits : inherits,
+		
+		/**
+		 * @private
+		 * @event //utility
+		 */
+		
+		InitializationError : InitializationError
+	};
+	
+	this.JSV = JSV;  //set global object
+	exports.JSV = JSV;  //export to CommonJS
+	
+	require("./environments");  //load default environments
+	
+}());
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/uri/schemes/urn.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/uri/schemes/urn.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/uri/schemes/urn.js	(revision 505)
@@ -0,0 +1,86 @@
+(function () {
+	var URI_NS = require("../uri"),
+		URI = URI_NS.URI,
+		pctEncChar = URI_NS.pctEncChar,
+		NID$ = "(?:[0-9A-Za-z][0-9A-Za-z\\-]{1,31})",
+		PCT_ENCODED$ = "(?:\\%[0-9A-Fa-f]{2})",
+		TRANS$$ = "[0-9A-Za-z\\(\\)\\+\\,\\-\\.\\:\\=\\@\\;\\$\\_\\!\\*\\'\\/\\?\\#]",
+		NSS$ = "(?:(?:" + PCT_ENCODED$ + "|" + TRANS$$ + ")+)",
+		URN_SCHEME = new RegExp("^urn\\:(" + NID$ + ")$"),
+		URN_PATH = new RegExp("^(" + NID$ + ")\\:(" + NSS$ + ")$"),
+		URN_PARSE = /^([^\:]+)\:(.*)/,
+		URN_EXCLUDED = /[\x00-\x20\\\"\&\<\>\[\]\^\`\{\|\}\~\x7F-\xFF]/g,
+		UUID = /^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/;
+	
+	//RFC 2141
+	URI.SCHEMES["urn"] = {
+		parse : function (components, options) {
+			var matches = components.path.match(URN_PATH),
+				scheme, schemeHandler;
+			
+			if (!matches) {
+				if (!options.tolerant) {
+					components.errors.push("URN is not strictly valid.");
+				}
+				
+				matches = components.path.match(URN_PARSE);
+			}
+			
+			if (matches) {
+				scheme = "urn:" + matches[1].toLowerCase();
+				schemeHandler = URI.SCHEMES[scheme];
+				
+				//in order to serialize properly, 
+				//every URN must have a serializer that calls the URN serializer 
+				if (!schemeHandler) {
+					schemeHandler = URI.SCHEMES[scheme] = {};
+				}
+				if (!schemeHandler.serialize) {
+					schemeHandler.serialize = URI.SCHEMES["urn"].serialize;
+				}
+				
+				components.scheme = scheme;
+				components.path = matches[2];
+				
+				if (schemeHandler.parse) {
+					schemeHandler.parse(components, options);
+				}
+			} else {
+				components.errors.push("URN can not be parsed.");
+			}
+	
+			return components;
+		},
+		
+		serialize : function (components, options) {
+			var scheme = components.scheme || options.scheme,
+				matches;
+			
+			if (scheme && scheme !== "urn") {
+				var matches = scheme.match(URN_SCHEME);
+				
+				if (!matches) {
+					matches = ["urn:" + scheme, scheme];
+				}
+				
+				components.scheme = "urn";
+				components.path = matches[1] + ":" + (components.path ? components.path.replace(URN_EXCLUDED, pctEncChar) : "");
+			}
+			
+			return components;
+		}
+	};
+	
+	//RFC 4122
+	URI.SCHEMES["urn:uuid"] = {
+		serialize : function (components, options) {
+			//ensure UUID is valid
+			if (!options.tolerant && (!components.path || !components.path.match(UUID))) {
+				//invalid UUIDs can not have this scheme
+				components.scheme = undefined;
+			}
+			
+			return URI.SCHEMES["urn"].serialize(components, options);
+		}
+	};
+}());
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/uri/uri.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/uri/uri.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/lib/uri/uri.js	(revision 505)
@@ -0,0 +1,710 @@
+/**
+ * URI.js
+ * 
+ * @fileoverview An RFC 3986 compliant, scheme extendable URI parsing/validating/resolving library for JavaScript.
+ * @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
+ * @version 1.3
+ * @see http://github.com/garycourt/uri-js
+ * @license URI.js v1.3 (c) 2010 Gary Court. License: http://github.com/garycourt/uri-js
+ */
+
+/**
+ * Copyright 2010 Gary Court. All rights reserved.
+ * 
+ * Redistribution and use in source and binary forms, with or without modification, are
+ * permitted provided that the following conditions are met:
+ * 
+ *    1. Redistributions of source code must retain the above copyright notice, this list of
+ *       conditions and the following disclaimer.
+ * 
+ *    2. Redistributions in binary form must reproduce the above copyright notice, this list
+ *       of conditions and the following disclaimer in the documentation and/or other materials
+ *       provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY GARY COURT ``AS IS'' AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * 
+ * The views and conclusions contained in the software and documentation are those of the
+ * authors and should not be interpreted as representing official policies, either expressed
+ * or implied, of Gary Court.
+ */
+
+/*jslint white: true, sub: true, onevar: true, undef: true, eqeqeq: true, newcap: true, immed: true, indent: 4 */
+/*global exports:true, require:true */
+
+if (typeof exports === "undefined") {
+	exports = {}; 
+}
+if (typeof require !== "function") {
+	require = function (id) {
+		return exports;
+	};
+}
+(function () {
+	var	
+		/**
+		 * @param {...string} sets
+		 * @return {string}
+		 */
+		mergeSet = function (sets) {
+			var set = arguments[0],
+				x = 1,
+				nextSet = arguments[x];
+			
+			while (nextSet) {
+				set = set.slice(0, -1) + nextSet.slice(1);
+				nextSet = arguments[++x];
+			}
+			
+			return set;
+		},
+		
+		/**
+		 * @param {string} str
+		 * @return {string}
+		 */
+		subexp = function (str) {
+			return "(?:" + str + ")";
+		},
+	
+		ALPHA$$ = "[A-Za-z]",
+		CR$ = "[\\x0D]",
+		DIGIT$$ = "[0-9]",
+		DQUOTE$$ = "[\\x22]",
+		HEXDIG$$ = mergeSet(DIGIT$$, "[A-Fa-f]"),  //case-insensitive
+		LF$$ = "[\\x0A]",
+		SP$$ = "[\\x20]",
+		PCT_ENCODED$ = subexp("%" + HEXDIG$$ + HEXDIG$$),
+		GEN_DELIMS$$ = "[\\:\\/\\?\\#\\[\\]\\@]",
+		SUB_DELIMS$$ = "[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",
+		RESERVED$$ = mergeSet(GEN_DELIMS$$, SUB_DELIMS$$),
+		UNRESERVED$$ = mergeSet(ALPHA$$, DIGIT$$, "[\\-\\.\\_\\~]"),
+		SCHEME$ = subexp(ALPHA$$ + mergeSet(ALPHA$$, DIGIT$$, "[\\+\\-\\.]") + "*"),
+		USERINFO$ = subexp(subexp(PCT_ENCODED$ + "|" + mergeSet(UNRESERVED$$, SUB_DELIMS$$, "[\\:]")) + "*"),
+		DEC_OCTET$ = subexp(subexp("25[0-5]") + "|" + subexp("2[0-4]" + DIGIT$$) + "|" + subexp("1" + DIGIT$$ + DIGIT$$) + "|" + subexp("[1-9]" + DIGIT$$) + "|" + DIGIT$$),
+		IPV4ADDRESS$ = subexp(DEC_OCTET$ + "\\." + DEC_OCTET$ + "\\." + DEC_OCTET$ + "\\." + DEC_OCTET$),
+		H16$ = subexp(HEXDIG$$ + "{1,4}"),
+		LS32$ = subexp(subexp(H16$ + "\\:" + H16$) + "|" + IPV4ADDRESS$),
+		IPV6ADDRESS$ = subexp(mergeSet(UNRESERVED$$, SUB_DELIMS$$, "[\\:]") + "+"),  //FIXME
+		IPVFUTURE$ = subexp("v" + HEXDIG$$ + "+\\." + mergeSet(UNRESERVED$$, SUB_DELIMS$$, "[\\:]") + "+"),
+		IP_LITERAL$ = subexp("\\[" + subexp(IPV6ADDRESS$ + "|" + IPVFUTURE$) + "\\]"),
+		REG_NAME$ = subexp(subexp(PCT_ENCODED$ + "|" + mergeSet(UNRESERVED$$, SUB_DELIMS$$)) + "*"),
+		HOST$ = subexp(IP_LITERAL$ + "|" + IPV4ADDRESS$ + "|" + REG_NAME$),
+		PORT$ = subexp(DIGIT$$ + "*"),
+		AUTHORITY$ = subexp(subexp(USERINFO$ + "@") + "?" + HOST$ + subexp("\\:" + PORT$) + "?"),
+		PCHAR$ = subexp(PCT_ENCODED$ + "|" + mergeSet(UNRESERVED$$, SUB_DELIMS$$, "[\\:\\@]")),
+		SEGMENT$ = subexp(PCHAR$ + "*"),
+		SEGMENT_NZ$ = subexp(PCHAR$ + "+"),
+		SEGMENT_NZ_NC$ = subexp(subexp(PCT_ENCODED$ + "|" + mergeSet(UNRESERVED$$, SUB_DELIMS$$, "[\\@]")) + "+"),
+		PATH_ABEMPTY$ = subexp(subexp("\\/" + SEGMENT$) + "*"),
+		PATH_ABSOLUTE$ = subexp("\\/" + subexp(SEGMENT_NZ$ + PATH_ABEMPTY$) + "?"),  //simplified
+		PATH_NOSCHEME$ = subexp(SEGMENT_NZ_NC$ + PATH_ABEMPTY$),  //simplified
+		PATH_ROOTLESS$ = subexp(SEGMENT_NZ$ + PATH_ABEMPTY$),  //simplified
+		PATH_EMPTY$ = subexp(""),  //simplified
+		PATH$ = subexp(PATH_ABEMPTY$ + "|" + PATH_ABSOLUTE$ + "|" + PATH_NOSCHEME$ + "|" + PATH_ROOTLESS$ + "|" + PATH_EMPTY$),
+		QUERY$ = subexp(subexp(PCHAR$ + "|[\\/\\?]") + "*"),
+		FRAGMENT$ = subexp(subexp(PCHAR$ + "|[\\/\\?]") + "*"),
+		HIER_PART$ = subexp(subexp("\\/\\/" + AUTHORITY$ + PATH_ABEMPTY$) + "|" + PATH_ABSOLUTE$ + "|" + PATH_ROOTLESS$ + "|" + PATH_EMPTY$),
+		URI$ = subexp(SCHEME$ + "\\:" + HIER_PART$ + subexp("\\?" + QUERY$) + "?" + subexp("\\#" + FRAGMENT$) + "?"),
+		RELATIVE_PART$ = subexp(subexp("\\/\\/" + AUTHORITY$ + PATH_ABEMPTY$) + "|" + PATH_ABSOLUTE$ + "|" + PATH_NOSCHEME$ + "|" + PATH_EMPTY$),
+		RELATIVE_REF$ = subexp(RELATIVE_PART$ + subexp("\\?" + QUERY$) + "?" + subexp("\\#" + FRAGMENT$) + "?"),
+		URI_REFERENCE$ = subexp(URI$ + "|" + RELATIVE_REF$),
+		ABSOLUTE_URI$ = subexp(SCHEME$ + "\\:" + HIER_PART$ + subexp("\\?" + QUERY$) + "?"),
+		
+		URI_REF = new RegExp("^" + subexp("(" + URI$ + ")|(" + RELATIVE_REF$ + ")") + "$"),
+		GENERIC_REF  = new RegExp("^(" + SCHEME$ + ")\\:" + subexp(subexp("\\/\\/(" + subexp("(" + USERINFO$ + ")@") + "?(" + HOST$ + ")" + subexp("\\:(" + PORT$ + ")") + "?)") + "?(" + PATH_ABEMPTY$ + "|" + PATH_ABSOLUTE$ + "|" + PATH_ROOTLESS$ + "|" + PATH_EMPTY$ + ")") + subexp("\\?(" + QUERY$ + ")") + "?" + subexp("\\#(" + FRAGMENT$ + ")") + "?$"),
+		RELATIVE_REF = new RegExp("^(){0}" + subexp(subexp("\\/\\/(" + subexp("(" + USERINFO$ + ")@") + "?(" + HOST$ + ")" + subexp("\\:(" + PORT$ + ")") + "?)") + "?(" + PATH_ABEMPTY$ + "|" + PATH_ABSOLUTE$ + "|" + PATH_NOSCHEME$ + "|" + PATH_EMPTY$ + ")") + subexp("\\?(" + QUERY$ + ")") + "?" + subexp("\\#(" + FRAGMENT$ + ")") + "?$"),
+		ABSOLUTE_REF = new RegExp("^(" + SCHEME$ + ")\\:" + subexp(subexp("\\/\\/(" + subexp("(" + USERINFO$ + ")@") + "?(" + HOST$ + ")" + subexp("\\:(" + PORT$ + ")") + "?)") + "?(" + PATH_ABEMPTY$ + "|" + PATH_ABSOLUTE$ + "|" + PATH_ROOTLESS$ + "|" + PATH_EMPTY$ + ")") + subexp("\\?(" + QUERY$ + ")") + "?$"),
+		SAMEDOC_REF = new RegExp("^" + subexp("\\#(" + FRAGMENT$ + ")") + "?$"),
+		AUTHORITY = new RegExp("^" + subexp("(" + USERINFO$ + ")@") + "?(" + HOST$ + ")" + subexp("\\:(" + PORT$ + ")") + "?$"),
+		
+		NOT_SCHEME = new RegExp(mergeSet("[^]", ALPHA$$, DIGIT$$, "[\\+\\-\\.]"), "g"),
+		NOT_USERINFO = new RegExp(mergeSet("[^\\%\\:]", UNRESERVED$$, SUB_DELIMS$$), "g"),
+		NOT_HOST = new RegExp(mergeSet("[^\\%]", UNRESERVED$$, SUB_DELIMS$$), "g"),
+		NOT_PATH = new RegExp(mergeSet("[^\\%\\/\\:\\@]", UNRESERVED$$, SUB_DELIMS$$), "g"),
+		NOT_PATH_NOSCHEME = new RegExp(mergeSet("[^\\%\\/\\@]", UNRESERVED$$, SUB_DELIMS$$), "g"),
+		NOT_QUERY = new RegExp(mergeSet("[^\\%]", UNRESERVED$$, SUB_DELIMS$$, "[\\:\\@\\/\\?]"), "g"),
+		NOT_FRAGMENT = NOT_QUERY,
+		ESCAPE = new RegExp(mergeSet("[^]", UNRESERVED$$, SUB_DELIMS$$), "g"),
+		UNRESERVED = new RegExp(UNRESERVED$$, "g"),
+		OTHER_CHARS = new RegExp(mergeSet("[^\\%]", UNRESERVED$$, RESERVED$$), "g"),
+		PCT_ENCODEDS = new RegExp(PCT_ENCODED$ + "+", "g"),
+		URI_PARSE = /^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?([^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/i,
+		RDS1 = /^\.\.?\//,
+		RDS2 = /^\/\.(\/|$)/,
+		RDS3 = /^\/\.\.(\/|$)/,
+		RDS4 = /^\.\.?$/,
+		RDS5 = /^\/?.*?(?=\/|$)/,
+		NO_MATCH_IS_UNDEFINED = ("").match(/(){0}/)[1] === undefined,
+		
+		/**
+		 * @param {string} chr
+		 * @return {string}
+		 */
+		pctEncChar = function (chr) {
+			var c = chr.charCodeAt(0);
+ 
+			if (c < 128) {
+				return "%" + c.toString(16).toUpperCase();
+			}
+			else if ((c > 127) && (c < 2048)) {
+				return "%" + ((c >> 6) | 192).toString(16).toUpperCase() + "%" + ((c & 63) | 128).toString(16).toUpperCase();
+			}
+			else {
+				return "%" + ((c >> 12) | 224).toString(16).toUpperCase() + "%" + (((c >> 6) & 63) | 128).toString(16).toUpperCase() + "%" + ((c & 63) | 128).toString(16).toUpperCase();
+			}
+		},
+		
+		/**
+		 * @param {string} str
+		 * @return {string}
+		 */
+		pctDecUnreserved = function (str) {
+			var newStr = "", 
+				i = 0,
+				c, s;
+	 
+			while (i < str.length) {
+				c = parseInt(str.substr(i + 1, 2), 16);
+	 
+				if (c < 128) {
+					s = String.fromCharCode(c);
+					if (s.match(UNRESERVED)) {
+						newStr += s;
+					} else {
+						newStr += str.substr(i, 3);
+					}
+					i += 3;
+				}
+				else if ((c > 191) && (c < 224)) {
+					newStr += str.substr(i, 6);
+					i += 6;
+				}
+				else {
+					newStr += str.substr(i, 9);
+					i += 9;
+				}
+			}
+	 
+			return newStr;
+		},
+		
+		/**
+		 * @param {string} str
+		 * @return {string}
+		 */
+		pctDecChars = function (str) {
+			var newStr = "", 
+				i = 0,
+				c, c2, c3;
+	 
+			while (i < str.length) {
+				c = parseInt(str.substr(i + 1, 2), 16);
+	 
+				if (c < 128) {
+					newStr += String.fromCharCode(c);
+					i += 3;
+				}
+				else if ((c > 191) && (c < 224)) {
+					c2 = parseInt(str.substr(i + 4, 2), 16);
+					newStr += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
+					i += 6;
+				}
+				else {
+					c2 = parseInt(str.substr(i + 4, 2), 16);
+					c3 = parseInt(str.substr(i + 7, 2), 16);
+					newStr += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
+					i += 9;
+				}
+			}
+	 
+			return newStr;
+		},
+		
+		/**
+		 * @return {string}
+		 */
+		typeOf = function (o) {
+			return o === undefined ? "undefined" : (o === null ? "null" : Object.prototype.toString.call(o).split(" ").pop().split("]").shift().toLowerCase());
+		},
+		
+		/**
+		 * @constructor
+		 * @implements URIComponents
+		 */
+		Components = function () {
+			this.errors = [];
+		}, 
+		
+		/** @namespace */ 
+		URI = exports;
+	
+	/**
+	 * Components
+	 */
+	
+	Components.prototype = {
+		/**
+		 * @type String
+		 */
+		
+		scheme : undefined,
+		
+		/**
+		 * @type String
+		 */
+		
+		authority : undefined,
+		
+		/**
+		 * @type String
+		 */
+		
+		userinfo : undefined,
+		
+		/**
+		 * @type String
+		 */
+		
+		host : undefined,
+		
+		/**
+		 * @type number
+		 */
+		
+		port : undefined,
+		
+		/**
+		 * @type string
+		 */
+		
+		path : undefined,
+		
+		/**
+		 * @type string
+		 */
+		
+		query : undefined,
+		
+		/**
+		 * @type string
+		 */
+		
+		fragment : undefined,
+		
+		/**
+		 * @type string
+		 * @values "uri", "absolute", "relative", "same-document"
+		 */
+		
+		reference : undefined,
+		
+		/**
+		 * @type Array
+		 */
+		
+		errors : undefined
+	};
+	
+	/**
+	 * URI
+	 */
+	
+	/**
+	 * @namespace
+	 */
+	
+	URI.SCHEMES = {};
+	
+	/**
+	 * @param {string} uriString
+	 * @param {Options} [options]
+	 * @returns {URIComponents}
+	 */
+	
+	URI.parse = function (uriString, options) {
+		var matches, 
+			components = new Components(),
+			schemeHandler;
+		
+		uriString = uriString ? uriString.toString() : "";
+		options = options || {};
+		
+		if (options.reference === "suffix") {
+			uriString = (options.scheme ? options.scheme + ":" : "") + "//" + uriString;
+		}
+		
+		matches = uriString.match(URI_REF);
+		
+		if (matches) {
+			if (matches[1]) {
+				//generic URI
+				matches = uriString.match(GENERIC_REF);
+			} else {
+				//relative URI
+				matches = uriString.match(RELATIVE_REF);
+			}
+		} 
+		
+		if (!matches) {
+			if (!options.tolerant) {
+				components.errors.push("URI is not strictly valid.");
+			}
+			matches = uriString.match(URI_PARSE);
+		}
+		
+		if (matches) {
+			if (NO_MATCH_IS_UNDEFINED) {
+				//store each component
+				components.scheme = matches[1];
+				components.authority = matches[2];
+				components.userinfo = matches[3];
+				components.host = matches[4];
+				components.port = parseInt(matches[5], 10);
+				components.path = matches[6] || "";
+				components.query = matches[7];
+				components.fragment = matches[8];
+				
+				//fix port number
+				if (isNaN(components.port)) {
+					components.port = matches[5];
+				}
+			} else {  //IE FIX for improper RegExp matching
+				//store each component
+				components.scheme = matches[1] || undefined;
+				components.authority = (uriString.indexOf("//") !== -1 ? matches[2] : undefined);
+				components.userinfo = (uriString.indexOf("@") !== -1 ? matches[3] : undefined);
+				components.host = (uriString.indexOf("//") !== -1 ? matches[4] : undefined);
+				components.port = parseInt(matches[5], 10);
+				components.path = matches[6] || "";
+				components.query = (uriString.indexOf("?") !== -1 ? matches[7] : undefined);
+				components.fragment = (uriString.indexOf("#") !== -1 ? matches[8] : undefined);
+				
+				//fix port number
+				if (isNaN(components.port)) {
+					components.port = (uriString.match(/\/\/.*\:(?:\/|\?|\#|$)/) ? matches[4] : undefined);
+				}
+			}
+			
+			//determine reference type
+			if (!components.scheme && !components.authority && !components.path && !components.query) {
+				components.reference = "same-document";
+			} else if (!components.scheme) {
+				components.reference = "relative";
+			} else if (!components.fragment) {
+				components.reference = "absolute";
+			} else {
+				components.reference = "uri";
+			}
+			
+			//check for reference errors
+			if (options.reference && options.reference !== "suffix" && options.reference !== components.reference) {
+				components.errors.push("URI is not a " + options.reference + " reference.");
+			}
+			
+			//check if a handler for the scheme exists
+			schemeHandler = URI.SCHEMES[(components.scheme || options.scheme || "").toLowerCase()];
+			if (schemeHandler && schemeHandler.parse) {
+				//perform extra parsing
+				schemeHandler.parse(components, options);
+			}
+		} else {
+			components.errors.push("URI can not be parsed.");
+		}
+		
+		return components;
+	};
+	
+	/**
+	 * @private
+	 * @param {URIComponents} components
+	 * @returns {string|undefined}
+	 */
+	
+	URI._recomposeAuthority = function (components) {
+		var uriTokens = [];
+		
+		if (components.userinfo !== undefined || components.host !== undefined || typeof components.port === "number") {
+			if (components.userinfo !== undefined) {
+				uriTokens.push(components.userinfo.toString().replace(NOT_USERINFO, pctEncChar));
+				uriTokens.push("@");
+			}
+			if (components.host !== undefined) {
+				uriTokens.push(components.host.toString().toLowerCase().replace(NOT_HOST, pctEncChar));
+			}
+			if (typeof components.port === "number") {
+				uriTokens.push(":");
+				uriTokens.push(components.port.toString(10));
+			}
+		}
+		
+		return uriTokens.length ? uriTokens.join("") : undefined;
+	};
+	
+	/**
+	 * @param {string} input
+	 * @returns {string}
+	 */
+	
+	URI.removeDotSegments = function (input) {
+		var output = [], s;
+		
+		while (input.length) {
+			if (input.match(RDS1)) {
+				input = input.replace(RDS1, "");
+			} else if (input.match(RDS2)) {
+				input = input.replace(RDS2, "/");
+			} else if (input.match(RDS3)) {
+				input = input.replace(RDS3, "/");
+				output.pop();
+			} else if (input === "." || input === "..") {
+				input = "";
+			} else {
+				s = input.match(RDS5)[0];
+				input = input.slice(s.length);
+				output.push(s);
+			}
+		}
+		
+		return output.join("");
+	};
+	
+	/**
+	 * @param {URIComponents} components
+	 * @param {Options} [options]
+	 * @returns {string}
+	 */
+	
+	URI.serialize = function (components, options) {
+		var uriTokens = [], 
+			schemeHandler, 
+			s;
+		options = options || {};
+		
+		//check if a handler for the scheme exists
+		schemeHandler = URI.SCHEMES[components.scheme || options.scheme];
+		if (schemeHandler && schemeHandler.serialize) {
+			//perform extra serialization
+			schemeHandler.serialize(components, options);
+		}
+		
+		if (options.reference !== "suffix" && components.scheme) {
+			uriTokens.push(components.scheme.toString().toLowerCase().replace(NOT_SCHEME, ""));
+			uriTokens.push(":");
+		}
+		
+		components.authority = URI._recomposeAuthority(components);
+		if (components.authority !== undefined) {
+			if (options.reference !== "suffix") {
+				uriTokens.push("//");
+			}
+			
+			uriTokens.push(components.authority);
+			
+			if (components.path && components.path.charAt(0) !== "/") {
+				uriTokens.push("/");
+			}
+		}
+		
+		if (components.path) {
+			s = URI.removeDotSegments(components.path.toString().replace(/%2E/ig, "."));
+			
+			if (components.scheme) {
+				s = s.replace(NOT_PATH, pctEncChar);
+			} else {
+				s = s.replace(NOT_PATH_NOSCHEME, pctEncChar);
+			}
+			
+			if (components.authority === undefined) {
+				s = s.replace(/^\/\//, "/%2F");  //don't allow the path to start with "//"
+			}
+			uriTokens.push(s);
+		}
+		
+		if (components.query) {
+			uriTokens.push("?");
+			uriTokens.push(components.query.toString().replace(NOT_QUERY, pctEncChar));
+		}
+		
+		if (components.fragment) {
+			uriTokens.push("#");
+			uriTokens.push(components.fragment.toString().replace(NOT_FRAGMENT, pctEncChar));
+		}
+		
+		return uriTokens
+			.join('')  //merge tokens into a string
+			.replace(PCT_ENCODEDS, pctDecUnreserved)  //undecode unreserved characters
+			//.replace(OTHER_CHARS, pctEncChar)  //replace non-URI characters
+			.replace(/%[0-9A-Fa-f]{2}/g, function (str) {  //uppercase percent encoded characters
+				return str.toUpperCase();
+			})
+		;
+	};
+	
+	/**
+	 * @param {URIComponents} base
+	 * @param {URIComponents} relative
+	 * @param {Options} [options]
+	 * @param {boolean} [skipNormalization]
+	 * @returns {URIComponents}
+	 */
+	
+	URI.resolveComponents = function (base, relative, options, skipNormalization) {
+		var target = new Components();
+		
+		if (!skipNormalization) {
+			base = URI.parse(URI.serialize(base, options), options);  //normalize base components
+			relative = URI.parse(URI.serialize(relative, options), options);  //normalize relative components
+		}
+		options = options || {};
+		
+		if (!options.tolerant && relative.scheme) {
+			target.scheme = relative.scheme;
+			target.authority = relative.authority;
+			target.userinfo = relative.userinfo;
+			target.host = relative.host;
+			target.port = relative.port;
+			target.path = URI.removeDotSegments(relative.path);
+			target.query = relative.query;
+		} else {
+			if (relative.authority !== undefined) {
+				target.authority = relative.authority;
+				target.userinfo = relative.userinfo;
+				target.host = relative.host;
+				target.port = relative.port;
+				target.path = URI.removeDotSegments(relative.path);
+				target.query = relative.query;
+			} else {
+				if (!relative.path) {
+					target.path = base.path;
+					if (relative.query !== undefined) {
+						target.query = relative.query;
+					} else {
+						target.query = base.query;
+					}
+				} else {
+					if (relative.path.charAt(0) === "/") {
+						target.path = URI.removeDotSegments(relative.path);
+					} else {
+						if (base.authority !== undefined && !base.path) {
+							target.path = "/" + relative.path;
+						} else if (!base.path) {
+							target.path = relative.path;
+						} else {
+							target.path = base.path.slice(0, base.path.lastIndexOf("/") + 1) + relative.path;
+						}
+						target.path = URI.removeDotSegments(target.path);
+					}
+					target.query = relative.query;
+				}
+				target.authority = base.authority;
+				target.userinfo = base.userinfo;
+				target.host = base.host;
+				target.port = base.port;
+			}
+			target.scheme = base.scheme;
+		}
+		
+		target.fragment = relative.fragment;
+		
+		return target;
+	};
+	
+	/**
+	 * @param {string} baseURI
+	 * @param {string} relativeURI
+	 * @param {Options} [options]
+	 * @returns {string}
+	 */
+	
+	URI.resolve = function (baseURI, relativeURI, options) {
+		return URI.serialize(URI.resolveComponents(URI.parse(baseURI, options), URI.parse(relativeURI, options), options, true), options);
+	};
+	
+	/**
+	 * @param {string|URIComponents} uri
+	 * @param {Options} options
+	 * @returns {string|URIComponents}
+	 */
+	
+	URI.normalize = function (uri, options) {
+		if (typeof uri === "string") {
+			return URI.serialize(URI.parse(uri, options), options);
+		} else if (typeOf(uri) === "object") {
+			return URI.parse(URI.serialize(uri, options), options);
+		}
+		
+		return uri;
+	};
+	
+	/**
+	 * @param {string|URIComponents} uriA
+	 * @param {string|URIComponents} uriB
+	 * @param {Options} options
+	 */
+	
+	URI.equal = function (uriA, uriB, options) {
+		if (typeof uriA === "string") {
+			uriA = URI.serialize(URI.parse(uriA, options), options);
+		} else if (typeOf(uriA) === "object") {
+			uriA = URI.serialize(uriA, options);
+		}
+		
+		if (typeof uriB === "string") {
+			uriB = URI.serialize(URI.parse(uriB, options), options);
+		} else if (typeOf(uriB) === "object") {
+			uriB = URI.serialize(uriB, options);
+		}
+		
+		return uriA === uriB;
+	};
+	
+	/**
+	 * @param {string} str
+	 * @returns {string}
+	 */
+	
+	URI.escapeComponent = function (str) {
+		return str && str.toString().replace(ESCAPE, pctEncChar);
+	};
+	
+	/**
+	 * @param {string} str
+	 * @returns {string}
+	 */
+	
+	URI.unescapeComponent = function (str) {
+		return str && str.toString().replace(PCT_ENCODEDS, pctDecChars);
+	};
+	
+	//export API
+	exports.pctEncChar = pctEncChar;
+	exports.pctDecChars = pctDecChars;
+	exports.Components = Components;
+	exports.URI = URI;
+	
+	//name-safe export API
+	exports["pctEncChar"] = pctEncChar;
+	exports["pctDecChars"] = pctDecChars;
+	exports["Components"] = Components;
+	exports["URI"] = {
+		"SCHEMES" : URI.SCHEMES,
+		"parse" : URI.parse,
+		"removeDotSegments" : URI.removeDotSegments,
+		"serialize" : URI.serialize,
+		"resolveComponents" : URI.resolveComponents,
+		"resolve" : URI.resolve,
+		"normalize" : URI.normalize,
+		"equal" : URI.equal,
+		"escapeComponent" : URI.escapeComponent,
+		"unescapeComponent" : URI.unescapeComponent
+	};
+	
+}());
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/package.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/package.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/package.json	(revision 505)
@@ -0,0 +1,46 @@
+{
+  "name": "JSV",
+  "version": "4.0.2",
+  "description": "A JavaScript implementation of a extendable, fully compliant JSON Schema validator.",
+  "homepage": "http://github.com/garycourt/JSV",
+  "author": {
+    "name": "Gary Court",
+    "email": "gary.court@gmail.com"
+  },
+  "licenses": [
+    {
+      "type": "FreeBSD",
+      "url": "http://github.com/garycourt/JSV/raw/master/jsv.js"
+    }
+  ],
+  "maintainers": [
+    {
+      "name": "Gary Court",
+      "email": "gary.court@gmail.com"
+    }
+  ],
+  "bugs": {
+    "url": "http://github.com/garycourt/JSV/issues"
+  },
+  "repositories": [
+    {
+      "type": "git",
+      "url": "git://github.com/garycourt/JSV.git"
+    }
+  ],
+  "dependencies": {},
+  "main": "lib/jsv.js",
+  "keywords": [
+    "json",
+    "schema",
+    "validator"
+  ],
+  "readme": "JSV: JSON Schema Validator\r\n==========================\r\n\r\nJSV is a JavaScript implementation of a extendable, fully compliant JSON Schema validator with the following features:\r\n\r\n*\tThe fastest extendable JSON validator available!\r\n*\tComplete implementation of all current JSON Schema draft revisions.\r\n*\tSupports creating individual environments (sandboxes) that validate using a particular schema specification.\r\n*\tProvides an intuitive API for creating new validating schema attributes, or whole new custom schema schemas.\r\n*\tSupports `self`, `full` and `describedby` hyper links.\r\n*\tValidates itself, and is bootstrapped from the JSON Schema schemas.\r\n*\tIncludes over 1100 unit tests for testing all parts of the specifications.\r\n*\tWorks in all ECMAScript 3 environments, including all web browsers and Node.js.\r\n*\tLicensed under the FreeBSD License, a very open license.\r\n\r\n## It's a what?\r\n\r\n**JSON** (an acronym for **JavaScript Object Notation**) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of JavaScript/ECMA-262 3rd Edition. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages. (C, C++, C#, Java, JavaScript, Perl, Python, ...) These properties make JSON an ideal data-interchange language. \\[[json.org](http://json.org)\\]\r\n\r\n**JSON Schema** is a JSON media type for defining the structure of JSON data.  JSON Schema provides a contract for what JSON data is required for a given application and how to interact with it.  JSON Schema is intended to define validation, documentation, hyperlink navigation, and interaction control of JSON data. \\[[draft-zyp-json-schema-02](http://tools.ietf.org/html/draft-zyp-json-schema-02)\\]\r\n\r\nA **JSON validator** is a program that takes JSON data and, with a provided schema, will ensure that the provided JSON is structured in the way defined by the schema. This ensures that if validation has passed, the JSON instance is guaranteed to be in the expected format. It will also provide an explanation on why a particular instance failed validation.\r\n\r\n## Example\r\n\r\nHere's an example on how to validate some JSON with JSV:\r\n\r\n\tvar JSV = require(\"./jsv\").JSV;\r\n\tvar json = {};\r\n\tvar schema = {\"type\" : \"object\"};\r\n\tvar env = JSV.createEnvironment();\r\n\tvar report = env.validate(json, schema);\r\n\t\r\n\tif (report.errors.length === 0) {\r\n\t\t//JSON is valid against the schema\r\n\t}\r\n\r\nAnother example; for the following test:\r\n\r\n\tenv.validate({ a : 1 }, { type : 'object', properties : { a : { type : 'string' }} });\r\n\r\nThe generated report would look like:\r\n\r\n\t{\r\n\t\terrors : [\r\n\t\t\t{\r\n\t\t\t\tmessage : \"Instance is not a required type\",\r\n\t\t\t\turi : \"urn:uuid:74b843b5-3aa4-44e9-b7bc-f555936fa823#/a\",\r\n\t\t\t\tschemaUri : \"urn:uuid:837fdefe-3bd4-4993-9a20-38a6a0624d5a#/properties/a\",\r\n\t\t\t\tattribute : \"type\",\r\n\t\t\t\tdetails : [\"string\"]\r\n\t\t\t}\r\n\t\t],\r\n\t\tvalidated : {\r\n\t\t\t\"urn:uuid:74b843b5-3aa4-44e9-b7bc-f555936fa823#\" : [\"urn:uuid:837fdefe-3bd4-4993-9a20-38a6a0624d5a#\"],\r\n\t\t\t\"urn:uuid:74b843b5-3aa4-44e9-b7bc-f555936fa823#/a\" : [\"urn:uuid:837fdefe-3bd4-4993-9a20-38a6a0624d5a#/properties/a\"],\r\n\t\t\t//...\r\n\t\t},\r\n\t\tinstance : [JSONInstance object],\r\n\t\tschema : [JSONSchema object],\r\n\t\tschemaSchema : [JSONSchema object]\r\n\t}\r\n\r\n## Environments & JSON Schema support\r\n\r\nThere is no one way to validate JSON, just like there is no one way to validate XML. Even the JSON Schema specification has gone through several revisions which are not 100% backwards compatible with each other. To solve the issue of using numerous schemas already written to older specifications, JSV provides customizable environments to validate your JSON within. \r\n\r\nWhen creating an environment, you can optionally specify how you want that environment to behave. For example, this allows you to specify which version of the JSON Schema you would like the environment to behave like. JSV already provides the following environments:\r\n\r\n*\t`json-schema-draft-03`\r\n\r\n\tA complete implementation of the [third revision](http://tools.ietf.org/html/draft-zyp-json-schema-03) of the JSON Schema specification. This is the same as the second revision, except:\r\n\t\r\n\t*\t\"optional\" has been replaced by \"required\"\r\n\t*\t\"requires\" has been replaced by \"dependencies\"\r\n\t*\t\"minimumCanEqual\"/\"maximumCanEqual\" has been replaced by \"exclusiveMinimum\"/\"exclusiveMaximum\"\r\n\t*\t\"self\"/\"full\"/\"describedby\" links have been moved to the core schema, and are provided by \"id\"/\"$ref\"/\"$schema\"\r\n\t*\tAdds the attributes \"patternSchema\" and \"additionalItems\"\r\n\t*\tDeprecates the attributes \"root\" and \"alternate\"\r\n\t*\tSchemas are now versioned under the URIs \"http://json-schema.org/draft-XX/\", where XX is the draft number\r\n\t\r\n\tIn addition to this, all schemas from the previous versions of the JSON Schema draft are included in this environment, and are backwards compatible (where possible) with it's previous version.\r\n\tThis backwards compatibility can be disabled with the environment option `strict` is set to `true`.\r\n\t\r\n\tThis is currently the default environment.\r\n\r\n*\t`json-schema-draft-02`\r\n\r\n\tA complete implementation of the [second revision](http://tools.ietf.org/html/draft-zyp-json-schema-02) of the JSON Schema specification. This is the same as the first revision, except adds:\r\n\t\r\n\t*\t\"targetSchema\" attribute\r\n\t*\tslash-delimited fragment identifiers, which is now the default behavior\r\n\t\r\n*\t`json-schema-draft-01`\r\n\r\n\tA complete implementation of the [first revision](http://tools.ietf.org/html/draft-zyp-json-schema-01) of the JSON Schema specification, which is exactly the same as the [original draft](http://tools.ietf.org/html/draft-zyp-json-schema-00).\r\n\t\r\n\tUsers with JSON Schemas written for JSV < v2.1 should use this environment for it's dot-delimited fragment identifiers.\r\n\r\nEnvironments can also be customized and registered for multiple reuse. (See the section on *Extending Environments* below)\r\n\r\n## Validation API\r\n\r\nThe following methods are used to validate JSON data:\r\n\r\n### JSV.createEnvironment(*environmentID?*) *->* *&lt;Environment&gt;*\r\n\r\n*\t*environmentID* *&lt;String&gt;* *(optional)* The ID of the environment to clone a new Environment from\r\n\r\nCreates an new environment that is a copy of the Environment registered with the provided `environmentID`. If no ID is provided, the latest registered JSON Schema is used as the template.\r\n\r\nSee the above section on *Environments* for the default available Environment IDs.\r\n\r\n### *&lt;Environment&gt;*.validate(*json*, *schema*) *->* *&lt;Report&gt;*\r\n\r\n*\t*json* *&lt;Any|JSONInstance&gt;* The JSON data to validate\r\n*\t*schema* *&lt;Object|JSONInstance|JSONSchema&gt;* The schema to validate the JSON with\r\n\r\nValidates both the schema and the JSON, and returns a report of the validation.\r\n\r\n### *&lt;Report&gt;*.errors *&lt;Array&gt;*\r\n\r\nAn array of error objects from the validation process; each object represents a restriction check that failed. If the array is empty, the validation passed.\r\n\r\nThe error objects have the following schema:\r\n\r\n\t{\r\n\t\t\"type\" : \"object\",\r\n\t\t\"properties\" : {\r\n\t\t\t\"message\" : {\r\n\t\t\t\t\"description\" : \"A user-friendly error message about what failed to validate.\",\r\n\t\t\t\t\"type\" : \"string\"\r\n\t\t\t},\r\n\t\t\t\"uri\" : {\r\n\t\t\t\t\"description\" : \"URI of the instance that failed to validate.\",\r\n\t\t\t\t\"type\" : \"string\",\r\n\t\t\t\t\"format\" : \"uri\"\r\n\t\t\t},\r\n\t\t\t\"schemaUri\" : {\r\n\t\t\t\t\"description\" : \"URI of the schema instance that reported the error.\",\r\n\t\t\t\t\"type\" : \"string\",\r\n\t\t\t\t\"format\" : \"uri\"\r\n\t\t\t},\r\n\t\t\t\"attribute\" : {\r\n\t\t\t\t\"description\" : \"The attribute of the schema instance that failed to validate.\",\r\n\t\t\t\t\"type\" : \"string\"\r\n\t\t\t},\r\n\t\t\t\"details\" : {\r\n\t\t\t\t\"description\" : \"The value of the schema attribute that failed to validate.\",\r\n\t\t\t\t\"type\" : \"any\"\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n## API Documentation\r\n\r\nThere are many more APIs available for JSV, too many to detail here. The complete API and documentation can be found in the `docs` directory.\r\n\r\n## Extending Environments\r\n\r\nJSV provides an API for extending available schemas, adding new attributes and validation to currently existing schemas, and creating whole new Environments with unique behaviors. \r\nIn fact, in the [eat-your-own-dog-food](http://en.wikipedia.org/wiki/Eating_your_own_dog_food) approach, all the default JSON Schema environments available are implemented using this API. \r\nDetails and instruction on this feature will be provided at a later date.\r\n\r\n## Installation\r\n\r\nThe preferred method of installation is to download the latest copy from GitHub:\r\n\r\n\tgit clone git://github.com/garycourt/JSV.git\r\n\r\nIf you are using JSV within Node.js, you can quickly install it using:\r\n\r\n\tnpm install JSV\r\n\r\nThen you can reference it within your application using:\r\n\r\n\tvar JSV = require(\"JSV\").JSV;\r\n\r\n## Unit Tests\r\n\r\nOpen `tests/index.html` and `tests/index3.html` in your web browser to run the unit tests.\r\n\r\nCurrently, the unit tests can not be run in Node.js.\r\n\r\n## License\r\n\r\n\tCopyright 2010 Gary Court. All rights reserved.\r\n\t\r\n\tRedistribution and use in source and binary forms, with or without modification, are\r\n\tpermitted provided that the following conditions are met:\r\n\t\r\n\t   1. Redistributions of source code must retain the above copyright notice, this list of\r\n\t      conditions and the following disclaimer.\r\n\t\r\n\t   2. Redistributions in binary form must reproduce the above copyright notice, this list\r\n\t      of conditions and the following disclaimer in the documentation and/or other materials\r\n\t      provided with the distribution.\r\n\t\r\n\tTHIS SOFTWARE IS PROVIDED BY GARY COURT ``AS IS'' AND ANY EXPRESS OR IMPLIED\r\n\tWARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\r\n\tFITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR\r\n\tCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\r\n\tCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\r\n\tSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\r\n\tANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\r\n\tNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\r\n\tADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r\n\t\r\n\tThe views and conclusions contained in the software and documentation are those of the\r\n\tauthors and should not be interpreted as representing official policies, either expressed\r\n\tor implied, of Gary Court or the JSON Schema specification.",
+  "readmeFilename": "README.md",
+  "repository": {
+    "type": "git",
+    "url": "git://github.com/garycourt/JSV.git"
+  },
+  "_id": "JSV@4.0.2",
+  "_from": "JSV@>= 4.0.x"
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/empty-schema.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/empty-schema.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/empty-schema.json	(revision 505)
@@ -0,0 +1,1 @@
+{}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/hyper-schema.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/hyper-schema.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/hyper-schema.json	(revision 505)
@@ -0,0 +1,68 @@
+{
+	"$schema" : "http://json-schema.org/hyper-schema#",
+	"id" : "http://json-schema.org/hyper-schema#",
+
+	"properties" : {
+		"links" : {
+			"type" : "array",
+			"items" : {"$ref" : "http://json-schema.org/links#"},
+			"optional" : true
+		},
+		
+		"fragmentResolution" : {
+			"type" : "string",
+			"optional" : true,
+			"default" : "dot-delimited"
+		},
+		
+		"root" : {
+			"type" : "boolean",
+			"optional" : true,
+			"default" : false
+		},
+		
+		"readonly" : {
+			"type" : "boolean",
+			"optional" : true,
+			"default" : false
+		},
+		
+		"pathStart" : {
+			"type" : "string",
+			"optional" : true,
+			"format" : "uri"
+		},
+		
+		"mediaType" : {
+			"type" : "string",
+			"optional" : true,
+			"format" : "media-type"
+		},
+		
+		"alternate" : {
+			"type" : "array",
+			"items" : {"$ref" : "#"},
+			"optional" : true
+		}
+	},
+	
+	"links" : [
+		{
+			"href" : "{$ref}",
+			"rel" : "full"
+		},
+		
+		{
+			"href" : "{$schema}",
+			"rel" : "describedby"
+		},
+		
+		{
+			"href" : "{id}",
+			"rel" : "self"
+		}
+	],
+	
+	"fragmentResolution" : "dot-delimited",
+	"extends" : {"$ref" : "http://json-schema.org/schema#"}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/json-ref.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/json-ref.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/json-ref.json	(revision 505)
@@ -0,0 +1,26 @@
+{
+	"$schema" : "http://json-schema.org/hyper-schema#",
+	"id" : "http://json-schema.org/json-ref#",
+	
+	"items" : {"$ref" : "#"},
+	"additionalProperties" : {"$ref" : "#"},
+	
+	"links" : [
+		{
+			"href" : "{$ref}",
+			"rel" : "full"
+		},
+		
+		{
+			"href" : "{$schema}",
+			"rel" : "describedby"
+		},
+		
+		{
+			"href" : "{id}",
+			"rel" : "self"
+		}
+	],
+	
+	"fragmentResolution" : "dot-delimited"
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/links.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/links.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/links.json	(revision 505)
@@ -0,0 +1,33 @@
+{
+	"$schema" : "http://json-schema.org/hyper-schema#",
+	"id" : "http://json-schema.org/links#",
+	"type" : "object",
+	
+	"properties" : {
+		"href" : {
+			"type" : "string"
+		},
+		
+		"rel" : {
+			"type" : "string"
+		},
+		
+		"method" : {
+			"type" : "string",
+			"default" : "GET",
+			"optional" : true
+		},
+		
+		"enctype" : {
+			"type" : "string",
+			"requires" : "method",
+			"optional" : true
+		},
+		
+		"properties" : {
+			"type" : "object",
+			"additionalProperties" : {"$ref" : "http://json-schema.org/hyper-schema#"},
+			"optional" : true
+		}
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/schema.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/schema.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-01/schema.json	(revision 505)
@@ -0,0 +1,155 @@
+{
+	"$schema" : "http://json-schema.org/hyper-schema#",
+	"id" : "http://json-schema.org/schema#",
+	"type" : "object",
+	
+	"properties" : {
+		"type" : {
+			"type" : ["string", "array"],
+			"items" : {
+				"type" : ["string", {"$ref" : "#"}]
+			},
+			"optional" : true,
+			"default" : "any"
+		},
+		
+		"properties" : {
+			"type" : "object",
+			"additionalProperties" : {"$ref" : "#"},
+			"optional" : true,
+			"default" : {}
+		},
+		
+		"items" : {
+			"type" : [{"$ref" : "#"}, "array"],
+			"items" : {"$ref" : "#"},
+			"optional" : true,
+			"default" : {}
+		},
+		
+		"optional" : {
+			"type" : "boolean",
+			"optional" : true,
+			"default" : false
+		},
+		
+		"additionalProperties" : {
+			"type" : [{"$ref" : "#"}, "boolean"],
+			"optional" : true,
+			"default" : {}
+		},
+		
+		"requires" : {
+			"type" : ["string", {"$ref" : "#"}],
+			"optional" : true
+		},
+		
+		"minimum" : {
+			"type" : "number",
+			"optional" : true
+		},
+		
+		"maximum" : {
+			"type" : "number",
+			"optional" : true
+		},
+		
+		"minimumCanEqual" : {
+			"type" : "boolean",
+			"optional" : true,
+			"requires" : "minimum",
+			"default" : true
+		},
+		
+		"maximumCanEqual" : {
+			"type" : "boolean",
+			"optional" : true,
+			"requires" : "maximum",
+			"default" : true
+		},
+		
+		"minItems" : {
+			"type" : "integer",
+			"optional" : true,
+			"minimum" : 0,
+			"default" : 0
+		},
+		
+		"maxItems" : {
+			"type" : "integer",
+			"optional" : true,
+			"minimum" : 0
+		},
+		
+		"pattern" : {
+			"type" : "string",
+			"optional" : true,
+			"format" : "regex"
+		},
+		
+		"minLength" : {
+			"type" : "integer",
+			"optional" : true,
+			"minimum" : 0,
+			"default" : 0
+		},
+		
+		"maxLength" : {
+			"type" : "integer",
+			"optional" : true
+		},
+		
+		"enum" : {
+			"type" : "array",
+			"optional" : true,
+			"minItems" : 1
+		},
+		
+		"title" : {
+			"type" : "string",
+			"optional" : true
+		},
+		
+		"description" : {
+			"type" : "string",
+			"optional" : true
+		},
+		
+		"format" : {
+			"type" : "string",
+			"optional" : true
+		},
+		
+		"contentEncoding" : {
+			"type" : "string",
+			"optional" : true
+		},
+		
+		"default" : {
+			"type" : "any",
+			"optional" : true
+		},
+		
+		"maxDecimal" : {
+			"type" : "integer",
+			"optional" : true,
+			"minimum" : 0
+		},
+		
+		"disallow" : {
+			"type" : ["string", "array"],
+			"items" : {"type" : "string"},
+			"optional" : true
+		},
+		
+		"extends" : {
+			"type" : [{"$ref" : "#"}, "array"],
+			"items" : {"$ref" : "#"},
+			"optional" : true,
+			"default" : {}
+		}
+	},
+	
+	"optional" : true,
+	"default" : {}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/empty-schema.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/empty-schema.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/empty-schema.json	(revision 505)
@@ -0,0 +1,1 @@
+{}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/hyper-schema.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/hyper-schema.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/hyper-schema.json	(revision 505)
@@ -0,0 +1,68 @@
+{
+	"$schema" : "http://json-schema.org/hyper-schema#",
+	"id" : "http://json-schema.org/hyper-schema#",
+
+	"properties" : {
+		"links" : {
+			"type" : "array",
+			"items" : {"$ref" : "http://json-schema.org/links#"},
+			"optional" : true
+		},
+		
+		"fragmentResolution" : {
+			"type" : "string",
+			"optional" : true,
+			"default" : "slash-delimited"
+		},
+		
+		"root" : {
+			"type" : "boolean",
+			"optional" : true,
+			"default" : false
+		},
+		
+		"readonly" : {
+			"type" : "boolean",
+			"optional" : true,
+			"default" : false
+		},
+		
+		"pathStart" : {
+			"type" : "string",
+			"optional" : true,
+			"format" : "uri"
+		},
+		
+		"mediaType" : {
+			"type" : "string",
+			"optional" : true,
+			"format" : "media-type"
+		},
+		
+		"alternate" : {
+			"type" : "array",
+			"items" : {"$ref" : "#"},
+			"optional" : true
+		}
+	},
+	
+	"links" : [
+		{
+			"href" : "{$ref}",
+			"rel" : "full"
+		},
+		
+		{
+			"href" : "{$schema}",
+			"rel" : "describedby"
+		},
+		
+		{
+			"href" : "{id}",
+			"rel" : "self"
+		}
+	],
+	
+	"fragmentResolution" : "slash-delimited",
+	"extends" : {"$ref" : "http://json-schema.org/schema#"}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/json-ref.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/json-ref.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/json-ref.json	(revision 505)
@@ -0,0 +1,26 @@
+{
+	"$schema" : "http://json-schema.org/hyper-schema#",
+	"id" : "http://json-schema.org/json-ref#",
+	
+	"items" : {"$ref" : "#"},
+	"additionalProperties" : {"$ref" : "#"},
+	
+	"links" : [
+		{
+			"href" : "{$ref}",
+			"rel" : "full"
+		},
+		
+		{
+			"href" : "{$schema}",
+			"rel" : "describedby"
+		},
+		
+		{
+			"href" : "{id}",
+			"rel" : "self"
+		}
+	],
+	
+	"fragmentResolution" : "dot-delimited"
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/links.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/links.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/links.json	(revision 505)
@@ -0,0 +1,35 @@
+{
+	"$schema" : "http://json-schema.org/hyper-schema#",
+	"id" : "http://json-schema.org/links#",
+	"type" : "object",
+	
+	"properties" : {
+		"href" : {
+			"type" : "string"
+		},
+		
+		"rel" : {
+			"type" : "string"
+		},
+		
+		"targetSchema" : {"$ref" : "http://json-schema.org/hyper-schema#"},
+		
+		"method" : {
+			"type" : "string",
+			"default" : "GET",
+			"optional" : true
+		},
+		
+		"enctype" : {
+			"type" : "string",
+			"requires" : "method",
+			"optional" : true
+		},
+		
+		"properties" : {
+			"type" : "object",
+			"additionalProperties" : {"$ref" : "http://json-schema.org/hyper-schema#"},
+			"optional" : true
+		}
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/schema.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/schema.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-02/schema.json	(revision 505)
@@ -0,0 +1,165 @@
+{
+	"$schema" : "http://json-schema.org/hyper-schema#",
+	"id" : "http://json-schema.org/schema#",
+	"type" : "object",
+	
+	"properties" : {
+		"type" : {
+			"type" : ["string", "array"],
+			"items" : {
+				"type" : ["string", {"$ref" : "#"}]
+			},
+			"optional" : true,
+			"uniqueItems" : true,
+			"default" : "any"
+		},
+		
+		"properties" : {
+			"type" : "object",
+			"additionalProperties" : {"$ref" : "#"},
+			"optional" : true,
+			"default" : {}
+		},
+		
+		"items" : {
+			"type" : [{"$ref" : "#"}, "array"],
+			"items" : {"$ref" : "#"},
+			"optional" : true,
+			"default" : {}
+		},
+		
+		"optional" : {
+			"type" : "boolean",
+			"optional" : true,
+			"default" : false
+		},
+		
+		"additionalProperties" : {
+			"type" : [{"$ref" : "#"}, "boolean"],
+			"optional" : true,
+			"default" : {}
+		},
+		
+		"requires" : {
+			"type" : ["string", {"$ref" : "#"}],
+			"optional" : true
+		},
+		
+		"minimum" : {
+			"type" : "number",
+			"optional" : true
+		},
+		
+		"maximum" : {
+			"type" : "number",
+			"optional" : true
+		},
+		
+		"minimumCanEqual" : {
+			"type" : "boolean",
+			"optional" : true,
+			"requires" : "minimum",
+			"default" : true
+		},
+		
+		"maximumCanEqual" : {
+			"type" : "boolean",
+			"optional" : true,
+			"requires" : "maximum",
+			"default" : true
+		},
+		
+		"minItems" : {
+			"type" : "integer",
+			"optional" : true,
+			"minimum" : 0,
+			"default" : 0
+		},
+		
+		"maxItems" : {
+			"type" : "integer",
+			"optional" : true,
+			"minimum" : 0
+		},
+		
+		"uniqueItems" : {
+			"type" : "boolean",
+			"optional" : true,
+			"default" : false
+		},
+		
+		"pattern" : {
+			"type" : "string",
+			"optional" : true,
+			"format" : "regex"
+		},
+		
+		"minLength" : {
+			"type" : "integer",
+			"optional" : true,
+			"minimum" : 0,
+			"default" : 0
+		},
+		
+		"maxLength" : {
+			"type" : "integer",
+			"optional" : true
+		},
+		
+		"enum" : {
+			"type" : "array",
+			"optional" : true,
+			"minItems" : 1,
+			"uniqueItems" : true
+		},
+		
+		"title" : {
+			"type" : "string",
+			"optional" : true
+		},
+		
+		"description" : {
+			"type" : "string",
+			"optional" : true
+		},
+		
+		"format" : {
+			"type" : "string",
+			"optional" : true
+		},
+		
+		"contentEncoding" : {
+			"type" : "string",
+			"optional" : true
+		},
+		
+		"default" : {
+			"type" : "any",
+			"optional" : true
+		},
+		
+		"divisibleBy" : {
+			"type" : "number",
+			"minimum" : 0,
+			"minimumCanEqual" : false,
+			"optional" : true
+		},
+		
+		"disallow" : {
+			"type" : ["string", "array"],
+			"items" : {"type" : "string"},
+			"optional" : true,
+			"uniqueItems" : true
+		},
+		
+		"extends" : {
+			"type" : [{"$ref" : "#"}, "array"],
+			"items" : {"$ref" : "#"},
+			"optional" : true,
+			"default" : {}
+		}
+	},
+	
+	"optional" : true,
+	"default" : {}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-03/hyper-schema.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-03/hyper-schema.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-03/hyper-schema.json	(revision 505)
@@ -0,0 +1,60 @@
+{
+	"$schema" : "http://json-schema.org/draft-03/hyper-schema#",
+	"extends" : {"$ref" : "http://json-schema.org/draft-03/schema#"},
+	"id" : "http://json-schema.org/draft-03/hyper-schema#",
+
+	"properties" : {
+		"links" : {
+			"type" : "array",
+			"items" : {"$ref" : "http://json-schema.org/draft-03/links#"}
+		},
+		
+		"fragmentResolution" : {
+			"type" : "string",
+			"default" : "slash-delimited"
+		},
+		
+		"root" : {
+			"type" : "boolean",
+			"default" : false
+		},
+		
+		"readonly" : {
+			"type" : "boolean",
+			"default" : false
+		},
+		
+		"contentEncoding" : {
+			"type" : "string"
+		},
+		
+		"pathStart" : {
+			"type" : "string",
+			"format" : "uri"
+		},
+		
+		"mediaType" : {
+			"type" : "string",
+			"format" : "media-type"
+		}
+	},
+	
+	"links" : [
+		{
+			"href" : "{id}",
+			"rel" : "self"
+		},
+		
+		{
+			"href" : "{$ref}",
+			"rel" : "full"
+		},
+		
+		{
+			"href" : "{$schema}",
+			"rel" : "describedby"
+		}
+	],
+	
+	"fragmentResolution" : "slash-delimited"
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-03/json-ref.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-03/json-ref.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-03/json-ref.json	(revision 505)
@@ -0,0 +1,26 @@
+{
+	"$schema" : "http://json-schema.org/draft-03/hyper-schema#",
+	"id" : "http://json-schema.org/draft-03/json-ref#",
+	
+	"additionalItems" : {"$ref" : "#"},
+	"additionalProperties" : {"$ref" : "#"},
+	
+	"links" : [
+		{
+			"href" : "{id}",
+			"rel" : "self"
+		},
+		
+		{
+			"href" : "{$ref}",
+			"rel" : "full"
+		},
+		
+		{
+			"href" : "{$schema}",
+			"rel" : "describedby"
+		}
+	],
+	
+	"fragmentResolution" : "dot-delimited"
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-03/links.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-03/links.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-03/links.json	(revision 505)
@@ -0,0 +1,32 @@
+{
+	"$schema" : "http://json-schema.org/draft-03/hyper-schema#",
+	"id" : "http://json-schema.org/draft-03/links#",
+	"type" : "object",
+	
+	"properties" : {
+		"href" : {
+			"type" : "string",
+			"required" : true,
+			"format" : "link-description-object-template"
+		},
+		
+		"rel" : {
+			"type" : "string",
+			"required" : true
+		},
+		
+		"targetSchema" : {"$ref" : "http://json-schema.org/draft-03/hyper-schema#"},
+		
+		"method" : {
+			"type" : "string",
+			"default" : "GET"
+		},
+		
+		"enctype" : {
+			"type" : "string",
+			"requires" : "method"
+		},
+		
+		"schema" : {"$ref" : "http://json-schema.org/draft-03/hyper-schema#"}
+	}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-03/schema.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-03/schema.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/schemas/json-schema-draft-03/schema.json	(revision 505)
@@ -0,0 +1,173 @@
+{
+	"$schema" : "http://json-schema.org/draft-03/schema#",
+	"id" : "http://json-schema.org/draft-03/schema#",
+	"type" : "object",
+	
+	"properties" : {
+		"type" : {
+			"type" : ["string", "array"],
+			"items" : {
+				"type" : ["string", {"$ref" : "#"}]
+			},
+			"uniqueItems" : true,
+			"default" : "any"
+		},
+		
+		"properties" : {
+			"type" : "object",
+			"additionalProperties" : {"$ref" : "#"},
+			"default" : {}
+		},
+		
+		"patternProperties" : {
+			"type" : "object",
+			"additionalProperties" : {"$ref" : "#"},
+			"default" : {}
+		},
+		
+		"additionalProperties" : {
+			"type" : [{"$ref" : "#"}, "boolean"],
+			"default" : {}
+		},
+		
+		"items" : {
+			"type" : [{"$ref" : "#"}, "array"],
+			"items" : {"$ref" : "#"},
+			"default" : {}
+		},
+		
+		"additionalItems" : {
+			"type" : [{"$ref" : "#"}, "boolean"],
+			"default" : {}
+		},
+		
+		"required" : {
+			"type" : "boolean",
+			"default" : false
+		},
+		
+		"dependencies" : {
+			"type" : "object",
+			"additionalProperties" : {
+				"type" : ["string", "array", {"$ref" : "#"}],
+				"items" : {
+					"type" : "string"
+				}
+			},
+			"default" : {}
+		},
+		
+		"minimum" : {
+			"type" : "number"
+		},
+		
+		"maximum" : {
+			"type" : "number"
+		},
+		
+		"exclusiveMinimum" : {
+			"type" : "boolean",
+			"default" : false
+		},
+		
+		"exclusiveMaximum" : {
+			"type" : "boolean",
+			"default" : false
+		},
+		
+		"minItems" : {
+			"type" : "integer",
+			"minimum" : 0,
+			"default" : 0
+		},
+		
+		"maxItems" : {
+			"type" : "integer",
+			"minimum" : 0
+		},
+		
+		"uniqueItems" : {
+			"type" : "boolean",
+			"default" : false
+		},
+		
+		"pattern" : {
+			"type" : "string",
+			"format" : "regex"
+		},
+		
+		"minLength" : {
+			"type" : "integer",
+			"minimum" : 0,
+			"default" : 0
+		},
+		
+		"maxLength" : {
+			"type" : "integer"
+		},
+		
+		"enum" : {
+			"type" : "array",
+			"minItems" : 1,
+			"uniqueItems" : true
+		},
+		
+		"default" : {
+			"type" : "any"
+		},
+		
+		"title" : {
+			"type" : "string"
+		},
+		
+		"description" : {
+			"type" : "string"
+		},
+		
+		"format" : {
+			"type" : "string"
+		},
+		
+		"divisibleBy" : {
+			"type" : "number",
+			"minimum" : 0,
+			"exclusiveMinimum" : true
+		},
+		
+		"disallow" : {
+			"type" : ["string", "array"],
+			"items" : {
+				"type" : ["string", {"$ref" : "#"}]
+			},
+			"uniqueItems" : true
+		},
+		
+		"extends" : {
+			"type" : [{"$ref" : "#"}, "array"],
+			"items" : {"$ref" : "#"},
+			"default" : {}
+		},
+		
+		"id" : {
+			"type" : "string",
+			"format" : "uri"
+		},
+		
+		"$ref" : {
+			"type" : "string",
+			"format" : "uri"
+		},
+		
+		"$schema" : {
+			"type" : "string",
+			"format" : "uri"
+		}
+	},
+	
+	"dependencies" : {
+		"exclusiveMinimum" : "minimum",
+		"exclusiveMaximum" : "maximum"
+	},
+	
+	"default" : {}
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/index.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/index.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/index.html	(revision 505)
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+      "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link rel="stylesheet" href="qunit.css" type="text/css"/>
+    <script type="text/javascript" src="qunit.js"></script>
+    <script type="text/javascript" src="../lib/uri/uri.js"></script>
+    <script type="text/javascript" src="../lib/uri/schemes/urn.js"></script>
+    <script type="text/javascript" src="../lib/jsv.js"></script>
+    <script type="text/javascript" src="../lib/json-schema-draft-01.js"></script>
+    <script type="text/javascript" src="../lib/json-schema-draft-02.js"></script>
+    <script type="text/javascript" src="tests.js"></script>
+  </head>
+  <body>
+    <h1 id="qunit-header">JSON Schema Validator Test Suite</h1>
+    <h2 id="qunit-banner"></h2>
+    <div id="qunit-testrunner-toolbar"></div>
+    <h2 id="qunit-userAgent"></h2>
+    <ol id="qunit-tests"></ol>
+  </body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/index3.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/index3.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/index3.html	(revision 505)
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+      "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link rel="stylesheet" href="qunit.css" type="text/css"/>
+    <script type="text/javascript" src="qunit.js"></script>
+    <script type="text/javascript" src="../lib/uri/uri.js"></script>
+    <script type="text/javascript" src="../lib/uri/schemes/urn.js"></script>
+    <script type="text/javascript" src="../lib/jsv.js"></script>
+    <script type="text/javascript" src="../lib/json-schema-draft-03.js"></script>
+    <script type="text/javascript" src="tests3.js"></script>
+  </head>
+  <body>
+    <h1 id="qunit-header">JSON Schema Validator Test Suite</h1>
+    <h2 id="qunit-banner"></h2>
+    <div id="qunit-testrunner-toolbar"></div>
+    <h2 id="qunit-userAgent"></h2>
+    <ol id="qunit-tests"></ol>
+  </body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/index3b.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/index3b.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/index3b.html	(revision 505)
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+      "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <link rel="stylesheet" href="qunit.css" type="text/css"/>
+    <script type="text/javascript" src="qunit.js"></script>
+    <script type="text/javascript" src="../lib/uri/uri.js"></script>
+    <script type="text/javascript" src="../lib/uri/schemes/urn.js"></script>
+    <script type="text/javascript" src="../lib/jsv.js"></script>
+    <script type="text/javascript" src="../lib/json-schema-draft-03.js"></script>
+    <script type="text/javascript" src="tests3b.js"></script>
+  </head>
+  <body>
+    <h1 id="qunit-header">JSON Schema Validator Tests by dougtreder</h1>
+    <h2 id="qunit-banner"></h2>
+    <div id="qunit-testrunner-toolbar"></div>
+    <h2 id="qunit-userAgent"></h2>
+    <ol id="qunit-tests"></ol>
+  </body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/qunit.css
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/qunit.css	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/qunit.css	(revision 505)
@@ -0,0 +1,118 @@
+ol#qunit-tests {
+	font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
+	margin:0;
+	padding:0;
+	list-style-position:inside;
+
+	font-size: smaller;
+}
+ol#qunit-tests li{
+	padding:0.4em 0.5em 0.4em 2.5em;
+	border-bottom:1px solid #fff;
+	font-size:small;
+	list-style-position:inside;
+}
+ol#qunit-tests li ol{
+	box-shadow: inset 0px 2px 13px #999;
+	-moz-box-shadow: inset 0px 2px 13px #999;
+	-webkit-box-shadow: inset 0px 2px 13px #999;
+	margin-top:0.5em;
+	margin-left:0;
+	padding:0.5em;
+	background-color:#fff;
+	border-radius:15px;
+	-moz-border-radius: 15px;
+	-webkit-border-radius: 15px;
+}
+ol#qunit-tests li li{
+	border-bottom:none;
+	margin:0.5em;
+	background-color:#fff;
+	list-style-position: inside;
+	padding:0.4em 0.5em 0.4em 0.5em;
+}
+
+ol#qunit-tests li li.pass{
+	border-left:26px solid #C6E746;
+	background-color:#fff;
+	color:#5E740B;
+	}
+ol#qunit-tests li li.fail{
+	border-left:26px solid #EE5757;
+	background-color:#fff;
+	color:#710909;
+}
+ol#qunit-tests li.pass{
+	background-color:#D2E0E6;
+	color:#528CE0;
+}
+ol#qunit-tests li.fail{
+	background-color:#EE5757;
+	color:#000;
+}
+ol#qunit-tests li strong {
+	cursor:pointer;
+}
+h1#qunit-header{
+	background-color:#0d3349;
+	margin:0;
+	padding:0.5em 0 0.5em 1em;
+	color:#fff;
+	font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
+	border-top-right-radius:15px;
+	border-top-left-radius:15px;
+	-moz-border-radius-topright:15px;
+	-moz-border-radius-topleft:15px;
+	-webkit-border-top-right-radius:15px;
+	-webkit-border-top-left-radius:15px;
+	text-shadow: rgba(0, 0, 0, 0.5) 4px 4px 1px;
+}
+h2#qunit-banner{
+	font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
+	height:5px;
+	margin:0;
+	padding:0;
+}
+h2#qunit-banner.qunit-pass{
+	background-color:#C6E746;
+}
+h2#qunit-banner.qunit-fail, #qunit-testrunner-toolbar {
+	background-color:#EE5757;
+}
+#qunit-testrunner-toolbar {
+	font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
+	padding:0;
+	/*width:80%;*/
+	padding:0em 0 0.5em 2em;
+	font-size: small;
+}
+h2#qunit-userAgent {
+	font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
+	background-color:#2b81af;
+	margin:0;
+	padding:0;
+	color:#fff;
+	font-size: small;
+	padding:0.5em 0 0.5em 2.5em;
+	text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
+}
+p#qunit-testresult{
+	font-family:"Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
+	margin:0;
+	font-size: small;
+	color:#2b81af;
+	border-bottom-right-radius:15px;
+	border-bottom-left-radius:15px;
+	-moz-border-radius-bottomright:15px;
+	-moz-border-radius-bottomleft:15px;
+	-webkit-border-bottom-right-radius:15px;
+	-webkit-border-bottom-left-radius:15px;
+	background-color:#D2E0E6;
+	padding:0.5em 0.5em 0.5em 2.5em;
+}
+strong b.fail{
+	color:#710909;
+	}
+strong b.pass{
+	color:#5E740B;
+	}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/qunit.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/qunit.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/qunit.js	(revision 505)
@@ -0,0 +1,1042 @@
+/*
+ * QUnit - A JavaScript Unit Testing Framework
+ * 
+ * http://docs.jquery.com/QUnit
+ *
+ * Copyright (c) 2009 John Resig, Jörn Zaefferer
+ * Dual licensed under the MIT (MIT-LICENSE.txt)
+ * and GPL (GPL-LICENSE.txt) licenses.
+ */
+
+(function(window) {
+
+var QUnit = {
+
+	// Initialize the configuration options
+	init: function() {
+		config = {
+			stats: { all: 0, bad: 0 },
+			moduleStats: { all: 0, bad: 0 },
+			started: +new Date,
+			blocking: false,
+			autorun: false,
+			assertions: [],
+			filters: [],
+			queue: []
+		};
+
+		var tests = id("qunit-tests"),
+			banner = id("qunit-banner"),
+			result = id("qunit-testresult");
+
+		if ( tests ) {
+			tests.innerHTML = "";
+		}
+
+		if ( banner ) {
+			banner.className = "";
+		}
+
+		if ( result ) {
+			result.parentNode.removeChild( result );
+		}
+	},
+	
+	// call on start of module test to prepend name to all tests
+	module: function(name, testEnvironment) {
+		config.currentModule = name;
+
+		synchronize(function() {
+			if ( config.currentModule ) {
+				QUnit.moduleDone( config.currentModule, config.moduleStats.bad, config.moduleStats.all );
+			}
+
+			config.currentModule = name;
+			config.moduleTestEnvironment = testEnvironment;
+			config.moduleStats = { all: 0, bad: 0 };
+
+			QUnit.moduleStart( name, testEnvironment );
+		});
+	},
+
+	asyncTest: function(testName, expected, callback) {
+		if ( arguments.length === 2 ) {
+			callback = expected;
+			expected = 0;
+		}
+
+		QUnit.test(testName, expected, callback, true);
+	},
+	
+	test: function(testName, expected, callback, async) {
+		var name = testName, testEnvironment, testEnvironmentArg;
+
+		if ( arguments.length === 2 ) {
+			callback = expected;
+			expected = null;
+		}
+		// is 2nd argument a testEnvironment?
+		if ( expected && typeof expected === 'object') {
+			testEnvironmentArg =  expected;
+			expected = null;
+		}
+
+		if ( config.currentModule ) {
+			name = config.currentModule + " module: " + name;
+		}
+
+		if ( !validTest(name) ) {
+			return;
+		}
+
+		synchronize(function() {
+			QUnit.testStart( testName );
+
+			testEnvironment = extend({
+				setup: function() {},
+				teardown: function() {}
+			}, config.moduleTestEnvironment);
+			if (testEnvironmentArg) {
+				extend(testEnvironment,testEnvironmentArg);
+			}
+
+			// allow utility functions to access the current test environment
+			QUnit.current_testEnvironment = testEnvironment;
+			
+			config.assertions = [];
+			config.expected = expected;
+
+			try {
+				if ( !config.pollution ) {
+					saveGlobal();
+				}
+
+				testEnvironment.setup.call(testEnvironment);
+			} catch(e) {
+				QUnit.ok( false, "Setup failed on " + name + ": " + e.message );
+			}
+
+			if ( async ) {
+				QUnit.stop();
+			}
+
+			try {
+				callback.call(testEnvironment);
+			} catch(e) {
+				fail("Test " + name + " died, exception and test follows", e, callback);
+				QUnit.ok( false, "Died on test #" + (config.assertions.length + 1) + ": " + e.message );
+				// else next test will carry the responsibility
+				saveGlobal();
+
+				// Restart the tests if they're blocking
+				if ( config.blocking ) {
+					start();
+				}
+			}
+		});
+
+		synchronize(function() {
+			try {
+				checkPollution();
+				testEnvironment.teardown.call(testEnvironment);
+			} catch(e) {
+				QUnit.ok( false, "Teardown failed on " + name + ": " + e.message );
+			}
+
+			try {
+				QUnit.reset();
+			} catch(e) {
+				fail("reset() failed, following Test " + name + ", exception and reset fn follows", e, reset);
+			}
+
+			if ( config.expected && config.expected != config.assertions.length ) {
+				QUnit.ok( false, "Expected " + config.expected + " assertions, but " + config.assertions.length + " were run" );
+			}
+
+			var good = 0, bad = 0,
+				tests = id("qunit-tests");
+
+			config.stats.all += config.assertions.length;
+			config.moduleStats.all += config.assertions.length;
+
+			if ( tests ) {
+				var ol  = document.createElement("ol");
+				ol.style.display = "none";
+
+				for ( var i = 0; i < config.assertions.length; i++ ) {
+					var assertion = config.assertions[i];
+
+					var li = document.createElement("li");
+					li.className = assertion.result ? "pass" : "fail";
+					li.appendChild(document.createTextNode(assertion.message || "(no message)"));
+					ol.appendChild( li );
+
+					if ( assertion.result ) {
+						good++;
+					} else {
+						bad++;
+						config.stats.bad++;
+						config.moduleStats.bad++;
+					}
+				}
+
+				var b = document.createElement("strong");
+				b.innerHTML = name + " <b style='color:black;'>(<b class='fail'>" + bad + "</b>, <b class='pass'>" + good + "</b>, " + config.assertions.length + ")</b>";
+				
+				addEvent(b, "click", function() {
+					var next = b.nextSibling, display = next.style.display;
+					next.style.display = display === "none" ? "block" : "none";
+				});
+				
+				addEvent(b, "dblclick", function(e) {
+					var target = e && e.target ? e.target : window.event.srcElement;
+					if ( target.nodeName.toLowerCase() === "strong" ) {
+						var text = "", node = target.firstChild;
+
+						while ( node.nodeType === 3 ) {
+							text += node.nodeValue;
+							node = node.nextSibling;
+						}
+
+						text = text.replace(/(^\s*|\s*$)/g, "");
+
+						if ( window.location ) {
+							window.location.href = window.location.href.match(/^(.+?)(\?.*)?$/)[1] + "?" + encodeURIComponent(text);
+						}
+					}
+				});
+
+				var li = document.createElement("li");
+				li.className = bad ? "fail" : "pass";
+				li.appendChild( b );
+				li.appendChild( ol );
+				tests.appendChild( li );
+
+				if ( bad ) {
+					var toolbar = id("qunit-testrunner-toolbar");
+					if ( toolbar ) {
+						toolbar.style.display = "block";
+						id("qunit-filter-pass").disabled = null;
+						id("qunit-filter-missing").disabled = null;
+					}
+				}
+
+			} else {
+				for ( var i = 0; i < config.assertions.length; i++ ) {
+					if ( !config.assertions[i].result ) {
+						bad++;
+						config.stats.bad++;
+						config.moduleStats.bad++;
+					}
+				}
+			}
+
+			QUnit.testDone( testName, bad, config.assertions.length );
+
+			if ( !window.setTimeout && !config.queue.length ) {
+				done();
+			}
+		});
+
+		if ( window.setTimeout && !config.doneTimer ) {
+			config.doneTimer = window.setTimeout(function(){
+				if ( !config.queue.length ) {
+					done();
+				} else {
+					synchronize( done );
+				}
+			}, 13);
+		}
+	},
+	
+	/**
+	 * Specify the number of expected assertions to gurantee that failed test (no assertions are run at all) don't slip through.
+	 */
+	expect: function(asserts) {
+		config.expected = asserts;
+	},
+
+	/**
+	 * Asserts true.
+	 * @example ok( "asdfasdf".length > 5, "There must be at least 5 chars" );
+	 */
+	ok: function(a, msg) {
+		QUnit.log(a, msg);
+
+		config.assertions.push({
+			result: !!a,
+			message: msg
+		});
+	},
+
+	/**
+	 * Checks that the first two arguments are equal, with an optional message.
+	 * Prints out both actual and expected values.
+	 *
+	 * Prefered to ok( actual == expected, message )
+	 *
+	 * @example equal( format("Received {0} bytes.", 2), "Received 2 bytes." );
+	 *
+	 * @param Object actual
+	 * @param Object expected
+	 * @param String message (optional)
+	 */
+	equal: function(actual, expected, message) {
+		push(expected == actual, actual, expected, message);
+	},
+
+	notEqual: function(actual, expected, message) {
+		push(expected != actual, actual, expected, message);
+	},
+	
+	deepEqual: function(a, b, message) {
+		push(QUnit.equiv(a, b), a, b, message);
+	},
+
+	notDeepEqual: function(a, b, message) {
+		push(!QUnit.equiv(a, b), a, b, message);
+	},
+
+	strictEqual: function(actual, expected, message) {
+		push(expected === actual, actual, expected, message);
+	},
+
+	notStrictEqual: function(actual, expected, message) {
+		push(expected !== actual, actual, expected, message);
+	},
+	
+	start: function() {
+		// A slight delay, to avoid any current callbacks
+		if ( window.setTimeout ) {
+			window.setTimeout(function() {
+				if ( config.timeout ) {
+					clearTimeout(config.timeout);
+				}
+
+				config.blocking = false;
+				process();
+			}, 13);
+		} else {
+			config.blocking = false;
+			process();
+		}
+	},
+	
+	stop: function(timeout) {
+		config.blocking = true;
+
+		if ( timeout && window.setTimeout ) {
+			config.timeout = window.setTimeout(function() {
+				QUnit.ok( false, "Test timed out" );
+				QUnit.start();
+			}, timeout);
+		}
+	},
+	
+	/**
+	 * Resets the test setup. Useful for tests that modify the DOM.
+	 */
+	reset: function() {
+		if ( window.jQuery ) {
+			jQuery("#main").html( config.fixture );
+			jQuery.event.global = {};
+			jQuery.ajaxSettings = extend({}, config.ajaxSettings);
+		}
+	},
+	
+	/**
+	 * Trigger an event on an element.
+	 *
+	 * @example triggerEvent( document.body, "click" );
+	 *
+	 * @param DOMElement elem
+	 * @param String type
+	 */
+	triggerEvent: function( elem, type, event ) {
+		if ( document.createEvent ) {
+			event = document.createEvent("MouseEvents");
+			event.initMouseEvent(type, true, true, elem.ownerDocument.defaultView,
+				0, 0, 0, 0, 0, false, false, false, false, 0, null);
+			elem.dispatchEvent( event );
+
+		} else if ( elem.fireEvent ) {
+			elem.fireEvent("on"+type);
+		}
+	},
+	
+	// Safe object type checking
+	is: function( type, obj ) {
+		return Object.prototype.toString.call( obj ) === "[object "+ type +"]";
+	},
+	
+	// Logging callbacks
+	done: function(failures, total) {},
+	log: function(result, message) {},
+	testStart: function(name) {},
+	testDone: function(name, failures, total) {},
+	moduleStart: function(name, testEnvironment) {},
+	moduleDone: function(name, failures, total) {}
+};
+
+// Backwards compatibility, deprecated
+QUnit.equals = QUnit.equal;
+QUnit.same = QUnit.deepEqual;
+
+// Maintain internal state
+var config = {
+	// The queue of tests to run
+	queue: [],
+
+	// block until document ready
+	blocking: true
+};
+
+// Load paramaters
+(function() {
+	var location = window.location || { search: "", protocol: "file:" },
+		GETParams = location.search.slice(1).split('&');
+
+	for ( var i = 0; i < GETParams.length; i++ ) {
+		GETParams[i] = decodeURIComponent( GETParams[i] );
+		if ( GETParams[i] === "noglobals" ) {
+			GETParams.splice( i, 1 );
+			i--;
+			config.noglobals = true;
+		} else if ( GETParams[i].search('=') > -1 ) {
+			GETParams.splice( i, 1 );
+			i--;
+		}
+	}
+	
+	// restrict modules/tests by get parameters
+	config.filters = GETParams;
+	
+	// Figure out if we're running the tests from a server or not
+	QUnit.isLocal = !!(location.protocol === 'file:');
+})();
+
+// Expose the API as global variables, unless an 'exports'
+// object exists, in that case we assume we're in CommonJS
+if ( typeof exports === "undefined" || typeof require === "undefined" ) {
+	extend(window, QUnit);
+	window.QUnit = QUnit;
+} else {
+	extend(exports, QUnit);
+	exports.QUnit = QUnit;
+}
+
+if ( typeof document === "undefined" || document.readyState === "complete" ) {
+	config.autorun = true;
+}
+
+addEvent(window, "load", function() {
+	// Initialize the config, saving the execution queue
+	var oldconfig = extend({}, config);
+	QUnit.init();
+	extend(config, oldconfig);
+
+	config.blocking = false;
+
+	var userAgent = id("qunit-userAgent");
+	if ( userAgent ) {
+		userAgent.innerHTML = navigator.userAgent;
+	}
+	
+	var toolbar = id("qunit-testrunner-toolbar");
+	if ( toolbar ) {
+		toolbar.style.display = "none";
+		
+		var filter = document.createElement("input");
+		filter.type = "checkbox";
+		filter.id = "qunit-filter-pass";
+		filter.disabled = true;
+		addEvent( filter, "click", function() {
+			var li = document.getElementsByTagName("li");
+			for ( var i = 0; i < li.length; i++ ) {
+				if ( li[i].className.indexOf("pass") > -1 ) {
+					li[i].style.display = filter.checked ? "none" : "";
+				}
+			}
+		});
+		toolbar.appendChild( filter );
+
+		var label = document.createElement("label");
+		label.setAttribute("for", "qunit-filter-pass");
+		label.innerHTML = "Hide passed tests";
+		toolbar.appendChild( label );
+
+		var missing = document.createElement("input");
+		missing.type = "checkbox";
+		missing.id = "qunit-filter-missing";
+		missing.disabled = true;
+		addEvent( missing, "click", function() {
+			var li = document.getElementsByTagName("li");
+			for ( var i = 0; i < li.length; i++ ) {
+				if ( li[i].className.indexOf("fail") > -1 && li[i].innerHTML.indexOf('missing test - untested code is broken code') > - 1 ) {
+					li[i].parentNode.parentNode.style.display = missing.checked ? "none" : "block";
+				}
+			}
+		});
+		toolbar.appendChild( missing );
+
+		label = document.createElement("label");
+		label.setAttribute("for", "qunit-filter-missing");
+		label.innerHTML = "Hide missing tests (untested code is broken code)";
+		toolbar.appendChild( label );
+	}
+
+	var main = id('main');
+	if ( main ) {
+		config.fixture = main.innerHTML;
+	}
+
+	if ( window.jQuery ) {
+		config.ajaxSettings = window.jQuery.ajaxSettings;
+	}
+
+	QUnit.start();
+});
+
+function done() {
+	if ( config.doneTimer && window.clearTimeout ) {
+		window.clearTimeout( config.doneTimer );
+		config.doneTimer = null;
+	}
+
+	if ( config.queue.length ) {
+		config.doneTimer = window.setTimeout(function(){
+			if ( !config.queue.length ) {
+				done();
+			} else {
+				synchronize( done );
+			}
+		}, 13);
+
+		return;
+	}
+
+	config.autorun = true;
+
+	// Log the last module results
+	if ( config.currentModule ) {
+		QUnit.moduleDone( config.currentModule, config.moduleStats.bad, config.moduleStats.all );
+	}
+
+	var banner = id("qunit-banner"),
+		tests = id("qunit-tests"),
+		html = ['Tests completed in ',
+		+new Date - config.started, ' milliseconds.<br/>',
+		'<span class="passed">', config.stats.all - config.stats.bad, '</span> tests of <span class="total">', config.stats.all, '</span> passed, <span class="failed">', config.stats.bad,'</span> failed.'].join('');
+
+	if ( banner ) {
+		banner.className = (config.stats.bad ? "qunit-fail" : "qunit-pass");
+	}
+
+	if ( tests ) {	
+		var result = id("qunit-testresult");
+
+		if ( !result ) {
+			result = document.createElement("p");
+			result.id = "qunit-testresult";
+			result.className = "result";
+			tests.parentNode.insertBefore( result, tests.nextSibling );
+		}
+
+		result.innerHTML = html;
+	}
+
+	QUnit.done( config.stats.bad, config.stats.all );
+}
+
+function validTest( name ) {
+	var i = config.filters.length,
+		run = false;
+
+	if ( !i ) {
+		return true;
+	}
+	
+	while ( i-- ) {
+		var filter = config.filters[i],
+			not = filter.charAt(0) == '!';
+
+		if ( not ) {
+			filter = filter.slice(1);
+		}
+
+		if ( name.indexOf(filter) !== -1 ) {
+			return !not;
+		}
+
+		if ( not ) {
+			run = true;
+		}
+	}
+
+	return run;
+}
+
+function push(result, actual, expected, message) {
+	message = message || (result ? "okay" : "failed");
+	QUnit.ok( result, result ? message + ": " + expected : message + ", expected: " + QUnit.jsDump.parse(expected) + " result: " + QUnit.jsDump.parse(actual) );
+}
+
+function synchronize( callback ) {
+	config.queue.push( callback );
+
+	if ( config.autorun && !config.blocking ) {
+		process();
+	}
+}
+
+function process() {
+	while ( config.queue.length && !config.blocking ) {
+		config.queue.shift()();
+	}
+}
+
+function saveGlobal() {
+	config.pollution = [];
+	
+	if ( config.noglobals ) {
+		for ( var key in window ) {
+			config.pollution.push( key );
+		}
+	}
+}
+
+function checkPollution( name ) {
+	var old = config.pollution;
+	saveGlobal();
+	
+	var newGlobals = diff( old, config.pollution );
+	if ( newGlobals.length > 0 ) {
+		ok( false, "Introduced global variable(s): " + newGlobals.join(", ") );
+		config.expected++;
+	}
+
+	var deletedGlobals = diff( config.pollution, old );
+	if ( deletedGlobals.length > 0 ) {
+		ok( false, "Deleted global variable(s): " + deletedGlobals.join(", ") );
+		config.expected++;
+	}
+}
+
+// returns a new Array with the elements that are in a but not in b
+function diff( a, b ) {
+	var result = a.slice();
+	for ( var i = 0; i < result.length; i++ ) {
+		for ( var j = 0; j < b.length; j++ ) {
+			if ( result[i] === b[j] ) {
+				result.splice(i, 1);
+				i--;
+				break;
+			}
+		}
+	}
+	return result;
+}
+
+function fail(message, exception, callback) {
+	if ( typeof console !== "undefined" && console.error && console.warn ) {
+		console.error(message);
+		console.error(exception);
+		console.warn(callback.toString());
+
+	} else if ( window.opera && opera.postError ) {
+		opera.postError(message, exception, callback.toString);
+	}
+}
+
+function extend(a, b) {
+	for ( var prop in b ) {
+		a[prop] = b[prop];
+	}
+
+	return a;
+}
+
+function addEvent(elem, type, fn) {
+	if ( elem.addEventListener ) {
+		elem.addEventListener( type, fn, false );
+	} else if ( elem.attachEvent ) {
+		elem.attachEvent( "on" + type, fn );
+	} else {
+		fn();
+	}
+}
+
+function id(name) {
+	return !!(typeof document !== "undefined" && document && document.getElementById) &&
+		document.getElementById( name );
+}
+
+// Test for equality any JavaScript type.
+// Discussions and reference: http://philrathe.com/articles/equiv
+// Test suites: http://philrathe.com/tests/equiv
+// Author: Philippe Rathé <prathe@gmail.com>
+QUnit.equiv = function () {
+
+    var innerEquiv; // the real equiv function
+    var callers = []; // stack to decide between skip/abort functions
+
+
+    // Determine what is o.
+    function hoozit(o) {
+        if (QUnit.is("String", o)) {
+            return "string";
+            
+        } else if (QUnit.is("Boolean", o)) {
+            return "boolean";
+
+        } else if (QUnit.is("Number", o)) {
+
+            if (isNaN(o)) {
+                return "nan";
+            } else {
+                return "number";
+            }
+
+        } else if (typeof o === "undefined") {
+            return "undefined";
+
+        // consider: typeof null === object
+        } else if (o === null) {
+            return "null";
+
+        // consider: typeof [] === object
+        } else if (QUnit.is( "Array", o)) {
+            return "array";
+        
+        // consider: typeof new Date() === object
+        } else if (QUnit.is( "Date", o)) {
+            return "date";
+
+        // consider: /./ instanceof Object;
+        //           /./ instanceof RegExp;
+        //          typeof /./ === "function"; // => false in IE and Opera,
+        //                                          true in FF and Safari
+        } else if (QUnit.is( "RegExp", o)) {
+            return "regexp";
+
+        } else if (typeof o === "object") {
+            return "object";
+
+        } else if (QUnit.is( "Function", o)) {
+            return "function";
+        } else {
+            return undefined;
+        }
+    }
+
+    // Call the o related callback with the given arguments.
+    function bindCallbacks(o, callbacks, args) {
+        var prop = hoozit(o);
+        if (prop) {
+            if (hoozit(callbacks[prop]) === "function") {
+                return callbacks[prop].apply(callbacks, args);
+            } else {
+                return callbacks[prop]; // or undefined
+            }
+        }
+    }
+    
+    var callbacks = function () {
+
+        // for string, boolean, number and null
+        function useStrictEquality(b, a) {
+            if (b instanceof a.constructor || a instanceof b.constructor) {
+                // to catch short annotaion VS 'new' annotation of a declaration
+                // e.g. var i = 1;
+                //      var j = new Number(1);
+                return a == b;
+            } else {
+                return a === b;
+            }
+        }
+
+        return {
+            "string": useStrictEquality,
+            "boolean": useStrictEquality,
+            "number": useStrictEquality,
+            "null": useStrictEquality,
+            "undefined": useStrictEquality,
+
+            "nan": function (b) {
+                return isNaN(b);
+            },
+
+            "date": function (b, a) {
+                return hoozit(b) === "date" && a.valueOf() === b.valueOf();
+            },
+
+            "regexp": function (b, a) {
+                return hoozit(b) === "regexp" &&
+                    a.source === b.source && // the regex itself
+                    a.global === b.global && // and its modifers (gmi) ...
+                    a.ignoreCase === b.ignoreCase &&
+                    a.multiline === b.multiline;
+            },
+
+            // - skip when the property is a method of an instance (OOP)
+            // - abort otherwise,
+            //   initial === would have catch identical references anyway
+            "function": function () {
+                var caller = callers[callers.length - 1];
+                return caller !== Object &&
+                        typeof caller !== "undefined";
+            },
+
+            "array": function (b, a) {
+                var i;
+                var len;
+
+                // b could be an object literal here
+                if ( ! (hoozit(b) === "array")) {
+                    return false;
+                }
+
+                len = a.length;
+                if (len !== b.length) { // safe and faster
+                    return false;
+                }
+                for (i = 0; i < len; i++) {
+                    if ( ! innerEquiv(a[i], b[i])) {
+                        return false;
+                    }
+                }
+                return true;
+            },
+
+            "object": function (b, a) {
+                var i;
+                var eq = true; // unless we can proove it
+                var aProperties = [], bProperties = []; // collection of strings
+
+                // comparing constructors is more strict than using instanceof
+                if ( a.constructor !== b.constructor) {
+                    return false;
+                }
+
+                // stack constructor before traversing properties
+                callers.push(a.constructor);
+
+                for (i in a) { // be strict: don't ensures hasOwnProperty and go deep
+
+                    aProperties.push(i); // collect a's properties
+
+                    if ( ! innerEquiv(a[i], b[i])) {
+                        eq = false;
+                    }
+                }
+
+                callers.pop(); // unstack, we are done
+
+                for (i in b) {
+                    bProperties.push(i); // collect b's properties
+                }
+
+                // Ensures identical properties name
+                return eq && innerEquiv(aProperties.sort(), bProperties.sort());
+            }
+        };
+    }();
+
+    innerEquiv = function () { // can take multiple arguments
+        var args = Array.prototype.slice.apply(arguments);
+        if (args.length < 2) {
+            return true; // end transition
+        }
+
+        return (function (a, b) {
+            if (a === b) {
+                return true; // catch the most you can
+            } else if (a === null || b === null || typeof a === "undefined" || typeof b === "undefined" || hoozit(a) !== hoozit(b)) {
+                return false; // don't lose time with error prone cases
+            } else {
+                return bindCallbacks(a, callbacks, [b, a]);
+            }
+
+        // apply transition with (1..n) arguments
+        })(args[0], args[1]) && arguments.callee.apply(this, args.splice(1, args.length -1));
+    };
+
+    return innerEquiv;
+
+}();
+
+/**
+ * jsDump
+ * Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
+ * Licensed under BSD (http://www.opensource.org/licenses/bsd-license.php)
+ * Date: 5/15/2008
+ * @projectDescription Advanced and extensible data dumping for Javascript.
+ * @version 1.0.0
+ * @author Ariel Flesler
+ * @link {http://flesler.blogspot.com/2008/05/jsdump-pretty-dump-of-any-javascript.html}
+ */
+QUnit.jsDump = (function() {
+	function quote( str ) {
+		return '"' + str.toString().replace(/"/g, '\\"') + '"';
+	};
+	function literal( o ) {
+		return o + '';	
+	};
+	function join( pre, arr, post ) {
+		var s = jsDump.separator(),
+			base = jsDump.indent(),
+			inner = jsDump.indent(1);
+		if ( arr.join )
+			arr = arr.join( ',' + s + inner );
+		if ( !arr )
+			return pre + post;
+		return [ pre, inner + arr, base + post ].join(s);
+	};
+	function array( arr ) {
+		var i = arr.length,	ret = Array(i);					
+		this.up();
+		while ( i-- )
+			ret[i] = this.parse( arr[i] );				
+		this.down();
+		return join( '[', ret, ']' );
+	};
+	
+	var reName = /^function (\w+)/;
+	
+	var jsDump = {
+		parse:function( obj, type ) { //type is used mostly internally, you can fix a (custom)type in advance
+			var	parser = this.parsers[ type || this.typeOf(obj) ];
+			type = typeof parser;			
+			
+			return type == 'function' ? parser.call( this, obj ) :
+				   type == 'string' ? parser :
+				   this.parsers.error;
+		},
+		typeOf:function( obj ) {
+			var type;
+			if ( obj === null ) {
+				type = "null";
+			} else if (typeof obj === "undefined") {
+				type = "undefined";
+			} else if (QUnit.is("RegExp", obj)) {
+				type = "regexp";
+			} else if (QUnit.is("Date", obj)) {
+				type = "date";
+			} else if (QUnit.is("Function", obj)) {
+				type = "function";
+			} else if (QUnit.is("Array", obj)) {
+				type = "array";
+			} else if (QUnit.is("Window", obj) || QUnit.is("global", obj)) {
+				type = "window";
+			} else if (QUnit.is("HTMLDocument", obj)) {
+				type = "document";
+			} else if (QUnit.is("HTMLCollection", obj) || QUnit.is("NodeList", obj)) {
+				type = "nodelist";
+			} else if (/^\[object HTML/.test(Object.prototype.toString.call( obj ))) {
+				type = "node";
+			} else {
+				type = typeof obj;
+			}
+			return type;
+		},
+		separator:function() {
+			return this.multiline ?	this.HTML ? '<br />' : '\n' : this.HTML ? '&nbsp;' : ' ';
+		},
+		indent:function( extra ) {// extra can be a number, shortcut for increasing-calling-decreasing
+			if ( !this.multiline )
+				return '';
+			var chr = this.indentChar;
+			if ( this.HTML )
+				chr = chr.replace(/\t/g,'   ').replace(/ /g,'&nbsp;');
+			return Array( this._depth_ + (extra||0) ).join(chr);
+		},
+		up:function( a ) {
+			this._depth_ += a || 1;
+		},
+		down:function( a ) {
+			this._depth_ -= a || 1;
+		},
+		setParser:function( name, parser ) {
+			this.parsers[name] = parser;
+		},
+		// The next 3 are exposed so you can use them
+		quote:quote, 
+		literal:literal,
+		join:join,
+		//
+		_depth_: 1,
+		// This is the list of parsers, to modify them, use jsDump.setParser
+		parsers:{
+			window: '[Window]',
+			document: '[Document]',
+			error:'[ERROR]', //when no parser is found, shouldn't happen
+			unknown: '[Unknown]',
+			'null':'null',
+			undefined:'undefined',
+			'function':function( fn ) {
+				var ret = 'function',
+					name = 'name' in fn ? fn.name : (reName.exec(fn)||[])[1];//functions never have name in IE
+				if ( name )
+					ret += ' ' + name;
+				ret += '(';
+				
+				ret = [ ret, this.parse( fn, 'functionArgs' ), '){'].join('');
+				return join( ret, this.parse(fn,'functionCode'), '}' );
+			},
+			array: array,
+			nodelist: array,
+			arguments: array,
+			object:function( map ) {
+				var ret = [ ];
+				this.up();
+				for ( var key in map )
+					ret.push( this.parse(key,'key') + ': ' + this.parse(map[key]) );
+				this.down();
+				return join( '{', ret, '}' );
+			},
+			node:function( node ) {
+				var open = this.HTML ? '&lt;' : '<',
+					close = this.HTML ? '&gt;' : '>';
+					
+				var tag = node.nodeName.toLowerCase(),
+					ret = open + tag;
+					
+				for ( var a in this.DOMAttrs ) {
+					var val = node[this.DOMAttrs[a]];
+					if ( val )
+						ret += ' ' + a + '=' + this.parse( val, 'attribute' );
+				}
+				return ret + close + open + '/' + tag + close;
+			},
+			functionArgs:function( fn ) {//function calls it internally, it's the arguments part of the function
+				var l = fn.length;
+				if ( !l ) return '';				
+				
+				var args = Array(l);
+				while ( l-- )
+					args[l] = String.fromCharCode(97+l);//97 is 'a'
+				return ' ' + args.join(', ') + ' ';
+			},
+			key:quote, //object calls it internally, the key part of an item in a map
+			functionCode:'[code]', //function calls it internally, it's the content of the function
+			attribute:quote, //node calls it internally, it's an html attribute value
+			string:quote,
+			date:quote,
+			regexp:literal, //regex
+			number:literal,
+			'boolean':literal
+		},
+		DOMAttrs:{//attributes to dump from nodes, name=>realName
+			id:'id',
+			name:'name',
+			'class':'className'
+		},
+		HTML:true,//if true, entities are escaped ( <, >, \t, space and \n )
+		indentChar:'   ',//indentation unit
+		multiline:true //if true, items in a collection, are separated by a \n, else just a space.
+	};
+
+	return jsDump;
+})();
+
+})(this);
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/tests.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/tests.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/tests.js	(revision 505)
@@ -0,0 +1,452 @@
+var env,
+	ENVIRONMENTS = [
+		"json-schema-draft-01",
+		"json-schema-draft-02"
+	],
+	curEnvId;
+
+//calls ok(true) if no error is thrown
+function okNoError(func, msg) {
+	try {
+		func();
+		ok(true, msg);
+	} catch (e) {
+		ok(false, msg + ': ' + e);
+	}
+}
+
+//calls ok(true) if an error is thrown
+function okError(func, msg) {
+	try {
+		func();
+		ok(false, msg);
+	} catch (e) {
+		ok(true, msg + ': ' + e);
+	}
+}
+
+//
+//
+// Tests
+//
+//
+
+for (curEnvId = 0; curEnvId < ENVIRONMENTS.length; ++curEnvId) {
+
+module(ENVIRONMENTS[curEnvId]);
+
+(function (id) {
+test("Acquire Validator", function () {
+	JSV = require('../lib/jsv').JSV;
+	env = null;
+	
+	ok(JSV, "JSV is loaded");
+	
+	env = JSV.createEnvironment(id);
+	
+	ok(env, id + " environment created");
+});
+}(ENVIRONMENTS[curEnvId]));
+
+test("Primitive Validation", function () {
+	equal(env.validate({}).errors.length, 0, "Object");
+	equal(env.validate([]).errors.length, 0, "Array");
+	equal(env.validate('').errors.length, 0, "String");
+	equal(env.validate(00).errors.length, 0, "Number");
+	equal(env.validate(false).errors.length, 0, "Boolean");
+	equal(env.validate(null).errors.length, 0, "Null");
+});
+	
+test("Type Validation", function () {
+	//simple type
+	equal(env.validate({}, { type : 'object' }).errors.length, 0, "Object");
+	equal(env.validate([], { type : 'array' }).errors.length, 0, "Array");
+	equal(env.validate('', { type : 'string' }).errors.length, 0, "String");
+	equal(env.validate(00, { type : 'number' }).errors.length, 0, "Number");
+	equal(env.validate(00, { type : 'integer' }).errors.length, 0, "Integer");
+	equal(env.validate(false, { type : 'boolean' }).errors.length, 0, "Boolean");
+	equal(env.validate(null, { type : 'null' }).errors.length, 0, "Null");
+	equal(env.validate(true, { type : 'any' }).errors.length, 0, "Any");
+	
+	notEqual(env.validate(null, { type : 'object' }).errors.length, 0, "Object");
+	notEqual(env.validate(null, { type : 'array' }).errors.length, 0, "Array");
+	notEqual(env.validate(null, { type : 'string' }).errors.length, 0, "String");
+	notEqual(env.validate(null, { type : 'number' }).errors.length, 0, "Number");
+	notEqual(env.validate(0.1, { type : 'integer' }).errors.length, 0, "Integer");
+	notEqual(env.validate(null, { type : 'boolean' }).errors.length, 0, "Boolean");
+	notEqual(env.validate(false, { type : 'null' }).errors.length, 0, "Null");
+	
+	//union type
+	equal(env.validate({}, { type : ['null', 'boolean', 'number', 'integer', 'string', 'array', 'object'] }).errors.length, 0, "Object");
+	notEqual(env.validate({}, { type : ['null', 'boolean', 'number', 'integer', 'string', 'array'] }).errors.length, 0, "Object");
+	
+	//schema union type
+	equal(env.validate({}, { type : [{ type : 'string' }, { type : 'object' }] }).errors.length, 0, "Object");
+	equal(env.validate(55, { type : [{ type : 'string' }, { type : 'object' }, 'number'] }).errors.length, 0, "Object");
+	notEqual(env.validate([], { type : ['string', { type : 'object' }] }).errors.length, 0, "Array");
+});
+
+test("Properties Validation", function () {
+	equal(env.validate({}, { type : 'object', properties : {} }).errors.length, 0);
+	equal(env.validate({ a : 1 }, { type : 'object', properties : { a : {}} }).errors.length, 0);
+	equal(env.validate({ a : 1 }, { type : 'object', properties : { a : { type : 'number' }} }).errors.length, 0);
+	equal(env.validate({ a : { b : 'two' } }, { type : 'object', properties : { a : { type : 'object', properties : { b : { type : 'string' } } }} }).errors.length, 0);
+});
+
+test("Items Validation", function () {
+	equal(env.validate([], { type : 'array', items : { type : 'string' } }).errors.length, 0);
+	equal(env.validate(['foo'], { type : 'array', items : { type : 'string' } }).errors.length, 0);
+	equal(env.validate(['foo', 2], { type : 'array', items : [{ type : 'string' }, { type : 'number' }] }).errors.length, 0);
+	
+	notEqual(env.validate([1], { type : 'array', items : { type : 'string' } }).errors.length, 0);
+	notEqual(env.validate(['foo', 'two'], { type : 'array', items : [{ type : 'string' }, { type : 'number' }] }).errors.length, 0);
+});
+
+test("Optional Validation", function () {
+	equal(env.validate({}, { properties : { a : { optional : true } } }).errors.length, 0);
+	equal(env.validate({ a : false }, { properties : { a : { optional : true } } }).errors.length, 0);
+	equal(env.validate({ a : false }, { properties : { a : { optional : false } } }).errors.length, 0);
+	
+	notEqual(env.validate({}, { properties : { a : { optional : false } } }).errors.length, 0);
+	notEqual(env.validate({ b : true }, { properties : { a : { optional : false } } }).errors.length, 0);
+	notEqual(env.validate({ b : true }, { properties : { a : {} } }).errors.length, 0);
+});
+
+test("AdditionalProperties Validation", function () {
+	//object tests
+	equal(env.validate({ a : 1, b : 2, c : 3 }, {}).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2, c : 3 }, { additionalProperties : true }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2, c : 3 }, { properties : { a : {}, b : {} }, additionalProperties : true }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2, c : 3 }, { properties : { a : {}, b : {}, c : {} }, additionalProperties : false }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2, c : 3 }, { additionalProperties : { type : 'number' } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2, c : 3 }, { properties : { a : {}, b : {} }, additionalProperties : { type : 'number' } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2, c : 3 }, { properties : { a : {}, b : {}, c : {} }, additionalProperties : { type : 'string' } }).errors.length, 0);
+	
+	notEqual(env.validate({ a : 1, b : 2, c : 3 }, { properties : { a : {}, b : {} }, additionalProperties : false }).errors.length, 0);
+	notEqual(env.validate({ a : 1, b : 2, c : 3 }, { properties : { a : {}, b : {} }, additionalProperties : { type : 'string' } }).errors.length, 0);
+	
+	//array tests
+	equal(env.validate([1, 2, 3], {}).errors.length, 0);
+	equal(env.validate([1, 2, 3], { additionalProperties : true }).errors.length, 0);
+	equal(env.validate([1, 2, 3], { additionalProperties : false }).errors.length, 0);
+	equal(env.validate([1, 2, 3], { additionalProperties : { type : 'number' } }).errors.length, 0);
+	equal(env.validate([1, 2, 3], { additionalProperties : { type : 'string' } }).errors.length, 0);
+	equal(env.validate(['1', '2'], { items : { type : 'string' }, additionalProperties : false }).errors.length, 0);
+	equal(env.validate(['1', '2'], { items : [ { type : 'string' }, { type : 'string' } ], additionalProperties : false }).errors.length, 0);
+	equal(env.validate(['1', '2', 3], { items : [ { type : 'string' }, { type : 'string' } ], additionalProperties : { type : 'number' } }).errors.length, 0);
+	equal(env.validate(['1', '2', '3'], { items : [ { type : 'string' }, { type : 'string' }, { type : 'string' } ], additionalProperties : { type : 'number' } }).errors.length, 0);
+	
+	notEqual(env.validate(['1', '2', '3'], { items : [ { type : 'string' }, { type : 'string' } ], additionalProperties : false }).errors.length, 0);
+	notEqual(env.validate(['1', '2', '3'], { items : [ { type : 'string' }, { type : 'string' } ], additionalProperties : { type : 'number' } }).errors.length, 0);
+});
+
+test("Requires Validation", function () {
+	equal(env.validate({ a : 1 }, { properties : { a : { requires : 'a' } } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2 }, { properties : { a : {}, b : { requires : 'a' } } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2 }, { properties : { a : { requires : 'b' }, b : { requires : 'a' } } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2 }, { properties : { b : { requires : { properties : { a : { type : 'number' } } } } } }).errors.length, 0);
+	
+	notEqual(env.validate({ b : 2 }, { properties : { b : { requires : 'a' } } }).errors.length, 0);
+	notEqual(env.validate({ a : 1, b : 2 }, { properties : { a : { requires : 'b' }, b : { requires : 'c' } } }).errors.length, 0);
+	notEqual(env.validate({ b : 2 }, { properties : { b : { requires : { properties : { b : { type : 'string' } } } } } }).errors.length, 0);
+});
+
+test("Minimum/Maximum Validation", function () {
+	equal(env.validate(0, {}).errors.length, 0);
+	equal(env.validate(1, { minimum : 1, maximum : 10 }).errors.length, 0);
+	equal(env.validate(5, { minimum : 1, maximum : 10 }).errors.length, 0);
+	equal(env.validate(10, { minimum : 1, maximum : 10 }).errors.length, 0);
+	equal(env.validate(1, { minimum : 1, maximum : 1 }).errors.length, 0);
+	
+	notEqual(env.validate(0, { minimum : 1, maximum : 10 }).errors.length, 0);
+	notEqual(env.validate(11, { minimum : 1, maximum : 10 }).errors.length, 0);
+});
+
+test("MinimumCanEqual/MaximumCanEqual Validation", function () {
+	//true
+	notEqual(env.validate(0, { minimumCanEqual : true, maximumCanEqual : true }).errors.length, 0);  //illegal
+	equal(env.validate(1, { minimum : 1, maximum : 10, minimumCanEqual : true, maximumCanEqual : true }).errors.length, 0);
+	equal(env.validate(5, { minimum : 1, maximum : 10, minimumCanEqual : true, maximumCanEqual : true  }).errors.length, 0);
+	equal(env.validate(10, { minimum : 1, maximum : 10, minimumCanEqual : true, maximumCanEqual : true  }).errors.length, 0);
+	equal(env.validate(1, { minimum : 1, maximum : 1, minimumCanEqual : true, maximumCanEqual : true  }).errors.length, 0);
+	
+	notEqual(env.validate(0, { minimum : 1, maximum : 10, minimumCanEqual : true, maximumCanEqual : true  }).errors.length, 0);
+	notEqual(env.validate(11, { minimum : 1, maximum : 10, minimumCanEqual : true, maximumCanEqual : true  }).errors.length, 0);
+	
+	//false
+	notEqual(env.validate(0, { minimumCanEqual : false, maximumCanEqual : false }).errors.length, 0);  //illegal
+	equal(env.validate(1.0001, { minimum : 1, maximum : 10, minimumCanEqual : false, maximumCanEqual : false  }).errors.length, 0);
+	equal(env.validate(5, { minimum : 1, maximum : 10, minimumCanEqual : false, maximumCanEqual : false  }).errors.length, 0);
+	equal(env.validate(9.9999, { minimum : 1, maximum : 10, minimumCanEqual : false, maximumCanEqual : false  }).errors.length, 0);
+	
+	notEqual(env.validate(1, { minimum : 1, maximum : 10, minimumCanEqual : false, maximumCanEqual : false }).errors.length, 0);
+	notEqual(env.validate(10, { minimum : 1, maximum : 10, minimumCanEqual : false, maximumCanEqual : false  }).errors.length, 0);
+	notEqual(env.validate(1, { minimum : 1, maximum : 1, minimumCanEqual : false, maximumCanEqual : false  }).errors.length, 0);
+	notEqual(env.validate(0, { minimum : 1, maximum : 10, minimumCanEqual : false, maximumCanEqual : false  }).errors.length, 0);
+	notEqual(env.validate(11, { minimum : 1, maximum : 10, minimumCanEqual : false, maximumCanEqual : false  }).errors.length, 0);
+});
+
+test("MinItems/MaxItems Validation", function () {
+	equal(env.validate([], {}).errors.length, 0);
+	equal(env.validate([1], { minItems : 1, maxItems : 1 }).errors.length, 0);
+	equal(env.validate([1], { minItems : 1, maxItems : 3 }).errors.length, 0);
+	equal(env.validate([1, 2], { minItems : 1, maxItems : 3 }).errors.length, 0);
+	equal(env.validate([1, 2, 3], { minItems : 1, maxItems : 3 }).errors.length, 0);
+	
+	notEqual(env.validate([], { minItems : 1, maxItems : 0 }).errors.length, 0);
+	notEqual(env.validate([], { minItems : 1, maxItems : 3 }).errors.length, 0);
+	notEqual(env.validate([1, 2, 3, 4], { minItems : 1, maxItems : 3 }).errors.length, 0);
+});
+
+if (curEnvId >= 1) {
+test("UniqueItems Validation", function () {
+	equal(env.validate([], {}).errors.length, 0);
+	equal(env.validate([], { uniqueItems : true }).errors.length, 0);
+	equal(env.validate([null], { uniqueItems : true }).errors.length, 0);
+	equal(env.validate([true, false], { uniqueItems : true }).errors.length, 0);
+	equal(env.validate([1, 2, 3], { uniqueItems : true }).errors.length, 0);
+	equal(env.validate(['a', 'b'], { uniqueItems : true }).errors.length, 0);
+	equal(env.validate([[], []], { uniqueItems : true }).errors.length, 0);
+	equal(env.validate([{}, {}], { uniqueItems : true }).errors.length, 0);
+	
+	notEqual(env.validate([null, null], { uniqueItems : true }).errors.length, 0);
+	notEqual(env.validate([false, false], { uniqueItems : true }).errors.length, 0);
+	notEqual(env.validate([1, 2, 1], { uniqueItems : true }).errors.length, 0);
+	notEqual(env.validate(['a', 'b', 'b'], { uniqueItems : true }).errors.length, 0);
+});
+}
+
+test("Pattern Validation", function () {
+	equal(env.validate('', {}).errors.length, 0);
+	equal(env.validate('', { pattern : '^$' }).errors.length, 0);
+	equal(env.validate('today', { pattern : 'day' }).errors.length, 0);
+	
+	notEqual(env.validate('', { pattern : '^ $' }).errors.length, 0);
+	notEqual(env.validate('today', { pattern : 'dam' }).errors.length, 0);
+	notEqual(env.validate('aaaaa', { pattern : 'aa(a' }).errors.length, 0);
+});
+
+test("MinLength/MaxLength Validation", function () {
+	equal(env.validate('', {}).errors.length, 0);
+	equal(env.validate('1', { minLength : 1, maxLength : 1 }).errors.length, 0);
+	equal(env.validate('1', { minLength : 1, maxLength : 3 }).errors.length, 0);
+	equal(env.validate('12', { minLength : 1, maxLength : 3 }).errors.length, 0);
+	equal(env.validate('123', { minLength : 1, maxLength : 3 }).errors.length, 0);
+	
+	notEqual(env.validate('', { minLength : 1, maxLength : 0 }).errors.length, 0);
+	notEqual(env.validate('', { minLength : 1, maxLength : 3 }).errors.length, 0);
+	notEqual(env.validate('1234', { minLength : 1, maxLength : 3 }).errors.length, 0);
+});
+
+test("Enum Validation", function () {
+	equal(env.validate(null, {}).errors.length, 0);
+	equal(env.validate(true, { 'enum' : [false, true] }).errors.length, 0);
+	equal(env.validate(2, { 'enum' : [1, 2, 3] }).errors.length, 0);
+	equal(env.validate('a', { 'enum' : ['a'] }).errors.length, 0);
+	equal(env.validate({}, { 'properties' : { 'a' : { 'enum' : ['a'], 'optional' : true } } }).errors.length, 0);
+	
+	notEqual(env.validate(true, { 'enum' : ['false', 'true'] }).errors.length, 0);
+	notEqual(env.validate(4, { 'enum' : [1, 2, 3, '4'] }).errors.length, 0);
+	notEqual(env.validate('', { 'enum' : [] }).errors.length, 0);
+	notEqual(env.validate({}, { 'properties' : { 'a' : { 'enum' : ['a'] } } }).errors.length, 0);
+});
+
+test("Format Validation", function () {
+	//TODO
+});
+
+if (curEnvId === 0) {
+test("MaxDecimal Validation", function () {
+	equal(env.validate(0, {}).errors.length, 0);
+	equal(env.validate(0, { maxDecimal : 0 }).errors.length, 0);
+	equal(env.validate(0, { maxDecimal : 1 }).errors.length, 0);
+	equal(env.validate(0.22, { maxDecimal : 2 }).errors.length, 0);
+	equal(env.validate(0.33, { maxDecimal : 3 }).errors.length, 0);
+	
+	notEqual(env.validate(0.1, { maxDecimal : 0 }).errors.length, 0);
+	notEqual(env.validate(0.111, { maxDecimal : 1 }).errors.length, 0);
+});
+}
+
+if (curEnvId >= 1) {
+test("DivisibleBy Validation", function () {
+	equal(env.validate(0, {}).errors.length, 0);
+	equal(env.validate(0, { divisibleBy : 1 }).errors.length, 0);
+	equal(env.validate(10, { divisibleBy : 5 }).errors.length, 0);
+	equal(env.validate(10, { divisibleBy : 10 }).errors.length, 0);
+	equal(env.validate(0, { divisibleBy : 2.5 }).errors.length, 0);
+	equal(env.validate(5, { divisibleBy : 2.5 }).errors.length, 0);
+	equal(env.validate(7.5, { divisibleBy : 2.5 }).errors.length, 0);
+	
+	notEqual(env.validate(0, { divisibleBy : 0 }).errors.length, 0);
+	notEqual(env.validate(7, { divisibleBy : 5 }).errors.length, 0);
+	notEqual(env.validate(4.5, { divisibleBy : 2 }).errors.length, 0);
+	notEqual(env.validate(7.5, { divisibleBy : 1.8 }).errors.length, 0);
+});
+}
+
+test("Disallow Validation", function () {
+	equal(env.validate({}, { disallow : ['null', 'boolean', 'number', 'integer', 'string', 'array'] }).errors.length, 0, "Object");
+	equal(env.validate([], { disallow : ['null', 'boolean', 'number', 'integer', 'string', 'object'] }).errors.length, 0, "Array");
+	equal(env.validate('', { disallow : ['null', 'boolean', 'number', 'integer', 'array', 'object'] }).errors.length, 0, "String");
+	equal(env.validate(0.1, { disallow : ['null', 'boolean', 'integer', 'string', 'array', 'object'] }).errors.length, 0, "Number");
+	equal(env.validate(00, { disallow : ['null', 'boolean', 'string', 'array', 'object'] }).errors.length, 0, "Integer");
+	equal(env.validate(false, { disallow : ['null', 'number', 'integer', 'string', 'array', 'object'] }).errors.length, 0, "Boolean");
+	equal(env.validate(null, { disallow : ['boolean', 'number', 'integer', 'string', 'array', 'object'] }).errors.length, 0, "Null");
+	
+	notEqual(env.validate({}, { disallow : 'object' }).errors.length, 0, "Object");
+	notEqual(env.validate([], { disallow : 'array' }).errors.length, 0, "Array");
+	notEqual(env.validate('', { disallow : 'string' }).errors.length, 0, "String");
+	notEqual(env.validate(00, { disallow : 'integer' }).errors.length, 0, "Number");
+	notEqual(env.validate(0.1, { disallow : 'number' }).errors.length, 0, "Integer");
+	notEqual(env.validate(false, { disallow : 'boolean' }).errors.length, 0, "Boolean");
+	notEqual(env.validate(null, { disallow : 'null' }).errors.length, 0, "Null");
+	notEqual(env.validate(null, { disallow : 'any' }).errors.length, 0, "Any");
+});
+
+test("Extends Validation", function () {
+	equal(env.validate({}, { 'extends' : {} }).errors.length, 0);
+	equal(env.validate({}, { 'extends' : { type : 'object' } }).errors.length, 0);
+	equal(env.validate(1, { type : 'integer', 'extends' : { type : 'number' } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2 }, { properties : { a : { type : 'number' } }, additionalProperties : false, 'extends' : { properties : { b : { type : 'number' } } } }).errors.length, 0);
+	
+	notEqual(env.validate(1, { type : 'number', 'extends' : { type : 'string' } }).errors.length, 0);
+	
+	//TODO: More tests
+});
+
+test("JSON Schema Validation", function () {
+	var schema = env.findSchema("http://json-schema.org/schema");
+	var hyperSchema = env.findSchema("http://json-schema.org/hyper-schema");
+	var links = env.findSchema("http://json-schema.org/links");
+	
+	equal(schema.validate(schema).errors.length, 0, "schema.validate(schema)");
+	equal(hyperSchema.validate(schema).errors.length, 0, "hyperSchema.validate(schema)");
+	equal(hyperSchema.validate(hyperSchema).errors.length, 0, "hyperSchema.validate(hyperSchema)");
+	equal(hyperSchema.validate(links).errors.length, 0, "hyperSchema.validate(links)");
+});
+
+test("Links Validation", function () {
+	var schema;
+	//full
+	equal(env.validate({ 'a' : {} }, { 'type' : 'object', 'additionalProperties' : { '$ref' : '#' } }).errors.length, 0);
+	notEqual(env.validate({ 'a' : 1 }, { 'type' : 'object', 'additionalProperties' : { '$ref' : '#' } }).errors.length, 0);
+	
+	//describedby
+	schema = env.createSchema({ "id" : "http://test.example.com/3", "properties" : { "test" : { "type" : "object" } }, "extends" : { "$ref" : "http://json-schema.org/hyper-schema" } }, null, "http://test.example.com/3");
+	equal(env.validate({}, { "$schema" : "http://test.example.com/3", "test" : {} }).errors.length, 0);
+	notEqual(env.validate({}, { "$schema" : "http://test.example.com/3", "test" : 0 }).errors.length, 0);
+	
+	//self
+	schema = env.createSchema({ "properties" : { "two" : { "id" : "http://test.example.com/2", "type" : "object" } } }, null, "http://not.example.com/2");
+	equal(env.validate({}, { "$ref" : "http://test.example.com/2" }).errors.length, 0);
+	notEqual(env.validate(null, { "$ref" : "http://test.example.com/2" }).errors.length, 0);
+	
+	//links api
+	schema = env.createSchema({ "links" : [ { "rel" : "bar", "href" : "http:{-this}#" } ] });
+	instance = env.createInstance("foo");
+	equal(schema.getLink("bar", instance), "http:foo#", "'bar' link and self reference");
+});
+
+test("PathStart Validation", function () {
+	var instance = env.createInstance({}, "http://test.example.com/4"),
+		schema = env.createSchema({"pathStart" : "http://test.example.com"});
+	
+	equal(env.validate(instance, schema).errors.length, 0);
+	
+	instance = env.createInstance({});  //random URI
+	
+	notEqual(env.validate(instance, schema).errors.length, 0);
+});
+
+test("Register Schemas", function () {
+	var schema = env.createSchema({'type' : 'string'}, null, 'http://test.example.com/1');
+	equal(env.findSchema('http://json-schema.org/hyper-schema').validate(schema).errors.length, 0);
+	equal(env.validate('', { '$ref' : 'http://test.example.com/1' }).errors.length, 0);
+	notEqual(env.validate({}, { '$ref' : 'http://test.example.com/1' }).errors.length, 0);
+});
+
+test("Complex Examples", function () {
+	//example 1
+	var schema = env.createSchema({
+	   "id":"Common#",
+	   "type":"object",
+	   "properties":{
+	       "!":{"type":"string","enum":["Common"]}
+	   },
+	   "additionalProperties":false
+	}, undefined, "Common#");
+	
+	var report = env.validate({
+		  "!" : "List",
+		  "list" : [
+		    {
+		      "!" : "Text",
+		      "common" : {"!":"NotCommon"}
+		    }
+		  ],
+		  "common" : {"!":"Common"}
+		},
+		
+		{
+		   "properties":{
+		       "!":{"type":"string","enum":["List"]},
+		       "list":{
+		           "type":"array",
+		           "items":{
+		               "type":[
+		                   {
+		                       "type":"object",
+		                       "properties":{
+		                           "!":{"type":"string","enum":["Music"]},
+		                           "common":{"$ref":"Common#"}
+		                       }
+		                   },
+		                   {
+		                       "type":"object",
+		                       "properties":{
+		                           "!":{"type":"string","enum":["Text"]},
+		                           "common":{"$ref":"Common#"}
+		                       }
+		                   }
+		               ]
+		           }
+		       },
+		
+		       "common":{"$ref":"Common#"}
+		   }
+		}
+	);
+	
+	notEqual(report.errors.length, 0, "example 1");
+	
+	//example 2
+	schema = env.createSchema({
+	    "extends": {
+	        "type": "object",
+	        "properties": {
+	            "id": {
+	                "type": "string",
+	                "minLength": 1,
+	                "pattern": "^\\S.+\\S$"
+	            }
+	        }
+	    },
+	    "properties": {
+	        "role": {
+	            "extends": {
+	                "type": "string",
+	                "minLength": 1,
+	                "pattern": "^\\S.+\\S$"
+	            },
+	            "description": "some description"
+	        }
+	    }
+	});
+	
+	report = env.validate({ "id" : "some id", "role" : "yunowork?"}, schema);
+	
+	equal(report.errors.length, 0, "example 2");
+});
+
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/tests3.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/tests3.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/tests3.js	(revision 505)
@@ -0,0 +1,567 @@
+var env,
+	DRAFTS = [
+		"draft-00",
+		"draft-01",
+		"draft-02",
+		"draft-03"
+	],
+	curDraftId;
+
+//calls ok(true) if no error is thrown
+function okNoError(func, msg) {
+	try {
+		func();
+		ok(true, msg);
+	} catch (e) {
+		ok(false, msg + ': ' + JSON.stringify(e));
+	}
+}
+
+//calls ok(true) if an error is thrown
+function okError(func, msg) {
+	try {
+		func();
+		ok(false, msg);
+	} catch (e) {
+		ok(true, msg + ': ' + JSON.stringify(e));
+	}
+}
+
+//
+//
+// Tests
+//
+//
+
+for (curDraftId = 0; curDraftId < DRAFTS.length; ++curDraftId) {
+
+module(DRAFTS[curDraftId]);
+
+(function (id) {
+test("Acquire Validator", function () {
+	JSV = require('../lib/jsv').JSV;
+	env = null;
+	
+	ok(JSV, "JSV is loaded");
+	
+	env = JSV.createEnvironment("json-schema-draft-03");
+	
+	env.setOption("defaultSchemaURI", "http://json-schema.org/" + id + "/hyper-schema#");
+	env.setOption("latestJSONSchemaSchemaURI", "http://json-schema.org/" + id + "/schema#");
+	env.setOption("latestJSONSchemaHyperSchemaURI", "http://json-schema.org/" + id + "/hyper-schema#");
+	env.setOption("latestJSONSchemaLinksURI", "http://json-schema.org/" + id + "/links#");
+	
+	ok(env, "Environment created");
+	
+});
+}(DRAFTS[curDraftId]));
+
+test("Primitive Validation", function () {
+	equal(env.validate({}).errors.length, 0, "Object");
+	equal(env.validate([]).errors.length, 0, "Array");
+	equal(env.validate('').errors.length, 0, "String");
+	equal(env.validate(00).errors.length, 0, "Number");
+	equal(env.validate(false).errors.length, 0, "Boolean");
+	equal(env.validate(null).errors.length, 0, "Null");
+});
+	
+test("Type Validation", function () {
+	//simple type
+	equal(env.validate({}, { type : 'object' }).errors.length, 0, "Object");
+	equal(env.validate([], { type : 'array' }).errors.length, 0, "Array");
+	equal(env.validate('', { type : 'string' }).errors.length, 0, "String");
+	equal(env.validate(00, { type : 'number' }).errors.length, 0, "Number");
+	equal(env.validate(00, { type : 'integer' }).errors.length, 0, "Integer");
+	equal(env.validate(false, { type : 'boolean' }).errors.length, 0, "Boolean");
+	equal(env.validate(null, { type : 'null' }).errors.length, 0, "Null");
+	equal(env.validate(true, { type : 'any' }).errors.length, 0, "Any");
+	
+	notEqual(env.validate(null, { type : 'object' }).errors.length, 0, "Object");
+	notEqual(env.validate(null, { type : 'array' }).errors.length, 0, "Array");
+	notEqual(env.validate(null, { type : 'string' }).errors.length, 0, "String");
+	notEqual(env.validate(null, { type : 'number' }).errors.length, 0, "Number");
+	notEqual(env.validate(0.1, { type : 'integer' }).errors.length, 0, "Integer");
+	notEqual(env.validate(null, { type : 'boolean' }).errors.length, 0, "Boolean");
+	notEqual(env.validate(false, { type : 'null' }).errors.length, 0, "Null");
+	
+	//union type
+	equal(env.validate({}, { type : ['null', 'boolean', 'number', 'integer', 'string', 'array', 'object'] }).errors.length, 0, "Object");
+	notEqual(env.validate({}, { type : ['null', 'boolean', 'number', 'integer', 'string', 'array'] }).errors.length, 0, "Object");
+	
+	//schema union type
+	equal(env.validate({}, { type : [{ type : 'string' }, { type : 'object' }] }).errors.length, 0, "Object");
+	equal(env.validate(55, { type : [{ type : 'string' }, { type : 'object' }, 'number'] }).errors.length, 0, "Object");
+	notEqual(env.validate([], { type : ['string', { type : 'object' }] }).errors.length, 0, "Array");
+});
+
+test("Properties Validation", function () {
+	equal(env.validate({}, { type : 'object', properties : {} }).errors.length, 0);
+	equal(env.validate({ a : 1 }, { type : 'object', properties : { a : {}} }).errors.length, 0);
+	equal(env.validate({ a : 1 }, { type : 'object', properties : { a : { type : 'number' }} }).errors.length, 0);
+	equal(env.validate({ a : { b : 'two' } }, { type : 'object', properties : { a : { type : 'object', properties : { b : { type : 'string' } } }} }).errors.length, 0);
+	
+	notEqual(env.validate({ a : 1 }, { type : 'object', properties : { a : { type : 'string' }} }).errors.length, 0);
+	notEqual(env.validate({ a : { b : 'two' } }, { type : 'object', properties : { a : { type : 'object', properties : { b : { type : 'number' } } }} }).errors.length, 0);
+});
+
+if (curDraftId > 2) {
+test("PatternProperties Validation", function () {
+	equal(env.validate(null, { patternProperties : {} }).errors.length, 0);
+	equal(env.validate({}, { patternProperties : {} }).errors.length, 0);
+	equal(env.validate({ a : 1 }, { patternProperties : { '[a-z]' : {}} }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2, cc : '3' }, { patternProperties : { '^[a-z]$' : { type : 'number' }} }).errors.length, 0);
+	equal(env.validate({ a : { b : 'two' } }, { patternProperties : { '[a-z]' : { patternProperties : { '[a-z]' : { type : 'string' } } }} }).errors.length, 0);
+		
+	notEqual(env.validate({ a : 1, b : 2, c : '3' }, { patternProperties : { '^[a-z]$' : { type : 'number' }} }).errors.length, 0);
+	notEqual(env.validate({ a : { b : 'two' } }, { patternProperties : { '[a-z]' : { patternProperties : { '[a-z]' : { type : 'number' } } }} }).errors.length, 0);
+});
+}
+
+test("AdditionalProperties Validation", function () {
+	//object tests
+	equal(env.validate({ a : 1, b : 2, c : 3 }, {}).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2, c : 3 }, { additionalProperties : true }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2, c : 3 }, { properties : { a : {}, b : {} }, additionalProperties : true }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2, c : 3 }, { properties : { a : {}, b : {}, c : {} }, additionalProperties : false }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2, c : 3 }, { additionalProperties : { type : 'number' } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2, c : 3 }, { properties : { a : {}, b : {} }, additionalProperties : { type : 'number' } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2, c : 3 }, { properties : { a : {}, b : {}, c : {} }, additionalProperties : { type : 'string' } }).errors.length, 0);
+	
+	notEqual(env.validate({ a : 1, b : 2, c : 3 }, { properties : { a : {}, b : {} }, additionalProperties : false }).errors.length, 0);
+	notEqual(env.validate({ a : 1, b : 2, c : 3 }, { properties : { a : {}, b : {} }, additionalProperties : { type : 'string' } }).errors.length, 0);
+	
+	//array tests
+	equal(env.validate([1, 2, 3], {}).errors.length, 0);
+	equal(env.validate([1, 2, 3], { additionalProperties : true }).errors.length, 0);
+	equal(env.validate([1, 2, 3], { additionalProperties : false }).errors.length, 0);
+	equal(env.validate([1, 2, 3], { additionalProperties : { type : 'number' } }).errors.length, 0);
+	equal(env.validate([1, 2, 3], { additionalProperties : { type : 'string' } }).errors.length, 0);
+	equal(env.validate(['1', '2'], { items : { type : 'string' }, additionalProperties : false }).errors.length, 0);
+	equal(env.validate(['1', '2'], { items : [ { type : 'string' }, { type : 'string' } ], additionalProperties : false }).errors.length, 0);
+	equal(env.validate(['1', '2', 3], { items : [ { type : 'string' }, { type : 'string' } ], additionalProperties : { type : 'number' } }).errors.length, 0);
+	equal(env.validate(['1', '2', '3'], { items : [ { type : 'string' }, { type : 'string' }, { type : 'string' } ], additionalProperties : { type : 'number' } }).errors.length, 0);
+	
+	if (curDraftId < 3) {
+	notEqual(env.validate(['1', '2', '3'], { items : [ { type : 'string' }, { type : 'string' } ], additionalProperties : false }).errors.length, 0);
+	notEqual(env.validate(['1', '2', '3'], { items : [ { type : 'string' }, { type : 'string' } ], additionalProperties : { type : 'number' } }).errors.length, 0);
+	}
+});
+
+test("Items Validation", function () {
+	equal(env.validate([], { type : 'array', items : { type : 'string' } }).errors.length, 0);
+	equal(env.validate(['foo'], { type : 'array', items : { type : 'string' } }).errors.length, 0);
+	equal(env.validate(['foo', 2], { type : 'array', items : [{ type : 'string' }, { type : 'number' }] }).errors.length, 0);
+	
+	notEqual(env.validate([1], { type : 'array', items : { type : 'string' } }).errors.length, 0);
+	notEqual(env.validate(['foo', 'two'], { type : 'array', items : [{ type : 'string' }, { type : 'number' }] }).errors.length, 0);
+});
+
+if (curDraftId > 2) {
+test("AdditionalItems Validation", function () {
+	//array tests
+	equal(env.validate([1, 2, 3], {}).errors.length, 0);
+	equal(env.validate([1, 2, 3], { additionalItems : true }).errors.length, 0);
+	equal(env.validate([1, 2, 3], { additionalItems : { type : 'number' } }).errors.length, 0);
+	equal(env.validate(['1', '2'], { items : { type : 'string' }, additionalItems : false }).errors.length, 0);
+	equal(env.validate(['1', '2'], { items : [ { type : 'string' }, { type : 'string' } ], additionalItems : false }).errors.length, 0);
+	equal(env.validate(['1', '2', 3], { items : [ { type : 'string' }, { type : 'string' } ], additionalItems : { type : 'number' } }).errors.length, 0);
+	equal(env.validate(['1', '2', '3'], { items : [ { type : 'string' }, { type : 'string' }, { type : 'string' } ], additionalItems : { type : 'number' } }).errors.length, 0);
+	
+	notEqual(env.validate([1, 2, 3], { additionalItems : false }).errors.length, 0);
+	notEqual(env.validate([1, 2, 3], { additionalItems : { type : 'string' } }).errors.length, 0);
+	notEqual(env.validate(['1', '2', '3'], { items : [ { type : 'string' }, { type : 'string' } ], additionalItems : false }).errors.length, 0);
+	notEqual(env.validate(['1', '2', '3'], { items : [ { type : 'string' }, { type : 'string' } ], additionalItems : { type : 'number' } }).errors.length, 0);
+});
+}
+
+(function (curDraftId) {
+test("Optional Validation", function () {
+	equal(env.validate({}, { properties : { a : { optional : true } } }).errors.length, 0);
+	equal(env.validate({ a : false }, { properties : { a : { optional : true } } }).errors.length, 0);
+	equal(env.validate({ a : false }, { properties : { a : { optional : false } } }).errors.length, 0);
+	
+	notEqual(env.validate({}, { properties : { a : { optional : false } } }).errors.length, 0);
+	notEqual(env.validate({ b : true }, { properties : { a : { optional : false } } }).errors.length, 0);
+	if (curDraftId < 3) {
+	notEqual(env.validate({ b : true }, { properties : { a : {} } }).errors.length, 0);
+	} else {
+	equal(env.validate({ b : true }, { properties : { a : {} } }).errors.length, 0);
+	}
+});
+}(curDraftId));
+
+if (curDraftId > 2) {
+test("Required Validation", function () {
+	equal(env.validate({ b : true }, { properties : { a : {} } }).errors.length, 0);
+	equal(env.validate({}, { properties : { a : { required : false } } }).errors.length, 0);
+	equal(env.validate({ a : false }, { properties : { a : { required : false } } }).errors.length, 0);
+	equal(env.validate({ a : false }, { properties : { a : { required : true } } }).errors.length, 0);
+	
+	notEqual(env.validate({}, { properties : { a : { required : true } } }).errors.length, 0);
+	notEqual(env.validate({ b : true }, { properties : { a : { required : true } } }).errors.length, 0);
+});
+}
+
+test("Requires Validation", function () {
+	equal(env.validate({ a : 1 }, { properties : { a : { requires : 'a' } } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2 }, { properties : { a : {}, b : { requires : 'a' } } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2 }, { properties : { a : { requires : 'b' }, b : { requires : 'a' } } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2 }, { properties : { b : { requires : { properties : { a : { type : 'number' } } } } } }).errors.length, 0);
+	
+	notEqual(env.validate({ b : 2 }, { properties : { b : { requires : 'a' } } }).errors.length, 0);
+	notEqual(env.validate({ a : 1, b : 2 }, { properties : { a : { requires : 'b' }, b : { requires : 'c' } } }).errors.length, 0);
+	notEqual(env.validate({ b : 2 }, { properties : { b : { requires : { properties : { b : { type : 'string' } } } } } }).errors.length, 0);
+});
+
+if (curDraftId > 2) {
+test("Dependencies Validation", function () {
+	equal(env.validate(null, { dependencies : {} }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2 }, { dependencies : {} }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2 }, { dependencies : { a : 'b' } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2 }, { dependencies : { c : 'd' } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2, c : 3 }, { dependencies : { a : ['b'], b : ['a', 'c'] } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2 }, { dependencies : { a : { properties : { b : { type : 'number', required : true } } } } }).errors.length, 0);
+	
+	notEqual(env.validate({ a : 1, b : 2 }, { dependencies : { a : 'c' } }).errors.length, 0);
+	notEqual(env.validate({ a : 1, b : 2, c : 3 }, { dependencies : { a : ['b'], b : ['a', 'd'] } }).errors.length, 0);
+	notEqual(env.validate({ a : 1, b : 2 }, { dependencies : { a : { properties : { b : { type : 'string', required : true } } } } }).errors.length, 0);
+});
+}
+
+test("Minimum/Maximum Validation", function () {
+	equal(env.validate(0, {}).errors.length, 0);
+	equal(env.validate(1, { minimum : 1, maximum : 10 }).errors.length, 0);
+	equal(env.validate(5, { minimum : 1, maximum : 10 }).errors.length, 0);
+	equal(env.validate(10, { minimum : 1, maximum : 10 }).errors.length, 0);
+	equal(env.validate(1, { minimum : 1, maximum : 1 }).errors.length, 0);
+	
+	notEqual(env.validate(0, { minimum : 1, maximum : 10 }).errors.length, 0);
+	notEqual(env.validate(11, { minimum : 1, maximum : 10 }).errors.length, 0);
+});
+
+test("MinimumCanEqual/MaximumCanEqual Validation", function () {
+	//true
+	notEqual(env.validate(0, { minimumCanEqual : true, maximumCanEqual : true }).errors.length, 0);  //illegal
+	equal(env.validate(1, { minimum : 1, maximum : 10, minimumCanEqual : true, maximumCanEqual : true }).errors.length, 0);
+	equal(env.validate(5, { minimum : 1, maximum : 10, minimumCanEqual : true, maximumCanEqual : true  }).errors.length, 0);
+	equal(env.validate(10, { minimum : 1, maximum : 10, minimumCanEqual : true, maximumCanEqual : true  }).errors.length, 0);
+	equal(env.validate(1, { minimum : 1, maximum : 1, minimumCanEqual : true, maximumCanEqual : true  }).errors.length, 0);
+	
+	notEqual(env.validate(0, { minimum : 1, maximum : 10, minimumCanEqual : true, maximumCanEqual : true  }).errors.length, 0);
+	notEqual(env.validate(11, { minimum : 1, maximum : 10, minimumCanEqual : true, maximumCanEqual : true  }).errors.length, 0);
+	
+	//false
+	notEqual(env.validate(0, { minimumCanEqual : false, maximumCanEqual : false }).errors.length, 0);  //illegal
+	equal(env.validate(1.0001, { minimum : 1, maximum : 10, minimumCanEqual : false, maximumCanEqual : false  }).errors.length, 0);
+	equal(env.validate(5, { minimum : 1, maximum : 10, minimumCanEqual : false, maximumCanEqual : false  }).errors.length, 0);
+	equal(env.validate(9.9999, { minimum : 1, maximum : 10, minimumCanEqual : false, maximumCanEqual : false  }).errors.length, 0);
+	
+	notEqual(env.validate(1, { minimum : 1, maximum : 10, minimumCanEqual : false, maximumCanEqual : false }).errors.length, 0);
+	notEqual(env.validate(10, { minimum : 1, maximum : 10, minimumCanEqual : false, maximumCanEqual : false  }).errors.length, 0);
+	notEqual(env.validate(1, { minimum : 1, maximum : 1, minimumCanEqual : false, maximumCanEqual : false  }).errors.length, 0);
+	notEqual(env.validate(0, { minimum : 1, maximum : 10, minimumCanEqual : false, maximumCanEqual : false  }).errors.length, 0);
+	notEqual(env.validate(11, { minimum : 1, maximum : 10, minimumCanEqual : false, maximumCanEqual : false  }).errors.length, 0);
+});
+
+if (curDraftId > 2) {
+test("ExclusiveMinimum/ExclusiveMaximum Validation", function () {
+	//true
+	notEqual(env.validate(0, { exclusiveMinimum : false, exclusiveMaximum : false }).errors.length, 0);  //illegal
+	equal(env.validate(1, { minimum : 1, maximum : 10, exclusiveMinimum : false, exclusiveMaximum : false }).errors.length, 0);
+	equal(env.validate(5, { minimum : 1, maximum : 10, exclusiveMinimum : false, exclusiveMaximum : false  }).errors.length, 0);
+	equal(env.validate(10, { minimum : 1, maximum : 10, exclusiveMinimum : false, exclusiveMaximum : false  }).errors.length, 0);
+	equal(env.validate(1, { minimum : 1, maximum : 1, exclusiveMinimum : false, exclusiveMaximum : false  }).errors.length, 0);
+	
+	notEqual(env.validate(0, { minimum : 1, maximum : 10, exclusiveMinimum : false, exclusiveMaximum : false  }).errors.length, 0);
+	notEqual(env.validate(11, { minimum : 1, maximum : 10, exclusiveMinimum : false, exclusiveMaximum : false  }).errors.length, 0);
+	
+	//false
+	notEqual(env.validate(0, { exclusiveMinimum : true, exclusiveMaximum : true }).errors.length, 0);  //illegal
+	equal(env.validate(1.0001, { minimum : 1, maximum : 10, exclusiveMinimum : true, exclusiveMaximum : true  }).errors.length, 0);
+	equal(env.validate(5, { minimum : 1, maximum : 10, exclusiveMinimum : true, exclusiveMaximum : true  }).errors.length, 0);
+	equal(env.validate(9.9999, { minimum : 1, maximum : 10, exclusiveMinimum : true, exclusiveMaximum : true  }).errors.length, 0);
+	
+	notEqual(env.validate(1, { minimum : 1, maximum : 10, exclusiveMinimum : true, exclusiveMaximum : true }).errors.length, 0);
+	notEqual(env.validate(10, { minimum : 1, maximum : 10, exclusiveMinimum : true, exclusiveMaximum : true  }).errors.length, 0);
+	notEqual(env.validate(1, { minimum : 1, maximum : 1, exclusiveMinimum : true, exclusiveMaximum : true  }).errors.length, 0);
+	notEqual(env.validate(0, { minimum : 1, maximum : 10, exclusiveMinimum : true, exclusiveMaximum : true  }).errors.length, 0);
+	notEqual(env.validate(11, { minimum : 1, maximum : 10, exclusiveMinimum : true, exclusiveMaximum : true  }).errors.length, 0);
+});
+}
+
+test("MinItems/MaxItems Validation", function () {
+	equal(env.validate([], {}).errors.length, 0);
+	equal(env.validate([1], { minItems : 1, maxItems : 1 }).errors.length, 0);
+	equal(env.validate([1], { minItems : 1, maxItems : 3 }).errors.length, 0);
+	equal(env.validate([1, 2], { minItems : 1, maxItems : 3 }).errors.length, 0);
+	equal(env.validate([1, 2, 3], { minItems : 1, maxItems : 3 }).errors.length, 0);
+	
+	notEqual(env.validate([], { minItems : 1, maxItems : 0 }).errors.length, 0);
+	notEqual(env.validate([], { minItems : 1, maxItems : 3 }).errors.length, 0);
+	notEqual(env.validate([1, 2, 3, 4], { minItems : 1, maxItems : 3 }).errors.length, 0);
+});
+
+if (curDraftId > 1) {
+test("UniqueItems Validation", function () {
+	equal(env.validate([], {}).errors.length, 0);
+	equal(env.validate([], { uniqueItems : true }).errors.length, 0);
+	equal(env.validate([null], { uniqueItems : true }).errors.length, 0);
+	equal(env.validate([true, false], { uniqueItems : true }).errors.length, 0);
+	equal(env.validate([1, 2, 3], { uniqueItems : true }).errors.length, 0);
+	equal(env.validate(['a', 'b'], { uniqueItems : true }).errors.length, 0);
+	equal(env.validate([[], []], { uniqueItems : true }).errors.length, 0);
+	equal(env.validate([{}, {}], { uniqueItems : true }).errors.length, 0);
+	
+	notEqual(env.validate([null, null], { uniqueItems : true }).errors.length, 0);
+	notEqual(env.validate([false, false], { uniqueItems : true }).errors.length, 0);
+	notEqual(env.validate([1, 2, 1], { uniqueItems : true }).errors.length, 0);
+	notEqual(env.validate(['a', 'b', 'b'], { uniqueItems : true }).errors.length, 0);
+});
+}
+
+test("Pattern Validation", function () {
+	equal(env.validate('', {}).errors.length, 0);
+	equal(env.validate('', { pattern : '^$' }).errors.length, 0);
+	equal(env.validate('today', { pattern : 'day' }).errors.length, 0);
+	
+	notEqual(env.validate('', { pattern : '^ $' }).errors.length, 0);
+	notEqual(env.validate('today', { pattern : 'dam' }).errors.length, 0);
+	notEqual(env.validate('aaaaa', { pattern : 'aa(a' }).errors.length, 0);
+});
+
+test("MinLength/MaxLength Validation", function () {
+	equal(env.validate('', {}).errors.length, 0);
+	equal(env.validate('1', { minLength : 1, maxLength : 1 }).errors.length, 0);
+	equal(env.validate('1', { minLength : 1, maxLength : 3 }).errors.length, 0);
+	equal(env.validate('12', { minLength : 1, maxLength : 3 }).errors.length, 0);
+	equal(env.validate('123', { minLength : 1, maxLength : 3 }).errors.length, 0);
+	
+	notEqual(env.validate('', { minLength : 1, maxLength : 0 }).errors.length, 0);
+	notEqual(env.validate('', { minLength : 1, maxLength : 3 }).errors.length, 0);
+	notEqual(env.validate('1234', { minLength : 1, maxLength : 3 }).errors.length, 0);
+});
+
+test("Enum Validation", function () {
+	equal(env.validate(null, {}).errors.length, 0);
+	equal(env.validate(true, { 'enum' : [false, true] }).errors.length, 0);
+	equal(env.validate(2, { 'enum' : [1, 2, 3] }).errors.length, 0);
+	equal(env.validate('a', { 'enum' : ['a'] }).errors.length, 0);
+	equal(env.validate({}, { 'properties' : { 'a' : { 'enum' : ['a'], 'optional' : true, 'required' : false } } }).errors.length, 0);
+	
+	notEqual(env.validate(true, { 'enum' : ['false', 'true'] }).errors.length, 0);
+	notEqual(env.validate(4, { 'enum' : [1, 2, 3, '4'] }).errors.length, 0);
+	notEqual(env.validate('', { 'enum' : [] }).errors.length, 0);
+	notEqual(env.validate({}, { 'properties' : { 'a' : { 'enum' : ['a'], 'optional' : false, 'required' : true } } }).errors.length, 0);
+});
+
+test("Format Validation", function () {
+	//TODO
+});
+
+test("MaxDecimal Validation", function () {
+	equal(env.validate(0, {}).errors.length, 0);
+	equal(env.validate(0, { maxDecimal : 0 }).errors.length, 0);
+	equal(env.validate(0, { maxDecimal : 1 }).errors.length, 0);
+	equal(env.validate(0.22, { maxDecimal : 2 }).errors.length, 0);
+	equal(env.validate(0.33, { maxDecimal : 3 }).errors.length, 0);
+	
+	notEqual(env.validate(0.1, { maxDecimal : 0 }).errors.length, 0);
+	notEqual(env.validate(0.111, { maxDecimal : 1 }).errors.length, 0);
+});
+
+if (curDraftId > 1) {
+test("DivisibleBy Validation", function () {
+	equal(env.validate(0, {}).errors.length, 0);
+	equal(env.validate(0, { divisibleBy : 1 }).errors.length, 0);
+	equal(env.validate(10, { divisibleBy : 5 }).errors.length, 0);
+	equal(env.validate(10, { divisibleBy : 10 }).errors.length, 0);
+	equal(env.validate(0, { divisibleBy : 2.5 }).errors.length, 0);
+	equal(env.validate(5, { divisibleBy : 2.5 }).errors.length, 0);
+	equal(env.validate(7.5, { divisibleBy : 2.5 }).errors.length, 0);
+	equal(env.validate(9.1, { divisibleBy : 1.3 }).errors.length, 0);
+	
+	notEqual(env.validate(0, { divisibleBy : 0 }).errors.length, 0);
+	notEqual(env.validate(7, { divisibleBy : 5 }).errors.length, 0);
+	notEqual(env.validate(4.5, { divisibleBy : 2 }).errors.length, 0);
+	notEqual(env.validate(7.5, { divisibleBy : 1.8 }).errors.length, 0);
+});
+}
+
+test("Disallow Validation", function () {
+	equal(env.validate({}, { disallow : ['null', 'boolean', 'number', 'integer', 'string', 'array'] }).errors.length, 0, "Object");
+	equal(env.validate([], { disallow : ['null', 'boolean', 'number', 'integer', 'string', 'object'] }).errors.length, 0, "Array");
+	equal(env.validate('', { disallow : ['null', 'boolean', 'number', 'integer', 'array', 'object'] }).errors.length, 0, "String");
+	equal(env.validate(0.1, { disallow : ['null', 'boolean', 'integer', 'string', 'array', 'object'] }).errors.length, 0, "Number");
+	equal(env.validate(00, { disallow : ['null', 'boolean', 'string', 'array', 'object'] }).errors.length, 0, "Integer");
+	equal(env.validate(false, { disallow : ['null', 'number', 'integer', 'string', 'array', 'object'] }).errors.length, 0, "Boolean");
+	equal(env.validate(null, { disallow : ['boolean', 'number', 'integer', 'string', 'array', 'object'] }).errors.length, 0, "Null");
+	
+	notEqual(env.validate({}, { disallow : 'object' }).errors.length, 0, "Object");
+	notEqual(env.validate([], { disallow : 'array' }).errors.length, 0, "Array");
+	notEqual(env.validate('', { disallow : 'string' }).errors.length, 0, "String");
+	notEqual(env.validate(00, { disallow : 'integer' }).errors.length, 0, "Number");
+	notEqual(env.validate(0.1, { disallow : 'number' }).errors.length, 0, "Integer");
+	notEqual(env.validate(false, { disallow : 'boolean' }).errors.length, 0, "Boolean");
+	notEqual(env.validate(null, { disallow : 'null' }).errors.length, 0, "Null");
+	notEqual(env.validate(null, { disallow : 'any' }).errors.length, 0, "Any");
+});
+
+test("Extends Validation", function () {
+	equal(env.validate({}, { 'extends' : {} }).errors.length, 0);
+	equal(env.validate({}, { 'extends' : { type : 'object' } }).errors.length, 0);
+	equal(env.validate(1, { type : 'integer', 'extends' : { type : 'number' } }).errors.length, 0);
+	equal(env.validate({ a : 1, b : 2 }, { properties : { a : { type : 'number' } }, additionalProperties : false, 'extends' : { properties : { b : { type : 'number' } } } }).errors.length, 0);
+	
+	notEqual(env.validate(1, { type : 'number', 'extends' : { type : 'string' } }).errors.length, 0);
+	
+	//TODO: More tests
+});
+
+test("JSON Schema Validation", function () {
+	var schema = env.findSchema(env.getOption("latestJSONSchemaSchemaURI"));
+	var hyperSchema = env.findSchema(env.getOption("latestJSONSchemaHyperSchemaURI"));
+	var links = env.findSchema(env.getOption("latestJSONSchemaLinksURI"));
+	
+	equal(schema.validate(schema).errors.length, 0, "schema.validate(schema)");
+	equal(hyperSchema.validate(schema).errors.length, 0, "hyperSchema.validate(schema)");
+	equal(hyperSchema.validate(hyperSchema).errors.length, 0, "hyperSchema.validate(hyperSchema)");
+	equal(hyperSchema.validate(links).errors.length, 0, "hyperSchema.validate(links)");
+});
+
+(function(curDraftId){
+test("Links Validation", function () {
+	var schema, instance;
+	//full
+	equal(env.validate({ 'a' : {} }, { 'type' : 'object', 'additionalProperties' : { '$ref' : '#' } }).errors.length, 0);
+	notEqual(env.validate({ 'a' : 1 }, { 'type' : 'object', 'additionalProperties' : { '$ref' : '#' } }).errors.length, 0);
+	
+	//describedby
+	okNoError(function () {
+		schema = env.createSchema({ "id" : "http://test.example.com/3", "properties" : { "test" : { "type" : "object" } }, "extends" : { "$ref" : "http://json-schema.org/draft-03/schema#" } }, null, "http://test.example.com/3");
+		equal(env.validate({}, { "$schema" : "http://test.example.com/3", "test" : {} }).errors.length, 0);
+		notEqual(env.validate({}, { "$schema" : "http://test.example.com/3", "test" : 0 }).errors.length, 0);
+	}, "describedby schema");
+	
+	//self
+	okNoError(function () {
+		schema = env.createSchema({ "properties" : { "two" : { "id" : "http://test.example.com/2", "type" : "object" } } }, null, "http://not.example.com/2");
+		equal(env.validate({}, { "$ref" : "http://test.example.com/2" }).errors.length, 0);
+		notEqual(env.validate(null, { "$ref" : "http://test.example.com/2" }).errors.length, 0);
+	}, "self schema");
+	
+	//links api
+	okNoError(function () {
+		schema = env.createSchema({ "links" : [ { "rel" : "bar", "href" : "http:" + (curDraftId < 3 ? "{-this}" : "{@}") + "#" } ] });
+		instance = env.createInstance("foo");
+		equal(schema.getLink("bar", instance), "http:foo#", "'bar' link and self reference");
+	}, "links api schema");
+	
+	//invalid reference
+	(env.getOption("enforceReferences") ? okError : okNoError)(function () {
+		schema = env.createSchema({ "$ref" : "asdf:qwerty" });  //should throw error
+	}, "invalid reference");
+});
+}(curDraftId));
+
+test("PathStart Validation", function () {
+	var instance = env.createInstance({}, "http://test.example.com/4"),
+		schema = env.createSchema({"pathStart" : "http://test.example.com"});
+	
+	equal(env.validate(instance, schema).errors.length, 0);
+	
+	instance = env.createInstance({});  //random URI
+	
+	notEqual(env.validate(instance, schema).errors.length, 0);
+});
+
+test("Register Schemas", function () {
+	var schema = env.createSchema({'type' : 'string'}, null, 'http://test.example.com/1');
+	equal(env.findSchema(env.getOption("latestJSONSchemaHyperSchemaURI")).validate(schema).errors.length, 0);
+	equal(env.validate('', { '$ref' : 'http://test.example.com/1' }).errors.length, 0);
+	notEqual(env.validate({}, { '$ref' : 'http://test.example.com/1' }).errors.length, 0);
+});
+
+test("Complex Examples", function () {
+	//example 1
+	var schema = env.createSchema({
+	   "id":"Common#",
+	   "type":"object",
+	   "properties":{
+	       "!":{"type":"string","enum":["Common"]}
+	   },
+	   "additionalProperties":false
+	}, undefined, "Common#");
+	
+	var report = env.validate({
+		  "!" : "List",
+		  "list" : [
+		    {
+		      "!" : "Text",
+		      "common" : {"!":"NotCommon"}
+		    }
+		  ],
+		  "common" : {"!":"Common"}
+		},
+		
+		{
+		   "properties":{
+		       "!":{"type":"string","enum":["List"]},
+		       "list":{
+		           "type":"array",
+		           "items":{
+		               "type":[
+		                   {
+		                       "type":"object",
+		                       "properties":{
+		                           "!":{"type":"string","enum":["Music"]},
+		                           "common":{"$ref":"Common#"}
+		                       }
+		                   },
+		                   {
+		                       "type":"object",
+		                       "properties":{
+		                           "!":{"type":"string","enum":["Text"]},
+		                           "common":{"$ref":"Common#"}
+		                       }
+		                   }
+		               ]
+		           }
+		       },
+		
+		       "common":{"$ref":"Common#"}
+		   }
+		}
+	);
+	
+	notEqual(report.errors.length, 0, "example 1");
+	
+	//example 2
+	schema = env.createSchema({
+	    "extends": {
+	        "type": "object",
+	        "properties": {
+	            "id": {
+	                "type": "string",
+	                "minLength": 1,
+	                "pattern": "^\\S.+\\S$"
+	            }
+	        }
+	    },
+	    "properties": {
+	        "role": {
+	            "extends": {
+	                "type": "string",
+	                "minLength": 1,
+	                "pattern": "^\\S.+\\S$"
+	            },
+	            "description": "some description"
+	        }
+	    }
+	});
+	
+	report = env.validate({ "id" : "some id", "role" : "yunowork?"}, schema);
+	
+	equal(report.errors.length, 0, "example 2");
+});
+
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/tests3b.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/tests3b.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/JSV/tests/tests3b.js	(revision 505)
@@ -0,0 +1,211 @@
+var env;
+
+//calls ok(true) if no error is thrown
+function okNoError(func, msg) {
+	try {
+		func();
+		ok(true, msg);
+	} catch (e) {
+		ok(false, msg + ': ' + e);
+	}
+}
+
+
+function setupEnv () {
+    env = env || require('../lib/jsv').JSV.createEnvironment("json-schema-draft-03");
+
+    // AddressBook example from http://relaxng.org/compact-tutorial-20030326.html
+    env.createSchema({
+                         "type": "object",
+                         "id": "http://example.com/addressbook.json",
+                         "description": "AddressBook example from http://relaxng.org/compact-tutorial-20030326.html",
+                         "properties": {
+                             "cards": {
+                                 "type": "array",
+                                 "items": {
+                                     "type": "array",
+                                     "items": {
+                                         "type": "string"
+                                     },
+                                     "minItems": 2,
+                                     "maxItems": 2,
+                                     "$schema":"http://json-schema.org/draft-03/schema#"
+                                 },
+                                 "required": true
+                             }
+                         },
+                         "$schema":"http://json-schema.org/draft-03/schema#"
+                     },
+                     undefined,
+                     "http://example.com/addressbook.json");
+
+    // The referral target schema, with a canonical id.
+    env.createSchema({
+                         "type": "array",
+                         "id": "http://example.com/subdir/card.json",
+                         "description": "Referral target",
+                         "items": {
+                             "type": "string"
+                         },
+                         "minItems": 2,
+                         "maxItems": 2,
+                         "$schema":"http://json-schema.org/draft-03/schema#"
+                     },
+                     undefined,
+                     "http://example.com/subdir/card.json");
+
+    // Similar example, using $ref to factor part of the schema.
+    env.createSchema({
+                         "type": "object",
+                         "id": "http://example.com/addressbook_ref.json",
+                         "description": "Similar example, using $ref to factor part of the schema.",
+                         "properties": {
+                             "cards": {
+                                 "type": "array",
+                                 "items": {
+                                     "$ref": "./subdir/card.json"
+                                 },
+                                 "required": true
+                             }
+                         },
+                         "$schema":"http://json-schema.org/draft-03/schema#"
+                     },
+                     undefined,
+                     "http://example.com/addressbook_ref.json");
+
+
+    // Similar example, using extends to factor part of the schema.
+    env.createSchema({
+                         "type": "object",
+                         "id": "http://example.com/addressbook_extends.json",
+                         "description": "Similar example, using extends to factor part of the schema.",
+                         "properties": {
+                             "cards": {
+                                 "type": "array",
+                                 "items": {
+                                     "extends": {
+                                         "$ref": "./subdir/card.json"
+                                     }
+                                 },
+                                 "required": true
+                             }
+                         },
+                         "$schema":"http://json-schema.org/draft-03/schema#"
+                     },
+                     undefined,
+                     "http://example.com/addressbook_extends.json");
+}
+
+
+//
+//
+// Tests
+//
+//
+
+module("Reference Tests");
+
+test("Self Identifying Schemas", function () {
+
+         setupEnv();
+
+         // While createSchema takes a URI argument, for V3 schemas the validator should be able
+         // to use the canonical id field to find it, if it has been registered.
+         // http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.27
+
+          env.createSchema({ "id": "http://example.com/foo.json",
+                             "$schema":"http://json-schema.org/draft-03/schema#"
+                           });
+
+         ok(env.findSchema("http://example.com/foo.json"), "found schema by id");
+     });
+
+test("Forward Referral", function () {
+
+         setupEnv();
+         // A schema with a reference in it should be accepted, even if the destination schema
+         // hasn't been registered yet.
+
+         okNoError(function () {
+                       env.createSchema({
+                                            "type": "object",
+                                            "id": "http://example.com/addressbook.json",
+                                            "properties": {
+                                                "cards": {
+                                                    "type": "array",
+                                                    "items": {
+                                                        "$ref": "http://example.com/subdir/card.json"
+                                                    },
+                                                    "required": true
+                                                }
+                                            },
+                                            "$schema":"http://json-schema.org/draft-03/schema#"
+                                        });
+                   }, "Can make schema with forward reference");
+
+     });
+
+test("Validate Schema", function () {
+
+         setupEnv();
+
+         var jsonschema = env.findSchema(env.getOption("latestJSONSchemaSchemaURI"));
+         var explicit_schema = env.findSchema("http://example.com/addressbook.json");
+         var referring_schema = env.findSchema("http://example.com/addressbook_ref.json");
+         var card_schema = env.findSchema("http://example.com/subdir/card.json");
+
+         ok(explicit_schema, "explicit addressbook schema");
+         ok(referring_schema, "referring addressbook schema");
+         ok(card_schema, "card schema");
+
+         equal(jsonschema.validate(explicit_schema).errors.length, 0, 'valid explicit schema');
+         equal(jsonschema.validate(referring_schema).errors.length, 0, 'valid referring schema');
+         equal(jsonschema.validate(card_schema).errors.length, 0, 'valid referral target schema');
+
+     });
+
+test("Simple Referral", function () {
+
+         setupEnv();
+
+         var schema = { "$ref": "http://example.com/subdir/card.json" };
+         notEqual(env.validate({}, schema).errors.length, 0, "card must be array");
+         notEqual(env.validate([], schema).errors.length, 0, "card must have fields");
+         notEqual(env.validate(["foo"], schema).errors.length, 0, "card must have two fields");
+         notEqual(env.validate(["foo", {}], schema).errors.length, 0, "both fields must be string");
+         notEqual(env.validate(["foo", "bar", "baz"], schema).errors.length, 0, "card maxItems 2");
+         equal(env.validate(["foo", "bar"], schema).errors.length, 0, "card maxItems 2");
+     });
+
+function validateAddressbook (test_name, schema_uri) {
+    var schema = { "$ref": schema_uri };
+
+    test(test_name, function () {
+
+             setupEnv();
+
+             notEqual(env.validate('', schema).errors.length, 0, "addressbook is object");
+             notEqual(env.validate({}, schema).errors.length, 0, "cards required");
+             notEqual(env.validate({ "cards": {}}, schema).errors.length, 0, "cards must be array");
+             equal(env.validate({ "cards": []}, schema).errors.length, 0, "empty array ok");
+
+             notEqual(env.validate({ "cards": [ {} ] }, schema).errors.length, 0,
+                      "cards schema is enforced on items");
+
+             notEqual(env.validate({ "cards": [['foo']]}, schema).errors.length, 0,
+                      "each card must have length 2");
+
+             notEqual(env.validate({ "cards": [ ['foo', 'bar' ], ["foo" ] ] }, schema).errors.length, 0,
+                      "second card is bad");
+
+             equal(env.validate({ "cards": [ ["foo", "bar" ] ] }, schema).errors.length, 0,
+                   "good addressbook with one card");
+
+             equal(env.validate({ "cards": [ ["foo", "bar" ], ["bar", "foo" ] ] }, schema).errors.length, 0,
+                   "good addressbook with two cards");
+         });
+}
+
+validateAddressbook("Explicit Schema", "http://example.com/addressbook.json");
+validateAddressbook("Referring Schema", "http://example.com/addressbook_ref.json");
+validateAddressbook("Extends Schema", "http://example.com/addressbook_extends.json");
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/.npmignore
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/.npmignore	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/.npmignore	(revision 505)
@@ -0,0 +1,1 @@
+node_modules
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/LICENSE
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/LICENSE	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/LICENSE	(revision 505)
@@ -0,0 +1,20 @@
+Copyright (c) 2010 Heather Arthur
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/README.md
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/README.md	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/README.md	(revision 505)
@@ -0,0 +1,307 @@
+# nomnom
+nomnom is an option parser for node. It noms your args and gives them back to you in a hash.
+
+```javascript
+var opts = require("nomnom")
+   .option('debug', {
+      abbr: 'd',
+      flag: true,
+      help: 'Print debugging info'
+   })
+   .option('config', {
+      abbr: 'c',
+      default: 'config.json',
+      help: 'JSON file with tests to run'
+   })
+   .option('version', {
+      flag: true,
+      help: 'print version and exit',
+      callback: function() {
+         return "version 1.2.4";
+      }
+   })
+   .parse();
+
+if (opts.debug)
+   // do stuff
+```
+
+You don't have to specify anything if you don't want to:
+
+```javascript
+var opts = require("nomnom").parse();
+
+var url = opts[0];     // get the first positional arg
+var file = opts.file   // see if --file was specified
+var verbose = opts.v   // see if -v was specified
+var extras = opts._    // get an array of the unmatched, positional args
+```
+
+# Install
+for [node.js](http://nodejs.org/) and [npm](http://github.com/isaacs/npm):
+
+	npm install nomnom
+
+# More Details
+Nomnom supports args like `-d`, `--debug`, `--no-debug`, `--file=test.txt`, `--file test.txt`, `-f test.txt`, `-xvf`, and positionals. Positionals are arguments that don't fit the `-a` or `--atomic` format and aren't attached to an option.
+
+Values are JSON parsed, so `--debug=true --count=3 --file=log.txt` would give you:
+
+```
+{
+   "debug": true,
+   "count": 3,
+   "file": "log.txt"
+}
+```
+
+# Commands
+Nomnom supports command-based interfaces (e.g. with git: `git add -p` and `git rebase -i` where `add` and `rebase` are the commands):
+
+```javascript
+var parser = require("nomnom");
+
+parser.command('browser')
+   .callback(function(opts) {
+      runBrowser(opts.url);
+   })
+   .help("run browser tests");
+
+parser.command('sanity')
+   .option('outfile', {
+      abbr: 'o',
+      help: "file to write results to"
+   })
+   .option('config', {
+      abbr: 'c',
+      default: 'config.json',
+      help: "json manifest of tests to run"
+   })
+   .callback(function(opts) {
+      runSanity(opts.filename);
+   })
+   .help("run the sanity tests")
+
+parser.parse();
+```
+
+Each command generates its own usage message when `-h` or `--help` is specified with the command.
+
+# Usage
+Nomnom prints out a usage message if `--help` or `-h` is an argument. Usage for these options in `test.js`:
+
+```javascript
+var opts = require("nomnom")
+   .script("runtests")
+   .options({
+      path: {
+         position: 0,
+         help: "Test file to run",
+         list: true
+      },
+      config: {
+         abbr: 'c',
+         metavar: 'FILE',
+         help: "Config file with tests to run"
+      },
+      debug: {
+         abbr: 'd',
+         flag: true,
+         help: "Print debugging info"
+      }
+   }).parse();
+```
+
+...would look like this:
+
+	usage: runtests <path>... [options]
+
+	path     Test file to run
+
+	options:
+	   -c FILE, --config FILE   Config file with tests to run
+	   -d, --debug              Print debugging info
+
+# Options
+You can either add a specification for an option with `nomnom.option('name', spec)` or pass the specifications to `nomnom.options()` as a hash keyed on option name. Each option specification can have the following fields:
+
+#### abbr and full
+`abbr` is the single character string to match to this option, `full` is the full-length string (defaults to the name of the option).
+
+This option matches `-d` and `--debug` on the command line:
+
+```javascript
+nomnom.option('debug', {
+   abbr: 'd'
+})
+```
+
+This option matches `-n 3`, `--num-lines 12` on the command line:
+
+```javascript
+nomnom.option('numLines', {
+   abbr: 'n',
+   full: 'num-lines'
+})
+```
+
+#### flag
+
+If this is set to true, the option acts as a flag and doesn't swallow the next value on the command line. Default is `false`, so normally if you had a command line `--config test.js`, `config` would get a value of `test.js` in the options hash. Whereas if you specify:
+
+```javascript
+nomnom.option('config', {
+   flag: true
+})
+```
+
+`config` would get a value of `true` in the options hash, and `test.js` would be a free positional arg.
+
+#### metavar
+
+`metavar` is used in the usage printout e.g. `"PATH"` in `"-f PATH, --file PATH"`.
+
+#### string
+
+A shorthand for `abbr`, `full`, and `metavar`. For example, to attach an option to `-c` and `--config` use a `string: "-c FILE, --config=FILE"`
+
+#### help
+
+A string description of the option for the usage printout.
+
+#### default
+
+The value to give the option if it's not specified in the arguments.
+
+#### callback
+
+A callback that will be executed as soon as the option is encountered. If the callback returns a string it will print the string and exit:
+
+```javascript
+nomnom.option('count', {
+   callback: function(count) {
+      if (count != parseInt(count))
+         return "count must be an integer";
+   }
+})
+```
+
+#### position
+
+The position of the option if it's a positional argument. If the option should be matched to the first positional arg use position `0`, etc.
+
+#### list
+
+Specifies that the option is a list. Appending can be achieved by specifying the arg more than once on the command line:
+
+	node test.js --file=test1.js --file=test2.js
+
+If the option has a `position` and `list` is `true`, all positional args including and after `position` will be appended to the array.
+
+#### required
+
+If this is set to `true` and the option isn't in the args, a message will be printed and the program will exit.
+
+#### choices
+
+A list of the possible values for the option (e.g. `['run', 'test', 'open']`). If the parsed value isn't in the list a message will be printed and the program will exit.
+
+#### type
+
+If you don't want the option JSON-parsed, specify type `"string"`.
+
+#### hidden
+
+Option won't be printed in the usage
+
+
+# Parser interface
+`require("nomnom")` will give you the option parser. You can also make an instance of a parser with `require("nomnom")()`. You can chain any of these functions off of a parser:
+
+#### option
+
+Add an option specification with the given name:
+
+```javascript
+nomnom.option('debug', {
+   abbr: 'd',
+   flag: true,
+   help: "Print debugging info"
+})
+```
+
+#### options
+
+Add options as a hash keyed by option name, good for a cli with tons of options like [this example](http://github.com/harthur/replace/blob/master/bin/replace.js):
+
+```javascript
+nomnom.options({
+   debug: {
+      abbr: 'd',
+      flag: true,
+      help: "Print debugging info"
+   },
+   fruit: {
+      help: "Fruit to buy"
+   }
+})
+```
+
+#### usage
+
+The string that will override the default generated usage message.
+
+#### help
+
+A string that is appended to the usage.
+
+#### script
+
+Nomnom can't detect the alias used to run your script. You can use `script` to provide the correct name for the usage printout instead of e.g. `node test.js`.
+
+#### printer
+
+Overrides the usage printing function.
+
+#### command
+
+Takes a command name and gives you a command object on which you can chain command options.
+
+#### nocommand
+
+Gives a command object that will be used when no command is called.
+
+#### parse
+
+Parses node's `process.argv` and returns the parsed options hash. You can also provide argv:
+
+```javascript
+var opts = nomnom.parse(["-xvf", "--atomic=true"])
+```
+
+#### nom
+
+The same as `parse()`.
+
+# Command interface
+A command is specified with `nomnom.command('name')`. All these functions can be chained on a command:
+
+#### option
+
+Add an option specifically for this command.
+
+#### options
+
+Add options for this command as a hash of options keyed by name.
+
+#### callback
+
+A callback that will be called with the parsed options when the command is used.
+
+#### help
+
+A help string describing the function of this command.
+
+#### usage
+
+Override the default generated usage string for this command.
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/MIT-LICENSE.txt
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/MIT-LICENSE.txt	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/MIT-LICENSE.txt	(revision 505)
@@ -0,0 +1,19 @@
+Copyright (c) 2010 Alexis Sellier (cloudhead) , Marak Squires
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/ReadMe.md
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/ReadMe.md	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/ReadMe.md	(revision 505)
@@ -0,0 +1,30 @@
+<h1>colors.js - get color and style in your node.js console like what</h1>
+
+<img src="http://i.imgur.com/goJdO.png" border = "0"/>
+
+       var sys = require('sys');
+       var colors = require('./colors');
+
+       sys.puts('hello'.green); // outputs green text
+       sys.puts('i like cake and pies'.underline.red) // outputs red underlined text
+       sys.puts('inverse the color'.inverse); // inverses the color
+       sys.puts('OMG Rainbows!'.rainbow); // rainbow (ignores spaces)
+       
+<h2>colors and styles!</h2>
+- bold
+- italic
+- underline
+- inverse
+- yellow
+- cyan
+- white
+- magenta
+- green
+- red
+- grey
+- blue
+
+
+### Authors 
+
+#### Alexis Sellier (cloudhead) , Marak Squires , Justin Campbell, Dustin Diaz (@ded)
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/colors.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/colors.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/colors.js	(revision 505)
@@ -0,0 +1,232 @@
+/*
+colors.js
+
+Copyright (c) 2010 Alexis Sellier (cloudhead) , Marak Squires
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+*/
+
+exports.mode = "console";
+
+// prototypes the string object to have additional method calls that add terminal colors
+
+var addProperty = function (color, func) {
+  exports[color] = function(str) {
+    return func.apply(str);
+  };
+  String.prototype.__defineGetter__(color, func);
+}
+
+var isHeadless = (typeof module !== 'undefined');
+['bold', 'underline', 'italic', 'inverse', 'grey', 'black', 'yellow', 'red', 'green', 'blue', 'white', 'cyan', 'magenta'].forEach(function (style) {
+
+  // __defineGetter__ at the least works in more browsers
+  // http://robertnyman.com/javascript/javascript-getters-setters.html
+  // Object.defineProperty only works in Chrome
+  addProperty(style, function () {
+    return isHeadless ?
+             stylize(this, style) : // for those running in node (headless environments)
+             this.replace(/( )/, '$1'); // and for those running in browsers:
+             // re: ^ you'd think 'return this' works (but doesn't) so replace coerces the string to be a real string
+  });
+});
+
+// prototypes string with method "rainbow"
+// rainbow will apply a the color spectrum to a string, changing colors every letter
+addProperty('rainbow', function () {
+  if (!isHeadless) {
+    return this.replace(/( )/, '$1');
+  }
+  var rainbowcolors = ['red','yellow','green','blue','magenta']; //RoY G BiV
+  var exploded = this.split("");
+  var i=0;
+  exploded = exploded.map(function(letter) {
+    if (letter==" ") {
+      return letter;
+    }
+    else {
+      return stylize(letter,rainbowcolors[i++ % rainbowcolors.length]);
+    }
+  });
+  return exploded.join("");
+});
+
+function stylize(str, style) {
+  if (exports.mode == 'console') {
+    var styles = {
+      //styles
+      'bold'      : ['\033[1m',  '\033[22m'],
+      'italic'    : ['\033[3m',  '\033[23m'],
+      'underline' : ['\033[4m',  '\033[24m'],
+      'inverse'   : ['\033[7m',  '\033[27m'],
+      //grayscale
+      'white'     : ['\033[37m', '\033[39m'],
+      'grey'      : ['\033[90m', '\033[39m'],
+      'black'     : ['\033[30m', '\033[39m'],
+      //colors
+      'blue'      : ['\033[34m', '\033[39m'],
+      'cyan'      : ['\033[36m', '\033[39m'],
+      'green'     : ['\033[32m', '\033[39m'],
+      'magenta'   : ['\033[35m', '\033[39m'],
+      'red'       : ['\033[31m', '\033[39m'],
+      'yellow'    : ['\033[33m', '\033[39m']
+    };
+  } else if (exports.mode == 'browser') {
+    var styles = {
+      //styles
+      'bold'      : ['<b>',  '</b>'],
+      'italic'    : ['<i>',  '</i>'],
+      'underline' : ['<u>',  '</u>'],
+      'inverse'   : ['<span style="background-color:black;color:white;">',  '</span>'],
+      //grayscale
+      'white'     : ['<span style="color:white;">',   '</span>'],
+      'grey'      : ['<span style="color:grey;">',    '</span>'],
+      'black'     : ['<span style="color:black;">',   '</span>'],
+      //colors
+      'blue'      : ['<span style="color:blue;">',    '</span>'],
+      'cyan'      : ['<span style="color:cyan;">',    '</span>'],
+      'green'     : ['<span style="color:green;">',   '</span>'],
+      'magenta'   : ['<span style="color:magenta;">', '</span>'],
+      'red'       : ['<span style="color:red;">',     '</span>'],
+      'yellow'    : ['<span style="color:yellow;">',  '</span>']
+    };
+  } else if (exports.mode == 'none') {
+      return str;
+  } else {
+    console.log('unsupported mode, try "browser", "console" or "none"');
+  }
+
+  return styles[style][0] + str + styles[style][1];
+};
+
+// don't summon zalgo
+addProperty('zalgo', function () {
+  return zalgo(this);
+});
+
+// please no
+function zalgo(text, options) {
+  var soul = {
+    "up" : [
+      'Ì','Ì','Ì','Ì
+',
+      'Ì¿','Ì','Ì','Ì',
+      'Í','Í','Í','Ì',
+      'Ì','Ì','Í','Ì',
+      'Ì','Í','Í','Í',
+      'Ì','Ì','Ì','Í',
+      'Ì','Ì','Ì','Ì',
+      'Ì','Ì','Ì','Ìœ',
+      'Ì','Í£','Í€','Í¥',
+      'ÍŠ','Í§','Íš','Í©',
+      'Íª','Í«','Í¬','Í­',
+      'Í®','Í¯','ÌŸ','Í',
+      'Í','Ì'
+      ],
+    "down" : [
+      'Ì','Ì','Ì','Ì',
+      'Ì','Ì','Ì','Ì',
+      'Ì ','Ì€','Ì¥','ÌŠ',
+      'Ì©','Ìª','Ì«','Ì¬',
+      'Ì­','Ì®','Ì¯','Ì°',
+      'Ì±','Ì²','Ì³','Ì¹',
+      'Ìº','Ì»','ÌŒ','Í
+',
+      'Í','Í','Í','Í',
+      'Í','Í','Í','Í',
+      'Í','Í','Í','Ì£'
+      ],
+    "mid" : [
+      'Ì','Ì','Ì','Ì',
+      'Í','Ì¡','Ì¢','Ì§',
+      'Ìš','ÌŽ','Ìµ','Ì¶',
+      'Í','Í','Í',
+      'Í','Í ','Í¢','Ìž',
+      'Ì·','Í¡',' Ò'
+      ]
+  },
+  all = [].concat(soul.up, soul.down, soul.mid),
+  zalgo = {};
+
+  function randomNumber(range) {
+    r = Math.floor(Math.random()*range);
+    return r;
+  };
+
+  function is_char(character) {
+    var bool = false;
+    all.filter(function(i){
+     bool = (i == character);
+    });
+    return bool;
+  }
+
+  function heComes(text, options){
+      result = '';
+      options = options || {};
+      options["up"] = options["up"] || true;
+      options["mid"] = options["mid"] || true;
+      options["down"] = options["down"] || true;
+      options["size"] = options["size"] || "maxi";
+      var counts;
+      text = text.split('');
+       for(var l in text){
+         if(is_char(l)) { continue; }
+         result = result + text[l];
+
+        counts = {"up" : 0, "down" : 0, "mid" : 0};
+
+        switch(options.size) {
+          case 'mini':
+            counts.up = randomNumber(8);
+            counts.min= randomNumber(2);
+            counts.down = randomNumber(8);
+          break;
+          case 'maxi':
+            counts.up = randomNumber(16) + 3;
+            counts.min = randomNumber(4) + 1;
+            counts.down = randomNumber(64) + 3;
+          break;
+          default:
+            counts.up = randomNumber(8) + 1;
+            counts.mid = randomNumber(6) / 2;
+            counts.down= randomNumber(8) + 1;
+          break;
+        }
+
+        var arr = ["up", "mid", "down"];
+        for(var d in arr){
+          var index = arr[d];
+          for (var i = 0 ; i <= counts[index]; i++)
+          {
+            if(options[index]) {
+                result = result + soul[index][randomNumber(soul[index].length)];
+              }
+            }
+          }
+        }
+      return result;
+  };
+  return heComes(text);
+}
+
+addProperty('stripColors', function() {
+  return ("" + this).replace(/\u001b\[\d+m/g,'');
+});
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/example.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/example.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/example.html	(revision 505)
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML>
+<html lang="en-us">
+  <head>
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+    <title>Colors Example</title>
+    <script src="colors.js"></script>
+    <script type="text/javascript">
+      console.log('Rainbows are fun!'.rainbow);
+      console.log('So '.italic + 'are'.underline + ' styles! '.bold + 'inverse'.inverse);
+      console.log('Chains are also cool.'.bold.italic.underline.red);
+    </script>
+  </head>
+  <body>
+    <script>
+      document.write('Rainbows are fun!'.rainbow + '<br>');
+      document.write('So '.italic + 'are'.underline + ' styles! '.bold + 'inverse'.inverse + '<br>');
+      document.write('Chains are also cool.'.bold.italic.underline.red);
+    </script>
+  </body>
+</html>
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/example.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/example.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/example.js	(revision 505)
@@ -0,0 +1,20 @@
+var util = require('util');
+var colors = require('./colors');
+
+//colors.mode = "browser";
+
+var test = colors.red("hopefully colorless output");
+util.puts('Rainbows are fun!'.rainbow);
+util.puts('So '.italic + 'are'.underline + ' styles! '.bold + 'inverse'.inverse); // styles not widely supported
+util.puts('Chains are also cool.'.bold.italic.underline.red); // styles not widely supported
+//util.puts('zalgo time!'.zalgo);
+util.puts(test.stripColors);
+util.puts("a".grey + " b".black);
+
+util.puts(colors.rainbow('Rainbows are fun!'));
+util.puts(colors.italic('So ') + colors.underline('are') + colors.bold(' styles! ') + colors.inverse('inverse')); // styles not widely supported
+util.puts(colors.bold(colors.italic(colors.underline(colors.red('Chains are also cool.'))))); // styles not widely supported
+//util.puts(colors.zalgo('zalgo time!'));
+util.puts(colors.stripColors(test));
+util.puts(colors.grey("a") + colors.black(" b"));
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/package.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/package.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/node_modules/colors/package.json	(revision 505)
@@ -0,0 +1,24 @@
+{
+  "name": "colors",
+  "description": "get colors in your node.js console like what",
+  "version": "0.5.1",
+  "author": {
+    "name": "Marak Squires"
+  },
+  "repository": {
+    "type": "git",
+    "url": "http://github.com/Marak/colors.js.git"
+  },
+  "engines": {
+    "node": ">=0.1.90"
+  },
+  "main": "colors",
+  "readme": "<h1>colors.js - get color and style in your node.js console like what</h1>\n\n<img src=\"http://i.imgur.com/goJdO.png\" border = \"0\"/>\n\n       var sys = require('sys');\n       var colors = require('./colors');\n\n       sys.puts('hello'.green); // outputs green text\n       sys.puts('i like cake and pies'.underline.red) // outputs red underlined text\n       sys.puts('inverse the color'.inverse); // inverses the color\n       sys.puts('OMG Rainbows!'.rainbow); // rainbow (ignores spaces)\n       \n<h2>colors and styles!</h2>\n- bold\n- italic\n- underline\n- inverse\n- yellow\n- cyan\n- white\n- magenta\n- green\n- red\n- grey\n- blue\n\n\n### Authors \n\n#### Alexis Sellier (cloudhead) , Marak Squires , Justin Campbell, Dustin Diaz (@ded)\n",
+  "readmeFilename": "ReadMe.md",
+  "bugs": {
+    "url": "https://github.com/Marak/colors.js/issues"
+  },
+  "homepage": "https://github.com/Marak/colors.js",
+  "_id": "colors@0.5.1",
+  "_from": "colors@0.5.x"
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/nomnom.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/nomnom.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/nomnom.js	(revision 505)
@@ -0,0 +1,581 @@
+var _ = require("underscore"),
+    colors = require("colors");
+
+
+function ArgParser() {
+   this.commands = {};  // expected commands
+   this.specs = {};     // option specifications
+}
+
+ArgParser.prototype = {
+  /* Add a command to the expected commands */
+  command : function(name) {
+    var command;
+    if (name) {
+      command = this.commands[name] = {
+        name: name,
+        specs: {}
+      };
+    }
+    else {
+      command = this.fallback = {
+        specs: {}
+      };
+    }
+
+    // facilitates command('name').options().cb().help()
+    var chain = {
+      options : function(specs) {
+        command.specs = specs;
+        return chain;
+      },
+      opts : function(specs) {
+        // old API
+        return this.options(specs);
+      },
+      option : function(name, spec) {
+        command.specs[name] = spec;
+        return chain;
+      },
+      callback : function(cb) {
+        command.cb = cb;
+        return chain;
+      },
+      help : function(help) {
+        command.help = help;
+        return chain;
+      },
+      usage : function(usage) {
+        command._usage = usage;
+        return chain;
+      }
+    };
+    return chain;
+  },
+
+  nocommand : function() {
+    return this.command();
+  },
+
+  options : function(specs) {
+    this.specs = specs;
+    return this;
+  },
+
+  opts : function(specs) {
+    // old API
+    return this.options(specs);
+  },
+
+  globalOpts : function(specs) {
+    // old API
+    return this.options(specs);
+  },
+
+  option : function(name, spec) {
+    this.specs[name] = spec;
+    return this;
+  },
+
+  usage : function(usage) {
+    this._usage = usage;
+    return this;
+  },
+
+  printer : function(print) {
+    this.print = print;
+    return this;
+  },
+
+  script : function(script) {
+    this._script = script;
+    return this;
+  },
+
+  scriptName : function(script) {
+    // old API
+    return this.script(script);
+  },
+
+  help : function(help) {
+    this._help = help;
+    return this;
+  },
+
+  colors: function() {
+    // deprecated - colors are on by default now
+    return this;
+  },
+
+  nocolors : function() {
+    this._nocolors = true;
+    return this;
+  },
+
+  parseArgs : function(argv) {
+    // old API
+    return this.parse(argv);
+  },
+
+  nom : function(argv) {
+    return this.parse(argv);
+  },
+
+  parse : function(argv) {
+    this.print = this.print || function(str, code) {
+      console.log(str);
+      process.exit(code || 0);
+    };
+    this._help = this._help || "";
+    this._script = this._script || process.argv[0] + " "
+          + require('path').basename(process.argv[1]);
+    this.specs = this.specs || {};
+
+    var argv = argv || process.argv.slice(2);
+
+    var arg = Arg(argv[0]).isValue && argv[0],
+        command = arg && this.commands[arg],
+        commandExpected = !_(this.commands).isEmpty();
+
+    if (commandExpected) {
+       if (command) {
+          _(this.specs).extend(command.specs);
+          this._script += " " + command.name;
+          if (command.help) {
+            this._help = command.help;
+          }
+          this.command = command;
+       }
+       else if (arg) {
+          return this.print(this._script + ": no such command '" + arg + "'", 1);
+       }
+       else {
+          // no command but command expected e.g. 'git -v'
+          var helpStringBuilder = {
+            list : function() {
+               return 'one of: ' + _(this.commands).keys().join(", ");
+            },
+            twoColumn : function() {
+              // find the longest command name to ensure horizontal alignment
+              var maxLength = _(this.commands).max(function (cmd) {
+                return cmd.name.length;
+              }).name.length;
+
+              // create the two column text strings
+              var cmdHelp = _.map(this.commands, function(cmd, name) {
+                var diff = maxLength - name.length;
+                var pad = new Array(diff + 4).join(" ");
+                return "  " + [ name, pad, cmd.help ].join(" ");
+              });
+              return "\n" + cmdHelp.join("\n");
+            }
+          };
+
+          // if there are a small number of commands and all have help strings,
+          // display them in a two column table; otherwise use the brief version.
+          // The arbitrary choice of "20" comes from the number commands git
+          // displays as "common commands"
+          var helpType = 'list';
+          if (_(this.commands).size() <= 20) {
+            if (_(this.commands).every(function (cmd) { return cmd.help; })) {
+                helpType = 'twoColumn';
+            }
+          }
+
+          this.specs.command = {
+            position: 0,
+            help: helpStringBuilder[helpType].call(this)
+          }
+
+          if (this.fallback) {
+            _(this.specs).extend(this.fallback.specs);
+            this._help = this.fallback.help;
+          } else {
+            this.specs.command.required = true;
+          }
+       }
+    }
+
+    if (this.specs.length === undefined) {
+      // specs is a hash not an array
+      this.specs = _(this.specs).map(function(opt, name) {
+        opt.name = name;
+        return opt;
+      });
+    }
+    this.specs = this.specs.map(function(opt) {
+      return Opt(opt);
+    });
+
+    if (argv.indexOf("--help") >= 0 || argv.indexOf("-h") >= 0) {
+      return this.print(this.getUsage());
+    }
+
+    var options = {};
+    var args = argv.map(function(arg) {
+      return Arg(arg);
+    })
+    .concat(Arg());
+
+    var positionals = [];
+
+    /* parse the args */
+    var that = this;
+    args.reduce(function(arg, val) {
+      /* positional */
+      if (arg.isValue) {
+        positionals.push(arg.value);
+      }
+      else if (arg.chars) {
+        var last = arg.chars.pop();
+
+        /* -cfv */
+        (arg.chars).forEach(function(ch) {
+          that.setOption(options, ch, true);
+        });
+
+        /* -v key */
+        if (!that.opt(last).flag) {
+           if (val.isValue)  {
+              that.setOption(options, last, val.value);
+              return Arg(); // skip next turn - swallow arg
+           }
+           else {
+              that.print("'-" + (that.opt(last).name || last) + "'"
+                + " expects a value\n\n" + that.getUsage(), 1);
+           }
+        }
+        else {
+          /* -v */
+          that.setOption(options, last, true);
+        }
+
+      }
+      else if (arg.full) {
+        var value = arg.value;
+
+        /* --key */
+        if (value === undefined) {
+          /* --key value */
+          if (!that.opt(arg.full).flag) {
+            if (val.isValue) {
+              that.setOption(options, arg.full, val.value);
+              return Arg();
+            }
+            else {
+              that.print("'--" + (that.opt(arg.full).name || arg.full) + "'"
+                + " expects a value\n\n" + that.getUsage(), 1);
+            }
+          }
+          else {
+            /* --flag */
+            value = true;
+          }
+        }
+        that.setOption(options, arg.full, value);
+      }
+      return val;
+    });
+
+    positionals.forEach(function(pos, index) {
+      this.setOption(options, index, pos);
+    }, this);
+
+    options._ = positionals;
+
+    this.specs.forEach(function(opt) {
+      if (opt.default !== undefined && options[opt.name] === undefined) {
+        options[opt.name] = opt.default;
+      }
+    }, this);
+
+    // exit if required arg isn't present
+    this.specs.forEach(function(opt) {
+      if (opt.required && options[opt.name] === undefined) {
+         var msg = opt.name + " argument is required";
+         msg = this._nocolors ? msg : msg.red;
+
+         this.print("\n" + msg + "\n" + this.getUsage(), 1);
+      }
+    }, this);
+
+    if (command && command.cb) {
+      command.cb(options);
+    }
+    else if (this.fallback && this.fallback.cb) {
+      this.fallback.cb(options);
+    }
+
+    return options;
+  },
+
+  getUsage : function() {
+    if (this.command && this.command._usage) {
+      return this.command._usage;
+    }
+    else if (this.fallback && this.fallback._usage) {
+      return this.fallback._usage;
+    }
+    if (this._usage) {
+      return this._usage;
+    }
+
+    // todo: use a template
+    var str = "\n"
+    if (!this._nocolors) {
+      str += "Usage:".bold;
+    }
+    else {
+      str += "Usage:";
+    }
+    str += " " + this._script;
+
+    var positionals = _(this.specs).select(function(opt) {
+      return opt.position != undefined;
+    })
+    positionals = _(positionals).sortBy(function(opt) {
+      return opt.position;
+    });
+    var options = _(this.specs).select(function(opt) {
+      return opt.position === undefined;
+    });
+
+    // assume there are no gaps in the specified pos. args
+    positionals.forEach(function(pos) {
+      str += " ";
+      var posStr = pos.string;
+      if (!posStr) {
+        posStr = pos.name || "arg" + pos.position;
+        if (pos.required) {
+            posStr = "<" + posStr + ">";
+        } else {
+            posStr = "[" + posStr + "]";
+        }
+        if (pos.list) {
+          posStr += "...";
+        }
+      }
+      str += posStr;
+    });
+
+    if (options.length) {
+      if (!this._nocolors) {
+        // must be a better way to do this
+        str += " [options]".blue;
+      }
+      else {
+        str += " [options]";
+      }
+    }
+
+    if (options.length || positionals.length) {
+      str += "\n\n";
+    }
+
+    function spaces(length) {
+      var spaces = "";
+      for (var i = 0; i < length; i++) {
+        spaces += " ";
+      }
+      return spaces;
+    }
+    var longest = positionals.reduce(function(max, pos) {
+      return pos.name.length > max ? pos.name.length : max;
+    }, 0);
+
+    positionals.forEach(function(pos) {
+      var posStr = pos.string || pos.name;
+      str += posStr + spaces(longest - posStr.length) + "     ";
+      if (!this._nocolors) {
+        str += (pos.help || "").grey
+      }
+      else {
+        str += (pos.help || "")
+      }
+      str += "\n";
+    }, this);
+    if (positionals.length && options.length) {
+      str += "\n";
+    }
+
+    if (options.length) {
+      if (!this._nocolors) {
+        str += "Options:".blue;
+      }
+      else {
+        str += "Options:";
+      }
+      str += "\n"
+
+      var longest = options.reduce(function(max, opt) {
+        return opt.string.length > max && !opt.hidden ? opt.string.length : max;
+      }, 0);
+
+      options.forEach(function(opt) {
+        if (!opt.hidden) {
+          str += "   " + opt.string + spaces(longest - opt.string.length) + "   ";
+
+          var defaults = (opt.default != null ? "  [" + opt.default + "]" : "");
+          var help = opt.help ? opt.help + defaults : "";
+          str += this._nocolors ? help: help.grey;
+
+          str += "\n";
+        }
+      }, this);
+    }
+
+    if (this._help) {
+      str += "\n" + this._help;
+    }
+    return str;
+  }
+};
+
+ArgParser.prototype.opt = function(arg) {
+  // get the specified opt for this parsed arg
+  var match = Opt({});
+  this.specs.forEach(function(opt) {
+    if (opt.matches(arg)) {
+       match = opt;
+    }
+  });
+  return match;
+};
+
+ArgParser.prototype.setOption = function(options, arg, value) {
+  var option = this.opt(arg);
+  if (option.callback) {
+    var message = option.callback(value);
+
+    if (typeof message == "string") {
+      this.print(message, 1);
+    }
+  }
+
+  if (option.type != "string") {
+     try {
+       // infer type by JSON parsing the string
+       value = JSON.parse(value)
+     }
+     catch(e) {}
+  }
+
+  var name = option.name || arg;
+  if (option.choices && option.choices.indexOf(value) == -1) {
+     this.print(name + " must be one of: " + option.choices.join(", "), 1);
+  }
+
+  if (option.list) {
+    if (!options[name]) {
+      options[name] = [value];
+    }
+    else {
+      options[name].push(value);
+    }
+  }
+  else {
+    options[name] = value;
+  }
+};
+
+
+/* an arg is an item that's actually parsed from the command line
+   e.g. "-l", "log.txt", or "--logfile=log.txt" */
+Arg = function(str) {
+  var abbrRegex = /^\-(\w+?)$/,
+      fullRegex = /^\-\-(no\-)?(.+?)(?:=(.+))?$/,
+      valRegex = /^[^\-].*/;
+
+  var charMatch = abbrRegex.exec(str),
+      chars = charMatch && charMatch[1].split("");
+
+  var fullMatch = fullRegex.exec(str),
+      full = fullMatch && fullMatch[2];
+
+  var isValue = str !== undefined && (str === "" || valRegex.test(str));
+  var value;
+  if (isValue) {
+    value = str;
+  }
+  else if (full) {
+    value = fullMatch[1] ? false : fullMatch[3];
+  }
+
+  return {
+    str: str,
+    chars: chars,
+    full: full,
+    value: value,
+    isValue: isValue
+  }
+}
+
+
+/* an opt is what's specified by the user in opts hash */
+Opt = function(opt) {
+  var strings = (opt.string || "").split(","),
+      abbr, full, metavar;
+  for (var i = 0; i < strings.length; i++) {
+    var string = strings[i].trim(),
+        matches;
+    if (matches = string.match(/^\-([^-])(?:\s+(.*))?$/)) {
+      abbr = matches[1];
+      metavar = matches[2];
+    }
+    else if (matches = string.match(/^\-\-(.+?)(?:[=\s]+(.+))?$/)) {
+      full = matches[1];
+      metavar = metavar || matches[2];
+    }
+  }
+
+  matches = matches || [];
+  var abbr = opt.abbr || abbr,   // e.g. v from -v
+      full = opt.full || full, // e.g. verbose from --verbose
+      metavar = opt.metavar || metavar;  // e.g. PATH from '--config=PATH'
+
+  var string;
+  if (opt.string) {
+    string = opt.string;
+  }
+  else if (opt.position === undefined) {
+    string = "";
+    if (abbr) {
+      string += "-" + abbr;
+      if (metavar)
+        string += " " + metavar
+      string += ", ";
+    }
+    string += "--" + (full || opt.name);
+    if (metavar) {
+      string += " " + metavar;
+    }
+  }
+
+  opt = _(opt).extend({
+    name: opt.name || full || abbr,
+    string: string,
+    abbr: abbr,
+    full: full,
+    metavar: metavar,
+    matches: function(arg) {
+      return opt.full == arg || opt.abbr == arg || opt.position == arg
+        || opt.name == arg || (opt.list && arg >= opt.position);
+    }
+  });
+  return opt;
+}
+
+
+var createParser = function() {
+  return new ArgParser();
+}
+
+var nomnom = createParser();
+
+for (var i in nomnom) {
+  if (typeof nomnom[i] == "function") {
+     createParser[i] = _(nomnom[i]).bind(nomnom);
+  }
+}
+
+module.exports = createParser;
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/package.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/package.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/package.json	(revision 505)
@@ -0,0 +1,39 @@
+{
+  "name": "nomnom",
+  "description": "Option parser with generated usage and commands",
+  "version": "1.6.2",
+  "author": {
+    "name": "Heather Arthur",
+    "email": "fayearthur@gmail.com"
+  },
+  "scripts": {
+    "test": "nodeunit test/*.js"
+  },
+  "repository": {
+    "type": "git",
+    "url": "http://github.com/harthur/nomnom.git"
+  },
+  "main": "./nomnom",
+  "keywords": [
+    "arguments",
+    "option parser",
+    "command line",
+    "options",
+    "parser"
+  ],
+  "dependencies": {
+    "colors": "0.5.x",
+    "underscore": "~1.4.4"
+  },
+  "devDependencies": {
+    "nodeunit": "~0.7.4"
+  },
+  "readme": "# nomnom\nnomnom is an option parser for node. It noms your args and gives them back to you in a hash.\n\n```javascript\nvar opts = require(\"nomnom\")\n   .option('debug', {\n      abbr: 'd',\n      flag: true,\n      help: 'Print debugging info'\n   })\n   .option('config', {\n      abbr: 'c',\n      default: 'config.json',\n      help: 'JSON file with tests to run'\n   })\n   .option('version', {\n      flag: true,\n      help: 'print version and exit',\n      callback: function() {\n         return \"version 1.2.4\";\n      }\n   })\n   .parse();\n\nif (opts.debug)\n   // do stuff\n```\n\nYou don't have to specify anything if you don't want to:\n\n```javascript\nvar opts = require(\"nomnom\").parse();\n\nvar url = opts[0];     // get the first positional arg\nvar file = opts.file   // see if --file was specified\nvar verbose = opts.v   // see if -v was specified\nvar extras = opts._    // get an array of the unmatched, positional args\n```\n\n# Install\nfor [node.js](http://nodejs.org/) and [npm](http://github.com/isaacs/npm):\n\n\tnpm install nomnom\n\n# More Details\nNomnom supports args like `-d`, `--debug`, `--no-debug`, `--file=test.txt`, `--file test.txt`, `-f test.txt`, `-xvf`, and positionals. Positionals are arguments that don't fit the `-a` or `--atomic` format and aren't attached to an option.\n\nValues are JSON parsed, so `--debug=true --count=3 --file=log.txt` would give you:\n\n```\n{\n   \"debug\": true,\n   \"count\": 3,\n   \"file\": \"log.txt\"\n}\n```\n\n# Commands\nNomnom supports command-based interfaces (e.g. with git: `git add -p` and `git rebase -i` where `add` and `rebase` are the commands):\n\n```javascript\nvar parser = require(\"nomnom\");\n\nparser.command('browser')\n   .callback(function(opts) {\n      runBrowser(opts.url);\n   })\n   .help(\"run browser tests\");\n\nparser.command('sanity')\n   .option('outfile', {\n      abbr: 'o',\n      help: \"file to write results to\"\n   })\n   .option('config', {\n      abbr: 'c',\n      default: 'config.json',\n      help: \"json manifest of tests to run\"\n   })\n   .callback(function(opts) {\n      runSanity(opts.filename);\n   })\n   .help(\"run the sanity tests\")\n\nparser.parse();\n```\n\nEach command generates its own usage message when `-h` or `--help` is specified with the command.\n\n# Usage\nNomnom prints out a usage message if `--help` or `-h` is an argument. Usage for these options in `test.js`:\n\n```javascript\nvar opts = require(\"nomnom\")\n   .script(\"runtests\")\n   .options({\n      path: {\n         position: 0,\n         help: \"Test file to run\",\n         list: true\n      },\n      config: {\n         abbr: 'c',\n         metavar: 'FILE',\n         help: \"Config file with tests to run\"\n      },\n      debug: {\n         abbr: 'd',\n         flag: true,\n         help: \"Print debugging info\"\n      }\n   }).parse();\n```\n\n...would look like this:\n\n\tusage: runtests <path>... [options]\n\n\tpath     Test file to run\n\n\toptions:\n\t   -c FILE, --config FILE   Config file with tests to run\n\t   -d, --debug              Print debugging info\n\n# Options\nYou can either add a specification for an option with `nomnom.option('name', spec)` or pass the specifications to `nomnom.options()` as a hash keyed on option name. Each option specification can have the following fields:\n\n#### abbr and full\n`abbr` is the single character string to match to this option, `full` is the full-length string (defaults to the name of the option).\n\nThis option matches `-d` and `--debug` on the command line:\n\n```javascript\nnomnom.option('debug', {\n   abbr: 'd'\n})\n```\n\nThis option matches `-n 3`, `--num-lines 12` on the command line:\n\n```javascript\nnomnom.option('numLines', {\n   abbr: 'n',\n   full: 'num-lines'\n})\n```\n\n#### flag\n\nIf this is set to true, the option acts as a flag and doesn't swallow the next value on the command line. Default is `false`, so normally if you had a command line `--config test.js`, `config` would get a value of `test.js` in the options hash. Whereas if you specify:\n\n```javascript\nnomnom.option('config', {\n   flag: true\n})\n```\n\n`config` would get a value of `true` in the options hash, and `test.js` would be a free positional arg.\n\n#### metavar\n\n`metavar` is used in the usage printout e.g. `\"PATH\"` in `\"-f PATH, --file PATH\"`.\n\n#### string\n\nA shorthand for `abbr`, `full`, and `metavar`. For example, to attach an option to `-c` and `--config` use a `string: \"-c FILE, --config=FILE\"`\n\n#### help\n\nA string description of the option for the usage printout.\n\n#### default\n\nThe value to give the option if it's not specified in the arguments.\n\n#### callback\n\nA callback that will be executed as soon as the option is encountered. If the callback returns a string it will print the string and exit:\n\n```javascript\nnomnom.option('count', {\n   callback: function(count) {\n      if (count != parseInt(count))\n         return \"count must be an integer\";\n   }\n})\n```\n\n#### position\n\nThe position of the option if it's a positional argument. If the option should be matched to the first positional arg use position `0`, etc.\n\n#### list\n\nSpecifies that the option is a list. Appending can be achieved by specifying the arg more than once on the command line:\n\n\tnode test.js --file=test1.js --file=test2.js\n\nIf the option has a `position` and `list` is `true`, all positional args including and after `position` will be appended to the array.\n\n#### required\n\nIf this is set to `true` and the option isn't in the args, a message will be printed and the program will exit.\n\n#### choices\n\nA list of the possible values for the option (e.g. `['run', 'test', 'open']`). If the parsed value isn't in the list a message will be printed and the program will exit.\n\n#### type\n\nIf you don't want the option JSON-parsed, specify type `\"string\"`.\n\n#### hidden\n\nOption won't be printed in the usage\n\n\n# Parser interface\n`require(\"nomnom\")` will give you the option parser. You can also make an instance of a parser with `require(\"nomnom\")()`. You can chain any of these functions off of a parser:\n\n#### option\n\nAdd an option specification with the given name:\n\n```javascript\nnomnom.option('debug', {\n   abbr: 'd',\n   flag: true,\n   help: \"Print debugging info\"\n})\n```\n\n#### options\n\nAdd options as a hash keyed by option name, good for a cli with tons of options like [this example](http://github.com/harthur/replace/blob/master/bin/replace.js):\n\n```javascript\nnomnom.options({\n   debug: {\n      abbr: 'd',\n      flag: true,\n      help: \"Print debugging info\"\n   },\n   fruit: {\n      help: \"Fruit to buy\"\n   }\n})\n```\n\n#### usage\n\nThe string that will override the default generated usage message.\n\n#### help\n\nA string that is appended to the usage.\n\n#### script\n\nNomnom can't detect the alias used to run your script. You can use `script` to provide the correct name for the usage printout instead of e.g. `node test.js`.\n\n#### printer\n\nOverrides the usage printing function.\n\n#### command\n\nTakes a command name and gives you a command object on which you can chain command options.\n\n#### nocommand\n\nGives a command object that will be used when no command is called.\n\n#### parse\n\nParses node's `process.argv` and returns the parsed options hash. You can also provide argv:\n\n```javascript\nvar opts = nomnom.parse([\"-xvf\", \"--atomic=true\"])\n```\n\n#### nom\n\nThe same as `parse()`.\n\n# Command interface\nA command is specified with `nomnom.command('name')`. All these functions can be chained on a command:\n\n#### option\n\nAdd an option specifically for this command.\n\n#### options\n\nAdd options for this command as a hash of options keyed by name.\n\n#### callback\n\nA callback that will be called with the parsed options when the command is used.\n\n#### help\n\nA help string describing the function of this command.\n\n#### usage\n\nOverride the default generated usage string for this command.\n",
+  "readmeFilename": "README.md",
+  "bugs": {
+    "url": "https://github.com/harthur/nomnom/issues"
+  },
+  "homepage": "https://github.com/harthur/nomnom",
+  "_id": "nomnom@1.6.2",
+  "_from": "nomnom@>= 1.5.x"
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/t.diff
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/t.diff	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/t.diff	(revision 505)
@@ -0,0 +1,44 @@
+diff --git a/package.json b/package.json
+index 88de4c0..f030c65 100644
+--- a/package.json
++++ b/package.json
+@@ -1,7 +1,7 @@
+ {
+   "name": "nomnom",
+   "description": "Option parser with generated usage and commands",
+-  "version": "1.6.0",
++  "version": "1.6.1",
+   "author": "Heather Arthur <fayearthur@gmail.com>",
+   "scripts": {
+     "test": "./node_modules/.bin/nodeunit test/*.js"
+diff --git a/test/matching.js b/test/matching.js
+index 8d347eb..a0cf14a 100644
+--- a/test/matching.js
++++ b/test/matching.js
+@@ -1,5 +1,5 @@
+ var nomnom = require("../nomnom");
+-    
++
+ var opts = {
+    pos1: {
+       position: 0
+@@ -41,8 +41,8 @@ var parser = nomnom().options(opts);
+ 
+ exports.testPositional = function(test) {
+    var options = parser.parse(["--flag1", "val1", "--config", "file", "val2"]);
+-   
+-   test.equal(options.pos1, "val1");
++
++   test.equal(options.pos1, "val");
+    test.equal(options.pos2, "val2");
+    test.deepEqual(options._, ["val1", "val2"])
+    test.done();
+@@ -50,7 +50,7 @@ exports.testPositional = function(test) {
+ 
+ exports.testAbbr = function(test) {
+    var options = parser.parse(["-d", "yes", "--num-lines", "3"]);
+-   
++
+    test.equal(options.debug, "yes")
+    test.equal(options.numLines, 3)
+    test.done();
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/callback.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/callback.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/callback.js	(revision 505)
@@ -0,0 +1,33 @@
+var nomnom = require("../nomnom");
+
+exports.testVersion = function(test) {
+   test.expect(1);
+   
+   nomnom().options({
+      date: {
+         callback: function(date) {
+            test.equal(date, "2010-02-03", "date should match value")
+         }
+      }
+   }).parse(["--date=2010-02-03"]);
+
+   test.done();
+}
+
+exports.testReturnString = function(test) {
+   test.expect(1);
+
+   nomnom().options({
+      version: {
+         flag: true,
+         callback: function() {
+            return "v0.3";
+         }
+      }
+   })
+   .printer(function(string) { 
+      test.equal(0, string.indexOf("v0.3"))
+      test.done();
+   })
+   .parse(["--version"]);
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/commands.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/commands.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/commands.js	(revision 505)
@@ -0,0 +1,120 @@
+var nomnom = require("../nomnom");
+
+function strip(str) {
+  return str.replace(/\s+/g, '');
+}
+
+exports.testCallback = function(test) {
+   test.expect(1);
+
+   var parser = nomnom();
+   parser.command('run').callback(function(options) {
+      test.equal(options.v, 3);
+   });
+   parser.command('other').callback(function() {
+      test.ok(false, "callback for other command shouldn't be called");
+   });
+
+   parser.parse(["run","-v", "3"]);
+   test.done();
+}
+
+exports.testMissingCommand = function(test) {
+   test.expect(1);
+
+   var parser = nomnom().scriptName("test");
+
+   parser.command('run');
+
+   parser.printer(function(string) {
+      test.equal(string, "test: no such command 'other'");
+      test.done();
+   });
+
+   parser.parse(["other"]);
+}
+
+exports.testNoCommand = function(test) {
+   test.expect(2);
+
+   var parser = nomnom();
+
+   parser.nocommand()
+     .options({
+        version: {
+           flag: true
+        }
+     })
+     .callback(function(options) {
+        test.strictEqual(options.version, true);
+     })
+     .usage("fallback usage");
+
+   parser.command('run');
+
+   var options = parser.parse(["--version"]);
+
+   test.strictEqual(options.version, true);
+   test.done();
+}
+
+function createParser() {
+  var parser = nomnom().scriptName("test")
+     .options({
+        debug: {
+           flag: true
+        }
+     });
+
+  parser.command('run')
+    .options({
+       file: {
+          help: 'file to run'
+       }
+    })
+    .help("run all");
+
+  parser.command('test').usage("test usage");
+
+  parser.nocommand()
+    .options({
+       verbose: {
+          flag: true
+       }
+    })
+    .help("nocommand");
+
+  return parser;
+}
+
+exports.testUsage = function(test) {
+   test.expect(4);
+
+   var parser = createParser();
+   parser.printer(function(string) {
+      test.equal(strip(string), "testusage");
+   });
+   parser.parse(["test", "-h"]);
+
+   parser = createParser().nocolors();
+   parser.printer(function(string) {
+      test.equal(strip(string), "Usage:testrun[options]Options:--debug--filefiletorunrunall");
+   });
+   parser.parse(["run", "-h"]);
+
+   parser = createParser().nocolors();
+   parser.printer(function(string) {
+      test.equal(strip(string), "Usage:test[command][options]commandoneof:run,testOptions:--debug--verbosenocommand");
+   });
+   parser.parse(["-h"]);
+
+   parser = createParser().nocolors();
+   parser.nocommand()
+      .usage("fallback");
+   parser.printer(function(string) {
+      test.equal(strip(string), "fallback");
+   });
+   parser.parse(["-h"]);
+
+   test.done();
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/expected.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/expected.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/expected.js	(revision 505)
@@ -0,0 +1,60 @@
+var nomnom = require("../nomnom");
+
+var opts = {
+   file: {
+      position: 0,
+      required: true
+   }
+}
+
+var parser = nomnom().options(opts);
+
+exports.testFlag = function(test) {
+   test.expect(1);
+
+   nomnom().options({
+      file: {
+         position: 0,
+      }
+   })
+   .printer(function(string) {
+      test.equal(0, string.indexOf("'--key1' expects a value"))
+      test.done();
+   })
+   .parse(["--key1"]);
+}
+
+exports.testRequired = function(test) {
+   test.expect(1);
+
+   nomnom().options({
+      file: {
+         required: true
+      }
+   })
+   .printer(function(string) {
+      test.equal(0, string.trim().indexOf("file argument is required"))
+      test.done();
+   })
+   .nocolors()
+   .parse([]);
+}
+
+exports.testChoices = function(test) {
+   test.expect(2);
+
+   var parser = nomnom().options({
+      color: {
+         choices: ['green', 'blue']
+      }
+   })
+   .printer(function(string) {
+      test.equal(0, string.indexOf("color must be one of: green, blue"))
+   });
+
+   parser.parse(['--color', 'red']);
+
+   var options = parser.parse(['--color', 'green']);
+   test.equal(options.color, 'green');
+   test.done();
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/matching.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/matching.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/matching.js	(revision 505)
@@ -0,0 +1,70 @@
+var nomnom = require("../nomnom");
+    
+var opts = {
+   pos1: {
+      position: 0
+   },
+   pos2: {
+      position: 1
+   },
+   flag1: {
+      flag: true
+   },
+   debug: {
+      abbr: 'd'
+   },
+   numLines: {
+      abbr: 'n',
+      full: 'num-lines'
+   },
+   version: {
+      string: '-v, --version'
+   },
+   config: {
+      string: '-c FILE, --config=FILE'
+   },
+   skey : {
+      string: '-k val'
+   },
+   skey2: {
+      string: '-k2 val2, --key2 val2'
+   },
+   skey3: {
+      string: '--key3=val'
+   },
+   skey4: {
+      string: '--key4=val, -y val'
+   }
+}
+
+var parser = nomnom().options(opts);
+
+exports.testPositional = function(test) {
+   var options = parser.parse(["--flag1", "val1", "--config", "file", "val2"]);
+   
+   test.equal(options.pos1, "val1");
+   test.equal(options.pos2, "val2");
+   test.deepEqual(options._, ["val1", "val2"])
+   test.done();
+}
+
+exports.testAbbr = function(test) {
+   var options = parser.parse(["-d", "yes", "--num-lines", "3"]);
+   
+   test.equal(options.debug, "yes")
+   test.equal(options.numLines, 3)
+   test.done();
+}
+
+exports.testString = function(test) {
+   var options = parser.parse(["-k", "val", "--config=test.js",
+      "--key2", "val2", "--key3", "val3", "--key4=val4", "-v", "v0.3"]);
+
+   test.equal(options.version, "v0.3")
+   test.equal(options.config, "test.js")
+   test.equal(options.skey, "val")
+   test.equal(options.skey2, "val2")
+   test.equal(options.skey3, "val3")
+   test.equal(options.skey4, "val4")
+   test.done();
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/option.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/option.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/option.js	(revision 505)
@@ -0,0 +1,44 @@
+var nomnom = require("../nomnom");
+
+var parser = nomnom()
+   .option('debug', {
+      abbr: 'x',
+      flag: true,
+      help: 'Print debugging info'
+   })
+   .option('config', {
+      abbr: 'c',
+      default: 'config.json',
+      help: 'JSON file with tests to run'
+   })
+   .option('version', {
+      flag: true,
+      help: 'print version and exit',
+      callback: function() {
+         return "version 1.2.4";
+      }
+   });
+
+
+exports.testOption = function(test) {
+   var opts = parser.parse(["-x", "--no-verbose"]);
+
+   test.strictEqual(opts.debug, true);
+   test.equal(opts.config, "config.json");
+   test.done();
+}
+
+
+exports.testCommandOption = function(test) {
+   var parser = nomnom()
+   parser.command('test')
+     .option('fruit', {
+        abbr: 'f',
+        flag: true
+     })
+
+   var opts = parser.parse(["test", "-f"]);
+
+   test.strictEqual(opts.fruit, true);
+   test.done();
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/usage.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/usage.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/usage.js	(revision 505)
@@ -0,0 +1,121 @@
+var nomnom = require("../nomnom");
+
+function strip(str) {
+  return str.replace(/\s+/g, '');
+};
+
+var opts = {
+   apple: {
+      abbr: 'a',
+      help: 'how many apples'
+   },
+
+   banana: {
+      full: "b-nana"
+   },
+
+   carrot: {
+      string: '-c NUM, --carrots=NUM'
+   },
+
+   dill: {
+      metavar: 'PICKLE'
+   },
+
+   egg: {
+      position: 0,
+      help: 'robin'
+   }
+}
+
+var parser = nomnom().options(opts).help("all the best foods").scriptName("test").nocolors();
+
+var expected = "Usage:test[egg][options]eggrobinOptions:-a,--applehowmanyapples--b-nana-cNUM,--carrots=NUM--dillPICKLEallthebestfoods"
+
+exports.testH = function(test) {
+   test.expect(1);
+
+   parser.printer(function(string) {
+      test.equal(strip(string), expected)
+      test.done();
+   })
+   .nocolors()
+   .parse(["-h"]);
+}
+
+exports.testHelp = function(test) {
+   test.expect(1);
+
+   parser.printer(function(string) {
+      test.equal(strip(string), expected)
+      test.done();
+   })
+   .nocolors()
+   .parse(["--help"]);
+}
+
+exports.testScriptName = function(test) {
+   test.expect(1);
+
+   nomnom()
+     .script("test")
+     .printer(function(string) {
+        test.equal(strip(string),"Usage:test")
+        test.done();
+     })
+     .nocolors()
+     .parse(["-h"]);
+}
+
+exports.testUsage = function(test) {
+   test.expect(1);
+
+   parser
+      .usage("test usage")
+      .printer(function(string) {
+         test.equal(string, "test usage")
+         test.done();
+      })
+      .nocolors()
+      .parse(["--help"]);
+}
+
+exports.testHidden = function(test) {
+   test.expect(1);
+
+   nomnom().options({
+      file: {
+         hidden: true
+      }
+   })
+   .scriptName("test")
+   .printer(function(string) {
+      test.equal(strip("Usage:test[options]Options:"), strip(string))
+      test.done();
+   })
+   .nocolors()
+   .parse(["-h"]);
+}
+
+exports.testRequiredOptional = function(test) {
+   test.expect(1);
+
+   nomnom().options({
+      foo: {
+         position: 0,
+         required: true,
+         help: 'The foo'
+      },
+      bar: {
+         position: 1,
+         help: 'The bar'
+      }
+   })
+   .scriptName("test")
+   .printer(function(string) {
+      test.equal(strip("Usage:test<foo>[bar]fooThefoobarThebar"), strip(string))
+      test.done();
+   })
+   .nocolors()
+   .parse(["-h"]);
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/values.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/values.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/node_modules/nomnom/test/values.js	(revision 505)
@@ -0,0 +1,75 @@
+var nomnom = require("../nomnom");
+
+var opts = {
+   debug: {
+      flag: true
+   },
+   verbose: {
+      flag: true,
+      default: true
+   },
+   list1: {
+      list: true
+   },
+   list2: {
+      list: true
+   },
+   list3: {
+      position: 1,
+      list: true
+   },
+   num1: {
+      type: "string"
+   },
+   def1: {
+      default: "val1"
+   },
+   def2: {
+      default: "val1"
+   }
+}
+
+var parser = nomnom().options(opts);
+
+exports.testFlag = function(test) {
+   var options = parser.parse(["--debug", "pos0", "--no-verbose"]);
+
+   test.strictEqual(options.debug, true);
+   test.strictEqual(options.verbose, false);
+   test.equal(options[0], "pos0");
+   test.equal(options._[0], "pos0");
+   test.done();
+}
+
+exports.testList = function(test) {
+   var options = parser.parse(["pos0", "pos1", "--list1=val0", "--list2", "val1",
+     "--list2", "val2", "pos2"]);
+  
+   test.deepEqual(options.list1, ["val0"]);
+   test.deepEqual(options.list2, ["val1", "val2"]);
+   test.deepEqual(options.list3, ["pos1", "pos2"]);
+   test.done();
+}
+
+exports.testDefault = function(test) {
+   var options = parser.parse(["--def2", "val2", "--def3", "val3"]);
+
+   test.strictEqual(options.def1, "val1");
+   test.strictEqual(options.def2, "val2");
+   test.strictEqual(options.def3, "val3");
+   test.done();
+}
+
+exports.testTypes = function(test) {
+   var options = parser.parseArgs(["", "-x", "3.14", "-w", "true", "-q", "120",
+     "--num1", "4"]);
+     
+   test.strictEqual(options[0], "");
+   test.strictEqual(options.x, 3.14);
+   test.strictEqual(options.w, true);
+   test.strictEqual(options.q, 120);
+   test.strictEqual(options.num1, "4");
+   test.done();
+}
+
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/package.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/package.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/package.json	(revision 505)
@@ -0,0 +1,49 @@
+{
+  "author": {
+    "name": "Zach Carter",
+    "email": "zach@carter.name",
+    "url": "http://zaa.ch"
+  },
+  "name": "jsonlint",
+  "description": "Validate JSON",
+  "keywords": [
+    "json",
+    "validation",
+    "lint",
+    "jsonlint"
+  ],
+  "version": "1.6.0",
+  "preferGlobal": true,
+  "repository": {
+    "type": "git",
+    "url": "git://github.com/zaach/jsonlint.git"
+  },
+  "bugs": {
+    "url": "http://github.com/zaach/jsonlint/issues"
+  },
+  "main": "lib/jsonlint.js",
+  "bin": {
+    "jsonlint": "lib/cli.js"
+  },
+  "engines": {
+    "node": ">= 0.6"
+  },
+  "dependencies": {
+    "nomnom": ">= 1.5.x",
+    "JSV": ">= 4.0.x"
+  },
+  "devDependencies": {
+    "test": "*",
+    "jison": "*",
+    "uglify-js": "*"
+  },
+  "scripts": {
+    "test": "node test/all-tests.js"
+  },
+  "homepage": "http://zaach.github.com/jsonlint/",
+  "optionalDependencies": {},
+  "readme": "JSON Lint\n=========\n\nA pure [JavaScript version](http://zaach.github.com/jsonlint/) of the service provided at [jsonlint.com](http://jsonlint.com).\n\n## Command line interface\nInstall jsonlint with npm to use the command line interface:\n\n    npm install jsonlint -g\n\nValidate a file like so:\n\n    jsonlint myfile.json\n\nor pipe input into stdin:\n\n    cat myfile.json | jsonlint\n\njsonlint will either report a syntax error with details or pretty print the source if it is valid.\n\n### Options\n\n    $ jsonlint -h\n\n    usage: jsonlint <file> [options]\n\n    file     file to parse; otherwise uses stdin\n\n    options:\n       -v, --version            print version and exit\n       -s, --sort-keys          sort object keys\n       -i, --in-place           overwrite the file\n       -t CHAR, --indent CHAR   character(s) to use for indentation\n       -c, --compact            compact error display\n       -V, --validate           a JSON schema to use for validation\n       -e, --environment        which specification of JSON Schema the validation file uses\n       -q, --quiet              do not print the parsed json to STDOUT\n\n\n## Module interface\n\nI'm not sure why you wouldn't use the built in `JSON.parse` but you can use jsonlint from a CommonJS module:\n\n    var jsonlint = require(\"jsonlint\");\n\n    jsonlint.parse('{\"creative?\": false}');\n\nIt returns the parsed object or throws an `Error`.\n\n## Vim Plugins\n\n* [Syntastic](http://www.vim.org/scripts/script.php?script_id=2736)\n* [sourcebeautify](http://www.vim.org/scripts/script.php?script_id=4079) \n\n## MIT License\n\nCopyright (C) 2012 Zachary Carter\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
+  "readmeFilename": "README.md",
+  "_id": "jsonlint@1.6.0",
+  "_from": "jsonlint@1.6.0"
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/scripts/bundle.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/scripts/bundle.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/scripts/bundle.js	(revision 505)
@@ -0,0 +1,8 @@
+var fs = require('fs');
+
+var source = "var jsonlint = (function(){var require=true,module=false;var exports={};" +
+  fs.readFileSync(__dirname+'/../lib/jsonlint.js', 'utf8') +
+  "return exports;})()";
+
+console.log(source);
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/src/jsonlint.l
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/src/jsonlint.l	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/src/jsonlint.l	(revision 505)
@@ -0,0 +1,24 @@
+int  "-"?([0-9]|[1-9][0-9]+)
+exp  [eE][-+]?[0-9]+
+frac  "."[0-9]+
+
+%%
+\s+      /* skip whitespace */
+
+{int}{frac}?{exp}?\b    return 'NUMBER'
+\"(?:'\\'[\\"bfnrt/]|'\\u'[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*\"    yytext = yytext.substr(1,yyleng-2); return 'STRING'
+
+"{"      return '{'
+"}"      return '}'
+"["      return '['
+"]"      return ']'
+","      return ','
+":"      return ':'
+"true"   return 'TRUE'
+"false"  return 'FALSE'
+"null"   return 'NULL'
+<<EOF>>  return 'EOF'
+.        return 'INVALID'
+
+%%
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/src/jsonlint.y
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/src/jsonlint.y	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/src/jsonlint.y	(revision 505)
@@ -0,0 +1,86 @@
+%start JSONText
+
+/*
+  ECMA-262 5th Edition, 15.12.1 The JSON Grammar.
+*/
+
+
+%%
+
+JSONString
+    : STRING
+        { // replace escaped characters with actual character
+          $$ = yytext.replace(/\\(\\|")/g, "$"+"1")
+                     .replace(/\\n/g,'\n')
+                     .replace(/\\r/g,'\r')
+                     .replace(/\\t/g,'\t')
+                     .replace(/\\v/g,'\v')
+                     .replace(/\\f/g,'\f')
+                     .replace(/\\b/g,'\b');
+        }
+    ;
+
+JSONNumber
+    : NUMBER
+        {$$ = Number(yytext);}
+    ;
+
+JSONNullLiteral
+    : NULL
+        {$$ = null;}
+    ;
+
+JSONBooleanLiteral
+    : TRUE
+        {$$ = true;}
+    | FALSE
+        {$$ = false;}
+    ;
+
+JSONText
+    : JSONValue EOF
+        {return $$ = $1;}
+    ;
+
+JSONValue
+    : JSONNullLiteral
+    | JSONBooleanLiteral
+    | JSONString
+    | JSONNumber
+    | JSONObject
+    | JSONArray
+    ;
+
+JSONObject
+    : '{' '}'
+        {{$$ = {};}}
+    | '{' JSONMemberList '}'
+        {$$ = $2;}
+    ;
+
+JSONMember
+    : JSONString ':' JSONValue
+        {$$ = [$1, $3];}
+    ;
+
+JSONMemberList
+    : JSONMember
+        {{$$ = {}; $$[$1[0]] = $1[1];}}
+    | JSONMemberList ',' JSONMember
+        {$$ = $1; $1[$3[0]] = $3[1];}
+    ;
+
+JSONArray
+    : '[' ']'
+        {$$ = [];}
+    | '[' JSONElementList ']'
+        {$$ = $2;}
+    ;
+
+JSONElementList
+    : JSONValue
+        {$$ = [$1];}
+    | JSONElementList ',' JSONValue
+        {$$ = $1; $1.push($3);}
+    ;
+
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/all-tests.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/all-tests.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/all-tests.js	(revision 505)
@@ -0,0 +1,232 @@
+var fs = require("fs"),
+    assert = require("assert"),
+    parser = require("../lib/jsonlint").parser;
+
+exports["test object"] = function () {
+    var json = '{"foo": "bar"}';
+    assert.deepEqual(parser.parse(json), {"foo": "bar"});
+};
+
+exports["test escaped backslash"] = function () {
+    var json = '{"foo": "\\\\"}';
+    assert.deepEqual(parser.parse(json), {"foo": "\\"});
+};
+
+exports["test escaped chars"] = function () {
+    var json = '{"foo": "\\\\\\\""}';
+    assert.deepEqual(parser.parse(json), {"foo": '\\\"'});
+};
+
+exports["test escaped \\n"] = function () {
+    var json = '{"foo": "\\\\\\n"}';
+    assert.deepEqual(parser.parse(json), {"foo": '\\\n'});
+};
+
+exports["test string with escaped line break"] = function () {
+    var json = '{"foo": "bar\\nbar"}';
+    assert.deepEqual(parser.parse(json), {"foo": "bar\nbar"});
+    assert.equal(JSON.stringify(parser.parse(json)).length, 18);
+};
+
+exports["test string with line break"] = function () {
+    var json = '{"foo": "bar\nbar"}';
+    assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test string literal"] = function () {
+    var json = '"foo"';
+    assert.equal(parser.parse(json), "foo");
+};
+
+exports["test number literal"] = function () {
+    var json = '1234';
+    assert.equal(parser.parse(json), 1234);
+};
+
+exports["test null literal"] = function () {
+    var json = '1234';
+    assert.equal(parser.parse(json), 1234);
+};
+
+exports["test boolean literal"] = function () {
+    var json = 'true';
+    assert.equal(parser.parse(json), true);
+};
+
+exports["test unclosed array"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/2.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test unquotedkey keys must be quoted"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/3.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test extra comma"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/4.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test double extra comma"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/5.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test missing value"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/6.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test comma after the close"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/7.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test extra close"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/8.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test extra comma after value"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/9.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test extra value after close with misplaced quotes"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/10.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test illegal expression addition"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/11.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test illegal invocation of alert"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/12.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test numbers cannot have leading zeroes"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/13.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test numbers cannot be hex"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/14.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test illegal backslash escape \\0"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/15.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test unquoted text"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/16.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test illegal backslash escape \\x"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/17.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test missing colon"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/19.json")
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test double colon"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/20.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test comma instead of colon"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/21.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test colon instead of comma"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/22.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test bad raw value"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/23.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test single quotes"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/24.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test tab character in string"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/25.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test tab character in string 2"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/26.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test line break in string"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/27.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test line break in string in array"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/28.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test 0e"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/29.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test 0e+"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/30.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test 0e+ 1"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/31.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test comma instead of closing brace"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/32.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+};
+
+exports["test bracket mismatch"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/33.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+}
+
+exports["test extra brace"] = function () {
+  var json = fs.readFileSync(__dirname + "/fails/34.json").toString();
+  assert["throws"](function () {parser.parse(json)}, "should throw error");
+}
+
+exports["test pass-1"] = function () {
+  var json = fs.readFileSync(__dirname + "/passes/1.json").toString();
+  assert.doesNotThrow(function () {parser.parse(json)}, "should pass");
+}
+
+exports["test pass-2"] = function () {
+  var json = fs.readFileSync(__dirname + "/passes/2.json").toString();
+  assert.doesNotThrow(function () {parser.parse(json)}, "should pass");
+}
+
+exports["test pass-3"] = function () {
+  var json = fs.readFileSync(__dirname + "/passes/3.json").toString();
+  assert.doesNotThrow(function () {parser.parse(json)}, "should pass");
+}
+
+if (require.main === module)
+    require("test").run(exports);
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/10.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/10.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/10.json	(revision 505)
@@ -0,0 +1,1 @@
+{"Extra value after close": true} "misplaced quoted value"
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/11.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/11.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/11.json	(revision 505)
@@ -0,0 +1,1 @@
+{"Illegal expression": 1 + 2}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/12.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/12.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/12.json	(revision 505)
@@ -0,0 +1,1 @@
+{"Illegal invocation": alert()}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/13.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/13.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/13.json	(revision 505)
@@ -0,0 +1,1 @@
+{"Numbers cannot have leading zeroes": 013}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/14.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/14.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/14.json	(revision 505)
@@ -0,0 +1,1 @@
+{"Numbers cannot be hex": 0x14}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/15.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/15.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/15.json	(revision 505)
@@ -0,0 +1,1 @@
+["Illegal backslash escape: \x15"]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/16.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/16.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/16.json	(revision 505)
@@ -0,0 +1,1 @@
+[\naked]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/17.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/17.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/17.json	(revision 505)
@@ -0,0 +1,1 @@
+["Illegal backslash escape: \017"]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/19.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/19.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/19.json	(revision 505)
@@ -0,0 +1,1 @@
+{"Missing colon" null}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/2.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/2.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/2.json	(revision 505)
@@ -0,0 +1,1 @@
+["Unclosed array"
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/20.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/20.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/20.json	(revision 505)
@@ -0,0 +1,1 @@
+{"Double colon":: null}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/21.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/21.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/21.json	(revision 505)
@@ -0,0 +1,1 @@
+{"Comma instead of colon", null}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/22.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/22.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/22.json	(revision 505)
@@ -0,0 +1,1 @@
+["Colon instead of comma": false]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/23.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/23.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/23.json	(revision 505)
@@ -0,0 +1,1 @@
+["Bad value", truth]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/24.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/24.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/24.json	(revision 505)
@@ -0,0 +1,1 @@
+['single quote']
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/25.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/25.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/25.json	(revision 505)
@@ -0,0 +1,1 @@
+["	tab	character	in	string	"]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/26.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/26.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/26.json	(revision 505)
@@ -0,0 +1,1 @@
+["tab\   character\   in\  string\  "]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/27.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/27.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/27.json	(revision 505)
@@ -0,0 +1,2 @@
+["line
+break"]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/28.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/28.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/28.json	(revision 505)
@@ -0,0 +1,2 @@
+["line\
+break"]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/29.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/29.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/29.json	(revision 505)
@@ -0,0 +1,1 @@
+[0e]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/3.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/3.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/3.json	(revision 505)
@@ -0,0 +1,1 @@
+{unquoted_key: "keys must be quoted"}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/30.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/30.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/30.json	(revision 505)
@@ -0,0 +1,1 @@
+[0e+]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/31.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/31.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/31.json	(revision 505)
@@ -0,0 +1,1 @@
+[0e+-1]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/32.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/32.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/32.json	(revision 505)
@@ -0,0 +1,1 @@
+{"Comma instead if closing brace": true,
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/33.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/33.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/33.json	(revision 505)
@@ -0,0 +1,1 @@
+["mismatch"}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/34.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/34.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/34.json	(revision 505)
@@ -0,0 +1,1 @@
+{"extra brace": 1}}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/4.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/4.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/4.json	(revision 505)
@@ -0,0 +1,1 @@
+["extra comma",]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/5.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/5.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/5.json	(revision 505)
@@ -0,0 +1,1 @@
+["double extra comma",,]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/6.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/6.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/6.json	(revision 505)
@@ -0,0 +1,1 @@
+[   , "<-- missing value"]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/7.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/7.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/7.json	(revision 505)
@@ -0,0 +1,1 @@
+["Comma after the close"],
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/8.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/8.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/8.json	(revision 505)
@@ -0,0 +1,1 @@
+["Extra close"]]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/9.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/9.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/fails/9.json	(revision 505)
@@ -0,0 +1,1 @@
+{"Extra comma": true,}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/passes/1.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/passes/1.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/passes/1.json	(revision 505)
@@ -0,0 +1,58 @@
+[
+    "JSON Test Pattern pass1",
+    {"object with 1 member":["array with 1 element"]},
+    {},
+    [],
+    -42,
+    true,
+    false,
+    null,
+    {
+        "integer": 1234567890,
+        "real": -9876.543210,
+        "e": 0.123456789e-12,
+        "E": 1.234567890E+34,
+        "":  23456789012E66,
+        "zero": 0,
+        "one": 1,
+        "space": " ",
+        "quote": "\"",
+        "backslash": "\\",
+        "controls": "\b\f\n\r\t",
+        "slash": "/ & \/",
+        "alpha": "abcdefghijklmnopqrstuvwyz",
+        "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWYZ",
+        "digit": "0123456789",
+        "0123456789": "digit",
+        "special": "`1~!@#$%^&*()_+-={':[,]}|;.</>?",
+        "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A",
+        "true": true,
+        "false": false,
+        "null": null,
+        "array":[  ],
+        "object":{  },
+        "address": "50 St. James Street",
+        "url": "http://www.JSON.org/",
+        "comment": "// /* <!-- --",
+        "# -- --> */": " ",
+        " s p a c e d " :[1,2 , 3
+
+,
+
+4 , 5        ,          6           ,7        ],"compact":[1,2,3,4,5,6,7],
+        "jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}",
+        "quotes": "&#34; \u0022 %22 0x22 034 &#x22;",
+        "\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?"
+: "A key can be any string"
+    },
+    0.5 ,98.6
+,
+99.44
+,
+
+1066,
+1e1,
+0.1e1,
+1e-1,
+1e00,2e+00,2e-00
+,"rosebud"]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/passes/2.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/passes/2.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/passes/2.json	(revision 505)
@@ -0,0 +1,1 @@
+[[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]]
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/passes/3.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/passes/3.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/test/passes/3.json	(revision 505)
@@ -0,0 +1,6 @@
+{
+    "JSON Test Pattern pass3": {
+        "The outermost value": "must be an object or array.",
+        "In this test": "It is an object."
+    }
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/web/json2.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/web/json2.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/web/json2.js	(revision 505)
@@ -0,0 +1,334 @@
+
+/*jslint evil: true, strict: false */
+
+/*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply,
+    call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,
+    getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join,
+    lastIndex, length, parse, prototype, push, replace, slice, stringify,
+    test, toJSON, toString, valueOf
+*/
+
+
+// Create a JSON object only if one does not already exist. We create the
+// methods in a closure to avoid creating global variables.
+
+if (!this.JSON) {
+    this.JSON = {};
+}
+
+(function () {
+
+    function f(n) {
+        // Format integers to have at least two digits.
+        return n < 10 ? '0' + n : n;
+    }
+
+    if (typeof Date.prototype.toJSON !== 'function') {
+
+        Date.prototype.toJSON = function (key) {
+
+            return isFinite(this.valueOf()) ?
+                   this.getUTCFullYear()   + '-' +
+                 f(this.getUTCMonth() + 1) + '-' +
+                 f(this.getUTCDate())      + 'T' +
+                 f(this.getUTCHours())     + ':' +
+                 f(this.getUTCMinutes())   + ':' +
+                 f(this.getUTCSeconds())   + 'Z' : null;
+        };
+
+        String.prototype.toJSON =
+        Number.prototype.toJSON =
+        Boolean.prototype.toJSON = function (key) {
+            return this.valueOf();
+        };
+    }
+
+    var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
+        escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
+        gap,
+        indent,
+        meta = {    // table of character substitutions
+            '\b': '\\b',
+            '\t': '\\t',
+            '\n': '\\n',
+            '\f': '\\f',
+            '\r': '\\r',
+            '"' : '\\"',
+            '\\': '\\\\'
+        },
+        rep;
+
+
+    function quote(string) {
+
+// If the string contains no control characters, no quote characters, and no
+// backslash characters, then we can safely slap some quotes around it.
+// Otherwise we must also replace the offending characters with safe escape
+// sequences.
+
+        escapable.lastIndex = 0;
+        return escapable.test(string) ?
+            '"' + string.replace(escapable, function (a) {
+                var c = meta[a];
+                return typeof c === 'string' ? c :
+                    '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
+            }) + '"' :
+            '"' + string + '"';
+    }
+
+
+    function str(key, holder) {
+
+// Produce a string from holder[key].
+
+        var i,          // The loop counter.
+            k,          // The member key.
+            v,          // The member value.
+            length,
+            mind = gap,
+            partial,
+            value = holder[key];
+
+// If the value has a toJSON method, call it to obtain a replacement value.
+
+        if (value && typeof value === 'object' &&
+                typeof value.toJSON === 'function') {
+            value = value.toJSON(key);
+        }
+
+// If we were called with a replacer function, then call the replacer to
+// obtain a replacement value.
+
+        if (typeof rep === 'function') {
+            value = rep.call(holder, key, value);
+        }
+
+// What happens next depends on the value's type.
+
+        switch (typeof value) {
+        case 'string':
+            return quote(value);
+
+        case 'number':
+
+// JSON numbers must be finite. Encode non-finite numbers as null.
+
+            return isFinite(value) ? String(value) : 'null';
+
+        case 'boolean':
+        case 'null':
+
+// If the value is a boolean or null, convert it to a string. Note:
+// typeof null does not produce 'null'. The case is included here in
+// the remote chance that this gets fixed someday.
+
+            return String(value);
+
+// If the type is 'object', we might be dealing with an object or an array or
+// null.
+
+        case 'object':
+
+// Due to a specification blunder in ECMAScript, typeof null is 'object',
+// so watch out for that case.
+
+            if (!value) {
+                return 'null';
+            }
+
+// Make an array to hold the partial results of stringifying this object value.
+
+            gap += indent;
+            partial = [];
+
+// Is the value an array?
+
+            if (Object.prototype.toString.apply(value) === '[object Array]') {
+
+// The value is an array. Stringify every element. Use null as a placeholder
+// for non-JSON values.
+
+                length = value.length;
+                for (i = 0; i < length; i += 1) {
+                    partial[i] = str(i, value) || 'null';
+                }
+
+// Join all of the elements together, separated with commas, and wrap them in
+// brackets.
+
+                v = partial.length === 0 ? '[]' :
+                    gap ? '[\n' + gap +
+                            partial.join(',\n' + gap) + '\n' +
+                                mind + ']' :
+                          '[' + partial.join(',') + ']';
+                gap = mind;
+                return v;
+            }
+
+// If the replacer is an array, use it to select the members to be stringified.
+
+            if (rep && typeof rep === 'object') {
+                length = rep.length;
+                for (i = 0; i < length; i += 1) {
+                    k = rep[i];
+                    if (typeof k === 'string') {
+                        v = str(k, value);
+                        if (v) {
+                            partial.push(quote(k) + (gap ? ': ' : ':') + v);
+                        }
+                    }
+                }
+            } else {
+
+// Otherwise, iterate through all of the keys in the object.
+
+                for (k in value) {
+                    if (Object.hasOwnProperty.call(value, k)) {
+                        v = str(k, value);
+                        if (v) {
+                            partial.push(quote(k) + (gap ? ': ' : ':') + v);
+                        }
+                    }
+                }
+            }
+
+// Join all of the member texts together, separated with commas,
+// and wrap them in braces.
+
+            v = partial.length === 0 ? '{}' :
+                gap ? '{\n' + gap + partial.join(',\n' + gap) + '\n' +
+                        mind + '}' : '{' + partial.join(',') + '}';
+            gap = mind;
+            return v;
+        }
+    }
+
+// If the JSON object does not yet have a stringify method, give it one.
+
+    if (typeof JSON.stringify !== 'function') {
+        JSON.stringify = function (value, replacer, space) {
+
+// The stringify method takes a value and an optional replacer, and an optional
+// space parameter, and returns a JSON text. The replacer can be a function
+// that can replace values, or an array of strings that will select the keys.
+// A default replacer method can be provided. Use of the space parameter can
+// produce text that is more easily readable.
+
+            var i;
+            gap = '';
+            indent = '';
+
+// If the space parameter is a number, make an indent string containing that
+// many spaces.
+
+            if (typeof space === 'number') {
+                for (i = 0; i < space; i += 1) {
+                    indent += ' ';
+                }
+
+// If the space parameter is a string, it will be used as the indent string.
+
+            } else if (typeof space === 'string') {
+                indent = space;
+            }
+
+// If there is a replacer, it must be a function or an array.
+// Otherwise, throw an error.
+
+            rep = replacer;
+            if (replacer && typeof replacer !== 'function' &&
+                    (typeof replacer !== 'object' ||
+                     typeof replacer.length !== 'number')) {
+                throw new Error('JSON.stringify');
+            }
+
+// Make a fake root object containing our value under the key of ''.
+// Return the result of stringifying the value.
+
+            return str('', {'': value});
+        };
+    }
+
+
+// If the JSON object does not yet have a parse method, give it one.
+
+    if (typeof JSON.parse !== 'function') {
+        JSON.parse = function (text, reviver) {
+
+// The parse method takes a text and an optional reviver function, and returns
+// a JavaScript value if the text is a valid JSON text.
+
+            var j;
+
+            function walk(holder, key) {
+
+// The walk method is used to recursively walk the resulting structure so
+// that modifications can be made.
+
+                var k, v, value = holder[key];
+                if (value && typeof value === 'object') {
+                    for (k in value) {
+                        if (Object.hasOwnProperty.call(value, k)) {
+                            v = walk(value, k);
+                            if (v !== undefined) {
+                                value[k] = v;
+                            } else {
+                                delete value[k];
+                            }
+                        }
+                    }
+                }
+                return reviver.call(holder, key, value);
+            }
+
+
+// Parsing happens in four stages. In the first stage, we replace certain
+// Unicode characters with escape sequences. JavaScript handles many characters
+// incorrectly, either silently deleting them, or treating them as line endings.
+
+            cx.lastIndex = 0;
+            if (cx.test(text)) {
+                text = text.replace(cx, function (a) {
+                    return '\\u' +
+                        ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
+                });
+            }
+
+// In the second stage, we run the text against regular expressions that look
+// for non-JSON patterns. We are especially concerned with '()' and 'new'
+// because they can cause invocation, and '=' because it can cause mutation.
+// But just to be safe, we want to reject all unexpected forms.
+
+// We split the second stage into 4 regexp operations in order to work around
+// crippling inefficiencies in IE's and Safari's regexp engines. First we
+// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we
+// replace all simple value tokens with ']' characters. Third, we delete all
+// open brackets that follow a colon or comma or that begin the text. Finally,
+// we look to see that the remaining characters are only whitespace or ']' or
+// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval.
+
+            if (/^[\],:{}\s]*$/.
+test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@').
+replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']').
+replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
+
+// In the third stage we use the eval function to compile the text into a
+// JavaScript structure. The '{' operator is subject to a syntactic ambiguity
+// in JavaScript: it can begin a block or an object literal. We wrap the text
+// in parens to eliminate the ambiguity.
+
+                j = eval('(' + text + ')');
+
+// In the optional fourth stage, we recursively walk the new structure, passing
+// each name/value pair to a reviver function for possible transformation.
+
+                return typeof reviver === 'function' ?
+                    walk({'': j}, '') : j;
+            }
+
+// If the text is not JSON parseable, then a SyntaxError is thrown.
+
+            throw new SyntaxError('JSON.parse');
+        };
+    }
+}());
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/web/jsonlint.html
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/web/jsonlint.html	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/web/jsonlint.html	(revision 505)
@@ -0,0 +1,59 @@
+<!doctype html> 
+<html lang="en"> 
+<head> 
+    <meta charset="utf-8" /> 
+    <title>JSON Lint</title> 
+    <script src="json2.js"></script>
+    <script src="jsonlint.js"></script>
+    <script>
+      window.onload = function () {
+        document.getElementById("button").onclick = function () {
+          try {
+            var result = jsonlint.parse(document.getElementById("source").value);
+            if (result) {
+              document.getElementById("result").innerHTML = "JSON is valid!";
+              document.getElementById("result").className = "pass";
+              if (document.getElementById("reformat").checked) {
+                document.getElementById("source").value = JSON.stringify(result, null, "  ");
+              }
+            }
+          } catch(e) {
+            document.getElementById("result").innerHTML = e;
+            document.getElementById("result").className = "fail";
+          }
+        };
+      }
+    </script>
+    <style>
+      body {font-family: sans-serif;}
+      #result {
+        padding: 1em;
+      }
+      .pass {
+        background-color: #efe;
+        color: #393;
+        border: 2px solid #393;
+      }
+      .fail {
+        background-color: #fee;
+        color: #933;
+        border: 2px solid #933;
+      }
+      textarea { width: 100%; }
+    </style>
+</head> 
+<body> 
+  <h1>JSON Lint</h1> 
+  <p>A pure JavaScript version of the service provided at <a href="http://jsonlint.com/">jsonlint.com</a>.</p>
+  <textarea id="source" rows="20" cols="50">
+
+  </textarea>
+  <p>
+    <button id="button">Validate</button>
+    <input type="checkbox" value="yes" id="reformat" /><label for="reformat">reformat JSON</label>
+  </p>
+  <h2>Results</h2>
+  <pre id="result"></pre>
+  <p><a href="http://github.com/zaach/jsonlint">project on github</a></p> 
+</body> 
+</html> 
Index: Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/web/jsonlint.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/web/jsonlint.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/node_modules/jsonlint/web/jsonlint.js	(revision 505)
@@ -0,0 +1,1 @@
+var jsonlint=function(){var a=!0,b=!1,c={},d=function(){var a={trace:function(){},yy:{},symbols_:{error:2,JSONString:3,STRING:4,JSONNumber:5,NUMBER:6,JSONNullLiteral:7,NULL:8,JSONBooleanLiteral:9,TRUE:10,FALSE:11,JSONText:12,JSONValue:13,EOF:14,JSONObject:15,JSONArray:16,"{":17,"}":18,JSONMemberList:19,JSONMember:20,":":21,",":22,"[":23,"]":24,JSONElementList:25,$accept:0,$end:1},terminals_:{2:"error",4:"STRING",6:"NUMBER",8:"NULL",10:"TRUE",11:"FALSE",14:"EOF",17:"{",18:"}",21:":",22:",",23:"[",24:"]"},productions_:[0,[3,1],[5,1],[7,1],[9,1],[9,1],[12,2],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[15,2],[15,3],[20,3],[19,1],[19,3],[16,2],[16,3],[25,1],[25,3]],performAction:function(b,c,d,e,f,g,h){var i=g.length-1;switch(f){case 1:this.$=b.replace(/\\(\\|")/g,"$1").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"	").replace(/\\v/g,"").replace(/\\f/g,"\f").replace(/\\b/g,"\b");break;case 2:this.$=Number(b);break;case 3:this.$=null;break;case 4:this.$=!0;break;case 5:this.$=!1;break;case 6:return this.$=g[i-1];case 13:this.$={};break;case 14:this.$=g[i-1];break;case 15:this.$=[g[i-2],g[i]];break;case 16:this.$={},this.$[g[i][0]]=g[i][1];break;case 17:this.$=g[i-2],g[i-2][g[i][0]]=g[i][1];break;case 18:this.$=[];break;case 19:this.$=g[i-1];break;case 20:this.$=[g[i]];break;case 21:this.$=g[i-2],g[i-2].push(g[i])}},table:[{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],12:1,13:2,15:7,16:8,17:[1,14],23:[1,15]},{1:[3]},{14:[1,16]},{14:[2,7],18:[2,7],22:[2,7],24:[2,7]},{14:[2,8],18:[2,8],22:[2,8],24:[2,8]},{14:[2,9],18:[2,9],22:[2,9],24:[2,9]},{14:[2,10],18:[2,10],22:[2,10],24:[2,10]},{14:[2,11],18:[2,11],22:[2,11],24:[2,11]},{14:[2,12],18:[2,12],22:[2,12],24:[2,12]},{14:[2,3],18:[2,3],22:[2,3],24:[2,3]},{14:[2,4],18:[2,4],22:[2,4],24:[2,4]},{14:[2,5],18:[2,5],22:[2,5],24:[2,5]},{14:[2,1],18:[2,1],21:[2,1],22:[2,1],24:[2,1]},{14:[2,2],18:[2,2],22:[2,2],24:[2,2]},{3:20,4:[1,12],18:[1,17],19:18,20:19},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:23,15:7,16:8,17:[1,14],23:[1,15],24:[1,21],25:22},{1:[2,6]},{14:[2,13],18:[2,13],22:[2,13],24:[2,13]},{18:[1,24],22:[1,25]},{18:[2,16],22:[2,16]},{21:[1,26]},{14:[2,18],18:[2,18],22:[2,18],24:[2,18]},{22:[1,28],24:[1,27]},{22:[2,20],24:[2,20]},{14:[2,14],18:[2,14],22:[2,14],24:[2,14]},{3:20,4:[1,12],20:29},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:30,15:7,16:8,17:[1,14],23:[1,15]},{14:[2,19],18:[2,19],22:[2,19],24:[2,19]},{3:5,4:[1,12],5:6,6:[1,13],7:3,8:[1,9],9:4,10:[1,10],11:[1,11],13:31,15:7,16:8,17:[1,14],23:[1,15]},{18:[2,17],22:[2,17]},{18:[2,15],22:[2,15]},{22:[2,21],24:[2,21]}],defaultActions:{16:[2,6]},parseError:function(b,c){throw new Error(b)},parse:function(b){function o(a){d.length=d.length-2*a,e.length=e.length-a,f.length=f.length-a}function p(){var a;return a=c.lexer.lex()||1,typeof a!="number"&&(a=c.symbols_[a]||a),a}var c=this,d=[0],e=[null],f=[],g=this.table,h="",i=0,j=0,k=0,l=2,m=1;this.lexer.setInput(b),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,typeof this.lexer.yylloc=="undefined"&&(this.lexer.yylloc={});var n=this.lexer.yylloc;f.push(n),typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);var q,r,s,t,u,v,w={},x,y,z,A;for(;;){s=d[d.length-1],this.defaultActions[s]?t=this.defaultActions[s]:(q==null&&(q=p()),t=g[s]&&g[s][q]);if(typeof t=="undefined"||!t.length||!t[0]){if(!k){A=[];for(x in g[s])this.terminals_[x]&&x>2&&A.push("'"+this.terminals_[x]+"'");var B="";this.lexer.showPosition?B="Parse error on line "+(i+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+A.join(", ")+", got '"+this.terminals_[q]+"'":B="Parse error on line "+(i+1)+": Unexpected "+(q==1?"end of input":"'"+(this.terminals_[q]||q)+"'"),this.parseError(B,{text:this.lexer.match,token:this.terminals_[q]||q,line:this.lexer.yylineno,loc:n,expected:A})}if(k==3){if(q==m)throw new Error(B||"Parsing halted.");j=this.lexer.yyleng,h=this.lexer.yytext,i=this.lexer.yylineno,n=this.lexer.yylloc,q=p()}for(;;){if(l.toString()in g[s])break;if(s==0)throw new Error(B||"Parsing halted.");o(1),s=d[d.length-1]}r=q,q=l,s=d[d.length-1],t=g[s]&&g[s][l],k=3}if(t[0]instanceof Array&&t.length>1)throw new Error("Parse Error: multiple actions possible at state: "+s+", token: "+q);switch(t[0]){case 1:d.push(q),e.push(this.lexer.yytext),f.push(this.lexer.yylloc),d.push(t[1]),q=null,r?(q=r,r=null):(j=this.lexer.yyleng,h=this.lexer.yytext,i=this.lexer.yylineno,n=this.lexer.yylloc,k>0&&k--);break;case 2:y=this.productions_[t[1]][1],w.$=e[e.length-y],w._$={first_line:f[f.length-(y||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(y||1)].first_column,last_column:f[f.length-1].last_column},v=this.performAction.call(w,h,j,i,this.yy,t[1],e,f);if(typeof v!="undefined")return v;y&&(d=d.slice(0,-1*y*2),e=e.slice(0,-1*y),f=f.slice(0,-1*y)),d.push(this.productions_[t[1]][0]),e.push(w.$),f.push(w._$),z=g[d[d.length-2]][d[d.length-1]],d.push(z);break;case 3:return!0}}return!0}},b=function(){var a={EOF:1,parseError:function(b,c){if(!this.yy.parseError)throw new Error(b);this.yy.parseError(b,c)},setInput:function(a){return this._input=a,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.match+=a,this.matched+=a;var b=a.match(/\n/);return b&&this.yylineno++,this._input=this._input.slice(1),a},unput:function(a){return this._input=a+this._input,this},more:function(){return this._more=!0,this},less:function(a){this._input=this.match.slice(a)+this._input},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),b=(new Array(a.length+1)).join("-");return a+this.upcomingInput()+"\n"+b+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,b,c,d,e,f;this._more||(this.yytext="",this.match="");var g=this._currentRules();for(var h=0;h<g.length;h++){c=this._input.match(this.rules[g[h]]);if(c&&(!b||c[0].length>b[0].length)){b=c,d=h;if(!this.options.flex)break}}if(b){f=b[0].match(/\n.*/g),f&&(this.yylineno+=f.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-1:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],a=this.performAction.call(this,this.yy,this,g[d],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1);if(a)return a;return}if(this._input==="")return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var b=this.next();return typeof b!="undefined"?b:this.lex()},begin:function(b){this.conditionStack.push(b)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(b){this.begin(b)}};return a.options={},a.performAction=function(b,c,d,e){var f=e;switch(d){case 0:break;case 1:return 6;case 2:return c.yytext=c.yytext.substr(1,c.yyleng-2),4;case 3:return 17;case 4:return 18;case 5:return 23;case 6:return 24;case 7:return 22;case 8:return 21;case 9:return 10;case 10:return 11;case 11:return 8;case 12:return 14;case 13:return"INVALID"}},a.rules=[/^(?:\s+)/,/^(?:(-?([0-9]|[1-9][0-9]+))(\.[0-9]+)?([eE][-+]?[0-9]+)?\b)/,/^(?:"(?:\\[\\"bfnrt/]|\\u[a-fA-F0-9]{4}|[^\\\0-\x09\x0a-\x1f"])*")/,/^(?:\{)/,/^(?:\})/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?::)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:.)/],a.conditions={INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}},a}();return a.lexer=b,a}();return typeof a!="undefined"&&typeof c!="undefined"&&(c.parser=d,c.parse=function(){return d.parse.apply(d,arguments)},c.main=function(d){if(!d[1])throw new Error("Usage: "+d[0]+" FILE");if(typeof process!="undefined")var e=a("fs").readFileSync(a("path").join(process.cwd(),d[1]),"utf8");else var f=a("file").path(a("file").cwd()),e=f.join(d[1]).read({charset:"utf-8"});return c.parser.parse(e)},typeof b!="undefined"&&a.main===b&&c.main(typeof process!="undefined"?process.argv.slice(1):a("system").args)),c}();
Index: Dev/trunk/node_modules/grunt-jsonlint/package.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/package.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/package.json	(revision 505)
@@ -0,0 +1,39 @@
+{
+  "name": "grunt-jsonlint",
+  "version": "1.0.4",
+  "description": "Validate JSON files from grunt.",
+  "main": "tasks/jsonlint.js",
+  "scripts": {
+    "test": "grunt jshint jsonlint"
+  },
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/brandonramirez/grunt-jsonlint"
+  },
+  "bugs": {
+    "url": "https://github.com/brandonramirez/grunt-jsonlint/issues"
+  },
+  "keywords": [
+    "gruntplugin",
+    "build",
+    "validate"
+  ],
+  "author": {
+    "name": "Brandon Ramirez",
+    "email": "brandon.s.ramirez@gmail.com",
+    "url": "http://www.brandonsramirez.com/"
+  },
+  "license": "MIT",
+  "dependencies": {
+    "jsonlint": "1.6.0"
+  },
+  "devDependencies": {
+    "grunt": "~0.4.1",
+    "grunt-contrib-jshint": "~0.7.2"
+  },
+  "readme": "grunt-jsonlint\n==============\n\nValidate JSON files from grunt.\n\nRequires grunt 0.4\n\n# Install\n\n    npm install grunt-jsonlint --save-dev\n\n# Configure\n\nAdd the following (multi-)task to your Gruntfile:\n\n    jsonlint: {\n      sample: {\n        src: [ 'some/valid.json' ]\n      }\n    }\n\nAdd the following to load the task into your Gruntfile:\n\n    grunt.loadNpmTasks('grunt-jsonlint');\n\nAn error will be thrown if the JSON file contains syntax errors.\n\n# Roadmap\n\nThe underlying jsonlint library has many features not yet exposed.\nEach of these would be valuable in grunt.\n\n* Schema validation\n* Sort file by key\n\n# Release History\n\n* 2013-02-20âââv1.0.0âââFirst official release\n* 2013-09-19   v1.0.1   Do not log every validated file\n* 2013-10-31   v1.0.2   Add output of count of successfully linted JSON file for issue\n* 2013-11-16   v1.0.3   Fix output of count of successfully linted JSON files.\n* 2013-11-18   v1.0.4   Updated for latest dependencies.\n",
+  "readmeFilename": "README.md",
+  "homepage": "https://github.com/brandonramirez/grunt-jsonlint",
+  "_id": "grunt-jsonlint@1.0.4",
+  "_from": "grunt-jsonlint@"
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/tasks/jsonlint.js
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/tasks/jsonlint.js	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/tasks/jsonlint.js	(revision 505)
@@ -0,0 +1,34 @@
+/*
+ * grunt-jsonlint
+ * https://github.com/brandonsramirez/grunt-jsonlint
+ *
+ * Copyright (c) 2013 Brandon Ramirez
+ * Licensed under the MIT license.
+ */
+
+module.exports = function (grunt) {
+  "use strict";
+
+  var jsonlint = require('jsonlint');
+
+  grunt.registerMultiTask("jsonlint", "Validate JSON files.", function () {
+    if (this.filesSrc != null) {
+      var failed = 0;
+      this.filesSrc.forEach(function (file) {
+        grunt.log.debug('Validating "' + file + '"...');
+
+        try {
+          jsonlint.parse(grunt.file.read(file));
+          grunt.verbose.ok('File "' + file + '" is valid JSON.');
+        }
+        catch (e) {
+          failed++;
+          grunt.log.error('File "' + file + '" failed JSON validation.');
+          grunt.fail.warn(e);
+        }
+      });
+      var successful = this.filesSrc.length - failed;
+      grunt.log.ok(successful + ' file' + (successful === 1 ? '' : 's') + ' lint free.');
+    }
+  });
+};
Index: Dev/trunk/node_modules/grunt-jsonlint/test/invalid.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/test/invalid.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/test/invalid.json	(revision 505)
@@ -0,0 +1,15 @@
+{
+  "test": {
+    "hello": "world",
+    "this is a test": "oh really?",
+    "foo": {
+      "bar": "true",
+      "ext": [
+        "1",
+        "2"
+        "3",
+      ],
+      "final": "destination"
+    }
+  }
+}
Index: Dev/trunk/node_modules/grunt-jsonlint/test/valid.json
===================================================================
--- Dev/trunk/node_modules/grunt-jsonlint/test/valid.json	(revision 505)
+++ Dev/trunk/node_modules/grunt-jsonlint/test/valid.json	(revision 505)
@@ -0,0 +1,15 @@
+{
+  "test": {
+    "hello": "world",
+    "this is a test": "oh really?",
+    "foo": {
+      "bar": "true",
+      "ext": [
+        "1",
+        "2",
+        "3"
+      ],
+      "final": "destination"
+    }
+  }
+}
Index: Dev/trunk/package.json
===================================================================
--- Dev/trunk/package.json	(revision 504)
+++ Dev/trunk/package.json	(revision 505)
@@ -19,5 +19,6 @@
     "mocha": "~1.14.0",
     "should": "~2.1.0",
-    "grunt-tv4": "^0.4.0"
+    "grunt-tv4": "^0.4.0",
+    "grunt-jsonlint": "^1.0.4"
   },
   "dependencies": {}
