Skip to content

Commit aec1fce

Browse files
author
kevcenteno
committed
put license url in package.json. Updated banner to use package.json
license json object. updated license url in src file to point to opensource.org/licenses/MIT
1 parent 4d93524 commit aec1fce

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ module.exports = function(grunt) {
1313
'* <%= pkg.homepage %>\n' +
1414
'*\n' +
1515
'*\n' +
16-
'* Released under the MIT license\n' +
17-
'* http://jquery.org/license\n' +
16+
'* Released under the <%= pkg.license.type %> license\n' +
17+
'* <%= pkg.license.url %>\n' +
1818
'*\n' +
1919
'* Date: <%= grunt.template.today("yyyy-mm-dd") %>\n' +
2020
'*\n' +

VerbalExpressions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
*
66
* Released under the MIT license
7-
* http://jquery.org/license
7+
* http://opensource.org/licenses/MIT
88
*
99
* Date: 2013-07-19
1010
*

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
"url": "https://github.com/VerbalExpressions/JSVerbalExpressions/issues"
1818
},
1919
"main": "VerbalExpressions.js",
20-
"license": "MIT",
20+
"license": {
21+
"type": "MIT",
22+
"url": "http://opensource.org/licenses/MIT"
23+
},
2124
"engines": {
2225
"node": ">= 0.8.0"
2326
}

0 commit comments

Comments
 (0)