Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CSS-Tricks/The-Printliminator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMottie <wowmotty@gmail.com>2015-09-01 20:20:21 +0300
committerMottie <wowmotty@gmail.com>2015-09-01 20:20:21 +0300
commit25cf7a8142dab5e612268a824a72be2236927943 (patch)
treeb9a718dfac8010827a4aef3ad6c774614710d8b7 /Gruntfile.js
parentc399bf2ae30dccf46a5ae782e7fc74e71cf15bf2 (diff)
Remove jQuery dependency; add drag & keyboardv3.1.0
I know, this is a bad all-in-one commit. I did try to test the heck out of it!
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 9468751..e307ff9 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -15,11 +15,9 @@ module.exports = function( grunt ) {
// bookmarklet builder URLs
indexHtml : 'index.html',
production : {
- jQuery : '//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js',
printliminator : '//css-tricks.github.io/The-Printliminator/printliminator.min.js'
},
dev : {
- jQuery : 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js',
printliminator : 'src/printliminator.js'
},
@@ -46,10 +44,8 @@ module.exports = function( grunt ) {
globals: {
'<%= config.printliminatorFunctionName %>': false
},
- 'loopfunc': true,
- 'jquery': true,
- 'browser': true,
- 'undef': true
+ browser: true,
+ undef: true
},
files: {
src: [
@@ -102,8 +98,6 @@ module.exports = function( grunt ) {
modFile = function( mode ) {
var file = content
- // replace URLs in javascript, depending on mode
- .replace( /\{jQuery\}/, config[ mode ].jQuery )
.replace( /\{printliminator\}/, config[ mode ].printliminator )
.replace( /\"/g, "'" )
// not using encodeURI because it changes "{}" into "%7B%7D"