Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

-Updating metadata

  • Loading branch information...
commit 8b14b3b33f9ee3229008b043cf1701b850b655ef 1 parent bd11ea1
@codenothing authored
View
2  LICENSE
@@ -1,6 +1,6 @@
The MIT License
-Copyright (c) 2011 Corey Hart
+Copyright (c) 2011-2012 Corey Hart
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
View
5 Makefile
@@ -1,8 +1,3 @@
-#
-# JSONLint [VERSION]
-# [DATE]
-# Corey Hart @ http://www.codenothing.com
-#
.PHONY: all test clean
all:
View
25 README.md
@@ -27,3 +27,28 @@ Options
-------
There is currently only 1 option that is handled: **comments**, which defaults to true if not set.
+
+
+License
+-------
+The MIT License
+
+Copyright (c) 2011-2012 Corey Hart
+
+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.
View
10 demo/index.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <title>JSONLint [VERSION]: JSON Lint with comments</title>
+ <title>JSONLint 0.1.0: JSON Lint with comments</title>
<link rel='stylesheet' type='text/css' href='styles.css' />
<link rel='stylesheet' type='text/css' href='jquery-linedtextarea.css' />
<script type='text/javascript' src='../jsonlint.js'></script>
@@ -11,14 +11,8 @@
</head>
<body>
-<!--
-JSONLint [VERSION]
-[DATE]
-Corey Hart @ http://www.codenothing.com
--->
-
<div id='content'>
- <h1>JSONLint [VERSION]</h1>
+ <h1>JSONLint 0.1.0</h1>
<textarea></textarea>
<button>Validate</button>
<input type='checkbox' name='comments' checked='checked' /> Allow Comments
View
5 demo/js.js
@@ -1,8 +1,3 @@
-/**
- * JSONLint [VERSION]
- * [DATE]
- * Corey Hart @ http://www.codenothing.com
- */
jQuery(function(){
var textarea = jQuery('textarea').linedtextarea(),
wrapper = jQuery('.linedwrap'),
View
5 demo/styles.css
@@ -1,8 +1,3 @@
-/**
- * JSONLint [VERSION]
- * [DATE]
- * Corey Hart @ http://www.codenothing.com
- */
body {
font-size: 12pt;
}
View
14 package.json
@@ -5,7 +5,19 @@
"keywords": [ "json", "lint", "comments" ],
"author": "Corey Hart <corey@codenothing.com>",
"version": "0.1.0",
+ "main": "jsonlint.js",
+ "homepage": "https://github.com/codenothing/jsonlint",
"engines": {
- "node": "*"
+ "node": ">=0.5"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/codenothing/jsonlint.git"
+ },
+ "bugs": {
+ "url": "https://github.com/codenothing/jsonlint/issues"
+ },
+ "scripts": {
+ "test": "make test"
}
}
View
6 test/single.js
@@ -1,9 +1,3 @@
-/**
- * JSONLint [VERSION]
- * [DATE]
- * Corey Hart @ http://www.codenothing.com
- */
-
// Test String (Editable)
var test = '{"test":"\\"double quote\\""}';
View
5 test/src/clean.js
@@ -1,8 +1,3 @@
-/**
- * JSONLint [VERSION]
- * [DATE]
- * Corey Hart @ http://www.codenothing.com
- */
module.exports = [
// Empties
"[]",
View
5 test/src/color.js
@@ -1,8 +1,3 @@
-/**
- * JSONLint [VERSION]
- * [DATE]
- * Corey Hart @ http://www.codenothing.com
- */
var sys = require('sys'),
Color = module.exports = function( color, bold, str ) {
return "\x1B[" + ( bold ? 1 : 0 ) + ";" + Color.colors[ color ] + "m" + str + "\x1B[0m";
View
5 test/src/core.js
@@ -1,8 +1,3 @@
-/**
- * JSONLint [VERSION]
- * [DATE]
- * Corey Hart @ http://www.codenothing.com
- */
var JSONLint = require('../../jsonlint'),
Color = require('./color'),
fs = require('fs');
View
7 test/src/files/spec.js
@@ -1,10 +1,3 @@
-/**
- * JSONLint [VERSION]
- * [DATE]
- * Corey Hart @ http://www.codenothing.com
- *
- * Spec for invalid json files
- */
module.exports = {
'endofarray.json': {
line: 1,
View
5 test/src/invalid.js
@@ -1,8 +1,3 @@
-/**
- * JSONLint [VERSION]
- * [DATE]
- * Corey Hart @ http://www.codenothing.com
- */
module.exports = {
// JSON cannot be empty
"Empty Test": {
View
6 test/start.js
@@ -1,9 +1,3 @@
-/**
- * JSONLint [VERSION]
- * [DATE]
- * Corey Hart @ http://www.codenothing.com
- */
-
// Temporary files to block during rendering
var block = [
];
Please sign in to comment.
Something went wrong with that request. Please try again.