]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
rename generateCustomCSS to generateCustomLess for accuracy
authorChris Rebert <code@rebertia.com>
Fri, 28 Mar 2014 03:43:44 +0000 (20:43 -0700)
committerChris Rebert <code@rebertia.com>
Fri, 28 Mar 2014 18:12:28 +0000 (11:12 -0700)
docs/assets/js/_src/customizer.js

index ea7cf7f6f5a94b80e86c170832224576eff687ac..596687b09c77b813a4c3d9c783b157ef0cb51341 100644 (file)
@@ -158,7 +158,7 @@ window.onload = function () { // wait for load in a dumb way because B-0
     complete(content)
   }
 
-  function generateCustomCSS(vars) {
+  function generateCustomLess(vars) {
     var result = ''
 
     for (var key in vars) {
@@ -203,7 +203,7 @@ window.onload = function () { // wait for load in a dumb way because B-0
 
       // Custom variables are added after Bootstrap variables so the custom
       // ones take precedence.
-      if (('variables.less' === filename) && vars) lessSource += generateCustomCSS(vars)
+      if (('variables.less' === filename) && vars) lessSource += generateCustomLess(vars)
     })
 
     lessSource = lessSource.replace(/@import[^\n]*/gi, '') //strip any imports