aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2014-02-06 23:34:02 +0200
committerXhmikosR <[email protected]>2014-02-06 23:34:02 +0200
commit5769b776e5fb0dccf080878505c3c097f9c2ce3b (patch)
tree02e19604a5714733caf7d9ff794b78d042542d2f
parent119ed54bd112b369f260f96349fd1893711fea41 (diff)
downloadbootstrap-5769b776e5fb0dccf080878505c3c097f9c2ce3b.tar.xz
bootstrap-5769b776e5fb0dccf080878505c3c097f9c2ce3b.zip
bs-raw-files-generator.js: use the global directive to define the `btoa` variable.
-rw-r--r--grunt/bs-raw-files-generator.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/grunt/bs-raw-files-generator.js b/grunt/bs-raw-files-generator.js
index 255508b7f..8f004ce3e 100644
--- a/grunt/bs-raw-files-generator.js
+++ b/grunt/bs-raw-files-generator.js
@@ -1,4 +1,6 @@
/* jshint node: true */
+/* global btoa: true */
+
/*!
* Bootstrap Grunt task for generating raw-files.min.js for the Customizer
* http://getbootstrap.com
@@ -6,7 +8,7 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
-var btoa = require('btoa') // jshint ignore:line
+var btoa = require('btoa')
var fs = require('fs')
function getFiles(type) {