]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
bs-raw-files-generator.js: use the global directive to define the `btoa` variable.
authorXhmikosR <xhmikosr@users.sourceforge.net>
Thu, 6 Feb 2014 21:34:02 +0000 (23:34 +0200)
committerXhmikosR <xhmikosr@users.sourceforge.net>
Thu, 6 Feb 2014 21:34:02 +0000 (23:34 +0200)
grunt/bs-raw-files-generator.js

index 255508b7fda2c4a49130525bd49be3009aa36220..8f004ce3e370dd62ab312bf46b090fd47cf04b25 100644 (file)
@@ -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) {