зеркало из
1
0
Форкнуть 0
This commit is contained in:
fat 2013-07-26 23:25:30 -07:00
Родитель 6cebb0640c
Коммит 4aea71c1e0
7 изменённых файлов: 21 добавлений и 21 удалений

Просмотреть файл

@ -1,6 +1,6 @@
## [Twitter Bootstrap](http://twitter.github.com/bootstrap) Server
## [Bootstrap](http://getbootstrap.com) Server
The twitter bootstrap server is responsible for backing the custom builds from bootstrap's download page.
The bootstrap server is responsible for backing the custom builds from bootstrap's download page.
It serves zip files containing custom built and minified css and js.
@ -32,6 +32,6 @@ $ node tests
## License
Copyright 2012 Twitter, Inc.
Copyright 2013 Twitter, Inc.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Просмотреть файл

@ -1,8 +1,8 @@
// ========================================================================
// bootstrap-server v1.0.0
// http://twitter.github.com/bootstrap
// http://twbs.github.com/bootstrap
// ========================================================================
// Copyright 2012 Twitter, Inc.
// Copyright 2013 Twitter, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.

Просмотреть файл

@ -1,8 +1,8 @@
// ========================================================================
// bootstrap-server v1.0.0
// http://twitter.github.com/bootstrap
// http://twbs.github.com/bootstrap
// ========================================================================
// Copyright 2012 Twitter, Inc.
// Copyright 2013 Twitter, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -24,7 +24,7 @@ var path = require('path')
, less = require('less')
, CACHE = {}
, TAG = "v2.3.1"
, CW = "/*!\n * Bootstrap v2.3.1\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"
, CW = "/*!\n * Bootstrap v2.3.1\n *\n * Copyright 2013 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 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
"reset.less"
@ -99,7 +99,7 @@ function cache(callback) {
, options = {
host: 'raw.github.com'
, port: 443
, path: path.join('/twitter/bootstrap/', TAG, '/less/', filename)
, path: path.join('/twbs/bootstrap/', TAG, '/less/', filename)
, method: 'GET'
}

Просмотреть файл

@ -1,8 +1,8 @@
// ========================================================================
// bootstrap-server v1.0.0
// http://twitter.github.com/bootstrap
// http://twbs.github.com/bootstrap
// ========================================================================
// Copyright 2012 Twitter, Inc.
// Copyright 2013 Twitter, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -38,7 +38,7 @@ function cache(callback) {
, options = {
host: 'raw.github.com'
, port: 443
, path: path.join('/twitter/bootstrap', TAG, 'img', filename)
, path: path.join('/twbs/bootstrap', TAG, 'img', filename)
, method: 'GET'
}

Просмотреть файл

@ -1,8 +1,8 @@
// ========================================================================
// bootstrap-server v1.0.0
// http://twitter.github.com/bootstrap
// http://twbs.github.com/bootstrap
// ========================================================================
// Copyright 2012 Twitter, Inc.
// Copyright 2013 Twitter, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -49,7 +49,7 @@ function cache() {
, options = {
host: 'raw.github.com'
, port: 443
, path: path.join('/twitter/bootstrap/', TAG, '/js/', filename)
, path: path.join('/twbs/bootstrap/', TAG, '/js/', filename)
, method: 'GET'
}
@ -82,7 +82,7 @@ function js(params, callback) {
try {
min = uglify(content, params.js)
} catch (e) {
min = 'Error minifying source - please open issue on http://github.com/twitter/bootstrap! thank you :)'
min = 'Error minifying source - please open issue on http://github.com/twbs/bootstrap! thank you :)'
}
callback(null, {
@ -101,7 +101,7 @@ function uglify(input, names) {
result = '/**\n'
+ '* Bootstrap.js by @fat & @mdo\n'
+ '* plugins: ' + names.join(', ') + '\n'
+ '* Copyright 2012 Twitter, Inc.\n'
+ '* Copyright 2013 Twitter, Inc.\n'
+ '* http://www.apache.org/licenses/LICENSE-2.0.txt\n'
+ '*/\n'

Просмотреть файл

@ -10,10 +10,10 @@
, "less": "1.3.3"
, "node-native-zip": "1.0.1"
}
, "author": "Twitter Inc."
, "author": "@fat"
, "repository": {
"type": "git"
, "url": "https://github.com/twitter/bootstrap-server.git"
, "url": "https://github.com/twbs/bootstrap-server.git"
}
, "licenses": [ { "type": "Apache-2.0" , "url": "http://www.apache.org/licenses/LICENSE-2.0" } ]
}

Просмотреть файл

@ -1,8 +1,8 @@
// ========================================================================
// bootstrap-server v0.1.0 - tests
// http://twitter.github.com/bootstrap
// http://twbs.github.com/bootstrap
// ========================================================================
// Copyright 2012 @fat, Inc.
// Copyright 2013 twitter, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.