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

github.com/twbs/bootstrap-server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/css.js')
-rw-r--r--lib/css.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/css.js b/lib/css.js
index f3cb5aa..04cb00c 100644
--- a/lib/css.js
+++ b/lib/css.js
@@ -23,7 +23,7 @@ var path = require('path')
, https = require('https')
, less = require('less')
, CACHE = {}
- , BRANCH = "master"
+ , TAG = "v2.2.2"
, CW = "/*!\n * Bootstrap v2.2.2\n *\n * Copyright 2012 Twitter, Inc\n * Licensed under the Apache License v2.0\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Designed and built with all the love in the world @twitter by @mdo and @fat.\n */\n"
, ERROR = "A less error occured trying to build your bundle. You've likely entered an invalid input into the less variable field. Check your syntax and try again!\n\n thanks!\n\n"
, FILES = [ // CSS Reset
@@ -92,8 +92,6 @@ function cache(callback) {
var complete = 0
, _cache = {}
- console.log('trying to cache files')
-
FILES.forEach(function (filename) {
var req
, res
@@ -101,7 +99,7 @@ function cache(callback) {
, options = {
host: 'raw.github.com'
, port: 443
- , path: path.join('/twitter/bootstrap/', BRANCH, '/less/', filename)
+ , path: path.join('/twitter/bootstrap/', TAG, '/less/', filename)
, method: 'GET'
}
@@ -120,7 +118,6 @@ function cache(callback) {
if (++complete == FILES.length) {
CACHE = _cache
callback && callback(null, CACHE)
- console.log('cache complete !!!!!!!!!!!!!!!!!!')
}
})