]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Drop redundant module import 11776/head
authorZlatan Vasović <legospace9876@gmail.com>
Sun, 8 Dec 2013 10:24:47 +0000 (11:24 +0100)
committerZlatan Vasović <legospace9876@gmail.com>
Sun, 8 Dec 2013 10:24:47 +0000 (11:24 +0100)
Gruntfile.js
package.json

index 4e713d7c851e567441d54901c610893df6b3ed14..23fac663d0e3772d21225890c51522ef588726b2 100644 (file)
@@ -6,7 +6,9 @@ module.exports = function (grunt) {
   // Force use of Unix newlines
   grunt.util.linefeed = '\n';
 
-  RegExp.quote = require('regexp-quote')
+  RegExp.quote = function (string) {
+    return string.replace(/[-\\^$*+?.()|[\]{}]/g, '\\$&')
+  }
   var btoa = require('btoa')
   // Project configuration.
   grunt.initConfig({
index 3c9fd7fe66ee50ed9142577e48ce914dae0f32a6..d58e4a2272e6d39edb6a08b5be616c0adc0306cf 100644 (file)
@@ -36,7 +36,6 @@
     , "grunt-recess": "~0.5.0"
     , "grunt-saucelabs": "~4.1.2"
     , "grunt-sed": "~0.1.1"
-    , "regexp-quote": "~0.0.0"
   }
   , "jspm": {
       "main": "js/bootstrap"