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.js13
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/css.js b/lib/css.js
index 4a353be..dc55c4b 100644
--- a/lib/css.js
+++ b/lib/css.js
@@ -23,6 +23,7 @@ var path = require('path')
, https = require('https')
, less = require('less')
, CACHE = {}
+ , BRANCH = "master"
, CW = "/*!\n * Bootstrap v2.0.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. Please paste the error below in an issue for us at http://github.com/twitter/bootsrap! thanks!\n\n"
, FILES = [ "variables.less"
@@ -33,8 +34,7 @@ var path = require('path')
, "layouts.less"
, "type.less"
, "code.less"
- , "labels.less"
- , "badges.less"
+ , "labels-badges.less"
, "tables.less"
, "forms.less"
, "buttons.less"
@@ -59,7 +59,12 @@ var path = require('path')
, "close.less"
, "utilities.less"
, "component-animations.less"
- , "responsive.less" ]
+ , "responsive-1200px-min.less"
+ , "responsive-767px-max.less"
+ , "responsive-768px-979px.less"
+ , "responsive-navbar.less"
+ , "responsive-utilities.less" ]
+
function cache(callback) {
var complete = 0
@@ -72,7 +77,7 @@ function cache(callback) {
, options = {
host: 'raw.github.com'
, port: 443
- , path: path.join('/twitter/bootstrap/master/less/', filename)
+ , path: path.join('/twitter/bootstrap/', BRANCH, '/less/', filename)
, method: 'GET'
}