Permalink
Browse files

Also add mention of license to src

  • Loading branch information...
1 parent fa30ff8 commit bf2daa473269efe5e994e978174b4efeac721992 @sindresorhus sindresorhus committed Jun 12, 2012
Showing with 22 additions and 6 deletions.
  1. +1 −0 .gitignore
  2. +13 −4 grunt.js
  3. +8 −2 src/crapLoader.js
View
@@ -0,0 +1 @@
+node_modules
View
@@ -15,18 +15,27 @@ module.exports = function( grunt ) {
},
concat: {
dist: {
- src: ['<banner:meta.banner>', 'src/<%= pkg.name %>.js'],
+ src: [
+ '<banner:meta.banner>',
+ '<file_strip_banner:src/<%= pkg.name %>.js>'
+ ],
dest: 'dist/<%= pkg.name %>.js'
}
},
min: {
dist: {
- src: ['<banner:meta.banner>', 'src/<%= pkg.name %>.js'],
+ src: [
+ '<banner:meta.banner>',
+ 'src/<%= pkg.name %>.js'
+ ],
dest: 'dist/<%= pkg.name %>.min.js'
}
},
lint: {
- files: ['grunt.js', 'src/<%= pkg.name %>.js']
+ files: [
+ 'grunt.js',
+ 'src/<%= pkg.name %>.js'
+ ]
},
watch: {
files: '<config:lint.files>',
@@ -55,6 +64,6 @@ module.exports = function( grunt ) {
});
grunt.registerTask('default', 'lint');
- grunt.registerTask('release', 'concat min');
+ grunt.registerTask('release', 'lint concat min');
};
View
@@ -1,5 +1,11 @@
-/*jshint browser:true, evil:true */
-/*globals console */
+/*
+
+(c) Gregers Rygg - MIT License
+
+jshint browser:true, evil:true
+globals console
+
+*/
var crapLoader = (function() {
var isHijacked = false,
queue = [],

0 comments on commit bf2daa4

Please sign in to comment.