Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
Remove unneeded grunt tasks and remove "use strict" for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Sep 2, 2012
1 parent 527a651 commit 00288f5
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 31 deletions.
2 changes: 1 addition & 1 deletion dist/basic/jquery.qtip.css
@@ -1,4 +1,4 @@
/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-08-14
/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-09-02
* http://craigsworks.com/projects/qtip2/
* Copyright (c) 2012 Craig Michael Thompson; Licensed MIT, GPL */

Expand Down
6 changes: 3 additions & 3 deletions dist/basic/jquery.qtip.js
@@ -1,4 +1,4 @@
/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-08-14
/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-09-02
* http://craigsworks.com/projects/qtip2/
* Copyright (c) 2012 Craig Michael Thompson; Licensed MIT, GPL */

Expand All @@ -16,8 +16,8 @@
}
}
(function($) {

"use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
/* This currently causes issues with Safari 6, so for it's disabled */
//"use strict"; // (Dis)able ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/

// Munge the primitives - Paul Irish tip
var TRUE = true,
Expand Down
2 changes: 1 addition & 1 deletion dist/basic/jquery.qtip.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jquery.qtip.css
@@ -1,4 +1,4 @@
/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-08-14
/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-09-02
* http://craigsworks.com/projects/qtip2/
* Copyright (c) 2012 Craig Michael Thompson; Licensed MIT, GPL */

Expand Down
6 changes: 3 additions & 3 deletions dist/jquery.qtip.js
@@ -1,4 +1,4 @@
/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-08-14
/*! qTip2 - Pretty powerful tooltips - v2.0.0 - 2012-09-02
* http://craigsworks.com/projects/qtip2/
* Copyright (c) 2012 Craig Michael Thompson; Licensed MIT, GPL */

Expand All @@ -16,8 +16,8 @@
}
}
(function($) {

"use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
/* This currently causes issues with Safari 6, so for it's disabled */
//"use strict"; // (Dis)able ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/

// Munge the primitives - Paul Irish tip
var TRUE = true,
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.qtip.min.js

Large diffs are not rendered by default.

19 changes: 0 additions & 19 deletions grunt.js
Expand Up @@ -172,25 +172,6 @@ module.exports = function(grunt) {
);
});

// Grab latest git commit message and output to "comment" file
grunt.registerTask('commitmsg', 'Output latest git commit message', function() {
var dist = grunt.config('dirs.dist'),
cmd = 'git log --pretty=format:\'%s\' -1 > ' + dist + '/comment';

require('child_process').exec(cmd, function(err, stdout, stderr){
grunt.file.write(dist+'/comment', gzipSrc.length);
});
});

// Output gzip file size task
grunt.registerTask('gzip', 'Calculate size of gzipped minified file', function() {
var dist = grunt.config('dirs.dist'),
src = grunt.file.read( grunt.file.expand( grunt.config('min.dist.dest') ) ),
gzipSrc = grunt.helper('gzip', src);

grunt.file.write(dist+'/gziplength', gzipSrc.length);
});

// Setup all other tasks
grunt.registerTask('css', 'init clean concat:dist_css mincss:dist');
grunt.registerTask('basic', 'init clean lint concat:basic concat:basic_css min:basic mincss:basic');
Expand Down
4 changes: 2 additions & 2 deletions src/intro.js
Expand Up @@ -12,8 +12,8 @@
}
}
(function($) {

"use strict"; // Enable ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/
/* This currently causes issues with Safari 6, so for it's disabled */
//"use strict"; // (Dis)able ECMAScript "strict" operation for this function. See more: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/

// Munge the primitives - Paul Irish tip
var TRUE = true,
Expand Down

0 comments on commit 00288f5

Please sign in to comment.