parent
080258d2a8
commit
6a1cac6154
@ -0,0 +1,6 @@ |
||||
source 'https://rubygems.org' |
||||
|
||||
group :development, :test do |
||||
gem 'jekyll', '~> 3.1.2' |
||||
gem 'jekyll-sitemap', '~> 0.11.0' |
||||
end |
||||
@ -0,0 +1,43 @@ |
||||
GEM |
||||
remote: https://rubygems.org/ |
||||
specs: |
||||
addressable (2.4.0) |
||||
colorator (0.1) |
||||
ffi (1.9.14-x64-mingw32) |
||||
jekyll (3.1.6) |
||||
colorator (~> 0.1) |
||||
jekyll-sass-converter (~> 1.0) |
||||
jekyll-watch (~> 1.1) |
||||
kramdown (~> 1.3) |
||||
liquid (~> 3.0) |
||||
mercenary (~> 0.3.3) |
||||
rouge (~> 1.7) |
||||
safe_yaml (~> 1.0) |
||||
jekyll-sass-converter (1.4.0) |
||||
sass (~> 3.4) |
||||
jekyll-sitemap (0.11.0) |
||||
addressable (~> 2.4.0) |
||||
jekyll-watch (1.4.0) |
||||
listen (~> 3.0, < 3.1) |
||||
kramdown (1.11.1) |
||||
liquid (3.0.6) |
||||
listen (3.0.8) |
||||
rb-fsevent (~> 0.9, >= 0.9.4) |
||||
rb-inotify (~> 0.9, >= 0.9.7) |
||||
mercenary (0.3.6) |
||||
rb-fsevent (0.9.7) |
||||
rb-inotify (0.9.7) |
||||
ffi (>= 0.5.0) |
||||
rouge (1.11.1) |
||||
safe_yaml (1.0.4) |
||||
sass (3.4.22) |
||||
|
||||
PLATFORMS |
||||
x64-mingw32 |
||||
|
||||
DEPENDENCIES |
||||
jekyll (~> 3.1.2) |
||||
jekyll-sitemap (~> 0.11.0) |
||||
|
||||
BUNDLED WITH |
||||
1.12.5 |
||||
@ -0,0 +1,22 @@ |
||||
Before opening an issue: |
||||
|
||||
- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue) |
||||
- [Validate](http://validator.w3.org/nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems |
||||
- Prepare a [reduced test case](https://css-tricks.com/reduced-test-cases/) for any bugs |
||||
- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md) |
||||
|
||||
When asking general "how to" questions: |
||||
|
||||
- Please do not open an issue here |
||||
- Instead, ask for help on [StackOverflow, IRC, or Slack](https://github.com/twbs/bootstrap/blob/master/README.md#community) |
||||
|
||||
When reporting a bug, include: |
||||
|
||||
- Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile) |
||||
- Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser) |
||||
- Reduced test cases and potential fixes using [JS Bin](https://jsbin.com) |
||||
|
||||
When suggesting a feature, include: |
||||
|
||||
- As much detail as possible for what we should add and why it's important to Bootstrap |
||||
- Relevant links to prior art, screenshots, or live demos whenever possible |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,109 @@ |
||||
#!/usr/bin/env node
|
||||
'use strict'; |
||||
|
||||
/* globals Set */ |
||||
/*! |
||||
* Script to update version number references in the project. |
||||
* Copyright 2015 Twitter, Inc. |
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/ |
||||
var fs = require('fs'); |
||||
var path = require('path'); |
||||
var sh = require('shelljs'); |
||||
sh.config.fatal = true; |
||||
var sed = sh.sed; |
||||
|
||||
// Blame TC39... https://github.com/benjamingr/RegExp.escape/issues/37
|
||||
RegExp.quote = function (string) { |
||||
return string.replace(/[-\\^$*+?.()|[\]{}]/g, '\\$&'); |
||||
}; |
||||
RegExp.quoteReplacement = function (string) { |
||||
return string.replace(/[$]/g, '$$'); |
||||
}; |
||||
|
||||
var DRY_RUN = false; |
||||
|
||||
function walkAsync(directory, excludedDirectories, fileCallback, errback) { |
||||
if (excludedDirectories.has(path.parse(directory).base)) { |
||||
return; |
||||
} |
||||
fs.readdir(directory, function (err, names) { |
||||
if (err) { |
||||
errback(err); |
||||
return; |
||||
} |
||||
names.forEach(function (name) { |
||||
var filepath = path.join(directory, name); |
||||
fs.lstat(filepath, function (err, stats) { |
||||
if (err) { |
||||
process.nextTick(errback, err); |
||||
return; |
||||
} |
||||
if (stats.isSymbolicLink()) { |
||||
return; |
||||
} |
||||
else if (stats.isDirectory()) { |
||||
process.nextTick(walkAsync, filepath, excludedDirectories, fileCallback, errback); |
||||
} |
||||
else if (stats.isFile()) { |
||||
process.nextTick(fileCallback, filepath); |
||||
} |
||||
}); |
||||
}); |
||||
}); |
||||
} |
||||
|
||||
function replaceRecursively(directory, excludedDirectories, allowedExtensions, original, replacement) { |
||||
original = new RegExp(RegExp.quote(original), 'g'); |
||||
replacement = RegExp.quoteReplacement(replacement); |
||||
var updateFile = !DRY_RUN ? function (filepath) { |
||||
if (allowedExtensions.has(path.parse(filepath).ext)) { |
||||
sed('-i', original, replacement, filepath); |
||||
} |
||||
} : function (filepath) { |
||||
if (allowedExtensions.has(path.parse(filepath).ext)) { |
||||
console.log('FILE: ' + filepath); |
||||
} |
||||
else { |
||||
console.log('EXCLUDED:' + filepath); |
||||
} |
||||
}; |
||||
walkAsync(directory, excludedDirectories, updateFile, function (err) { |
||||
console.error('ERROR while traversing directory!:'); |
||||
console.error(err); |
||||
process.exit(1); |
||||
}); |
||||
} |
||||
|
||||
function main(args) { |
||||
if (args.length !== 2) { |
||||
console.error('USAGE: change-version old_version new_version'); |
||||
console.error('Got arguments:', args); |
||||
process.exit(1); |
||||
} |
||||
var oldVersion = args[0]; |
||||
var newVersion = args[1]; |
||||
var EXCLUDED_DIRS = new Set([ |
||||
'.git', |
||||
'node_modules', |
||||
'vendor' |
||||
]); |
||||
var INCLUDED_EXTENSIONS = new Set([ |
||||
// This extension whitelist is how we avoid modifying binary files
|
||||
'', |
||||
'.css', |
||||
'.html', |
||||
'.js', |
||||
'.json', |
||||
'.less', |
||||
'.md', |
||||
'.nuspec', |
||||
'.ps1', |
||||
'.scss', |
||||
'.txt', |
||||
'.yml' |
||||
]); |
||||
replaceRecursively('.', EXCLUDED_DIRS, INCLUDED_EXTENSIONS, oldVersion, newVersion); |
||||
} |
||||
|
||||
main(process.argv.slice(2)); |
||||
File diff suppressed because it is too large
Load Diff
@ -1,9 +1,9 @@ |
||||
// WebKit-style focus |
||||
|
||||
.tab-focus() { |
||||
// Default |
||||
outline: thin dotted; |
||||
// WebKit |
||||
// WebKit-specific. Other browsers will keep their default outline style. |
||||
// (Initially tried to also force default via `outline: initial`, |
||||
// but that seems to erroneously remove the outline in Firefox altogether.) |
||||
outline: 5px auto -webkit-focus-ring-color; |
||||
outline-offset: -2px; |
||||
} |
||||
|
||||
@ -1,8 +1,8 @@ |
||||
$nuget = $env:NuGet |
||||
|
||||
#parse the version number out of package.json |
||||
# parse the version number out of package.json |
||||
$bsversion = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version |
||||
|
||||
#create packages |
||||
# create packages |
||||
& $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion |
||||
& $nuget pack "nuget\bootstrap.less.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion |
||||
& $nuget pack "nuget\bootstrap.less.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion |
||||
|
||||
@ -1,65 +1,5 @@ |
||||
# jQuery |
||||
# jQuery Dist |
||||
|
||||
> jQuery is a fast, small, and feature-rich JavaScript library. |
||||
This repo only contains package distribution files for jQuery Core. |
||||
|
||||
For information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/). |
||||
For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery). |
||||
|
||||
## Including jQuery |
||||
|
||||
Below are some of the most common ways to include jQuery. |
||||
|
||||
### Browser |
||||
|
||||
#### Script tag |
||||
|
||||
```html |
||||
<script src="https://code.jquery.com/jquery-2.2.0.min.js"></script> |
||||
``` |
||||
|
||||
#### Babel |
||||
|
||||
[Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively. |
||||
|
||||
```js |
||||
import $ from "jquery"; |
||||
``` |
||||
|
||||
#### Browserify/Webpack |
||||
|
||||
There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this... |
||||
|
||||
```js |
||||
var $ = require("jquery"); |
||||
``` |
||||
|
||||
#### AMD (Asynchronous Module Definition) |
||||
|
||||
AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html). |
||||
|
||||
```js |
||||
define(["jquery"], function($) { |
||||
|
||||
}); |
||||
``` |
||||
|
||||
### Node |
||||
|
||||
To include jQuery in [Node](nodejs.org), first install with npm. |
||||
|
||||
```sh |
||||
npm install jquery |
||||
``` |
||||
|
||||
For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes. |
||||
|
||||
```js |
||||
require("jsdom").env("", function(err, window) { |
||||
if (err) { |
||||
console.error(err); |
||||
return; |
||||
} |
||||
|
||||
var $ = require("jquery")(window); |
||||
}); |
||||
``` |
||||
For source files and issues, visit the [jQuery repo](https://github.com/jquery/jquery). |
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,36 +0,0 @@ |
||||
Copyright jQuery Foundation and other contributors, https://jquery.org/ |
||||
|
||||
This software consists of voluntary contributions made by many |
||||
individuals. For exact contribution history, see the revision history |
||||
available at https://github.com/jquery/sizzle |
||||
|
||||
The following license applies to all parts of this software except as |
||||
documented below: |
||||
|
||||
==== |
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining |
||||
a copy of this software and associated documentation files (the |
||||
"Software"), to deal in the Software without restriction, including |
||||
without limitation the rights to use, copy, modify, merge, publish, |
||||
distribute, sublicense, and/or sell copies of the Software, and to |
||||
permit persons to whom the Software is furnished to do so, subject to |
||||
the following conditions: |
||||
|
||||
The above copyright notice and this permission notice shall be |
||||
included in all copies or substantial portions of the Software. |
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
||||
|
||||
==== |
||||
|
||||
All files located in the node_modules and external directories are |
||||
externally maintained libraries used by this software which have their |
||||
own licenses; we recommend you read them, as their terms may differ from |
||||
the terms above. |
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,18 @@ |
||||
define( [ |
||||
"../var/document", |
||||
"../var/support" |
||||
], function( document, support ) { |
||||
|
||||
// Support: Safari 8+
|
||||
// In Safari 8 documents created via document.implementation.createHTMLDocument
|
||||
// collapse sibling forms: the second one becomes a child of the first one.
|
||||
// Because of that, this security measure has to be disabled in Safari 8.
|
||||
// https://bugs.webkit.org/show_bug.cgi?id=137337
|
||||
support.createHTMLDocument = ( function() { |
||||
var body = document.implementation.createHTMLDocument( "" ).body; |
||||
body.innerHTML = "<form></form><form></form>"; |
||||
return body.childNodes.length === 2; |
||||
} )(); |
||||
|
||||
return support; |
||||
} ); |
||||
@ -0,0 +1,20 @@ |
||||
define([ |
||||
"../core" |
||||
], function( jQuery ) { |
||||
|
||||
/** |
||||
* Determines whether an object can have data |
||||
*/ |
||||
jQuery.acceptData = function( owner ) { |
||||
// Accepts only:
|
||||
// - Node
|
||||
// - Node.ELEMENT_NODE
|
||||
// - Node.DOCUMENT_NODE
|
||||
// - Object
|
||||
// - Any
|
||||
/* jshint -W018 */ |
||||
return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); |
||||
}; |
||||
|
||||
return jQuery.acceptData; |
||||
}); |
||||
@ -0,0 +1,23 @@ |
||||
define( [ |
||||
"../var/document", |
||||
"../var/support" |
||||
], function( document, support ) { |
||||
|
||||
( function() { |
||||
var div = document.createElement( "div" ); |
||||
|
||||
// Support: IE<9
|
||||
support.deleteExpando = true; |
||||
try { |
||||
delete div.test; |
||||
} catch ( e ) { |
||||
support.deleteExpando = false; |
||||
} |
||||
|
||||
// Null elements to avoid leaks in IE.
|
||||
div = null; |
||||
} )(); |
||||
|
||||
return support; |
||||
|
||||
} ); |
||||
@ -0,0 +1,58 @@ |
||||
define( [ |
||||
"../var/support", |
||||
"../var/document" |
||||
], function( support, document ) { |
||||
|
||||
( function() { |
||||
var shrinkWrapBlocksVal; |
||||
|
||||
support.shrinkWrapBlocks = function() { |
||||
if ( shrinkWrapBlocksVal != null ) { |
||||
return shrinkWrapBlocksVal; |
||||
} |
||||
|
||||
// Will be changed later if needed.
|
||||
shrinkWrapBlocksVal = false; |
||||
|
||||
// Minified: var b,c,d
|
||||
var div, body, container; |
||||
|
||||
body = document.getElementsByTagName( "body" )[ 0 ]; |
||||
if ( !body || !body.style ) { |
||||
|
||||
// Test fired too early or in an unsupported environment, exit.
|
||||
return; |
||||
} |
||||
|
||||
// Setup
|
||||
div = document.createElement( "div" ); |
||||
container = document.createElement( "div" ); |
||||
container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px"; |
||||
body.appendChild( container ).appendChild( div ); |
||||
|
||||
// Support: IE6
|
||||
// Check if elements with layout shrink-wrap their children
|
||||
if ( typeof div.style.zoom !== "undefined" ) { |
||||
|
||||
// Reset CSS: box-sizing; display; margin; border
|
||||
div.style.cssText = |
||||
|
||||
// Support: Firefox<29, Android 2.3
|
||||
// Vendor-prefix box-sizing
|
||||
"-webkit-box-sizing:content-box;-moz-box-sizing:content-box;" + |
||||
"box-sizing:content-box;display:block;margin:0;border:0;" + |
||||
"padding:1px;width:1px;zoom:1"; |
||||
div.appendChild( document.createElement( "div" ) ).style.width = "5px"; |
||||
shrinkWrapBlocksVal = div.offsetWidth !== 3; |
||||
} |
||||
|
||||
body.removeChild( container ); |
||||
|
||||
return shrinkWrapBlocksVal; |
||||
}; |
||||
|
||||
} )(); |
||||
|
||||
return support; |
||||
|
||||
} ); |
||||
@ -0,0 +1,20 @@ |
||||
define( [ |
||||
"./var/nodeNames" |
||||
], function( nodeNames ) { |
||||
|
||||
function createSafeFragment( document ) { |
||||
var list = nodeNames.split( "|" ), |
||||
safeFrag = document.createDocumentFragment(); |
||||
|
||||
if ( safeFrag.createElement ) { |
||||
while ( list.length ) { |
||||
safeFrag.createElement( |
||||
list.pop() |
||||
); |
||||
} |
||||
} |
||||
return safeFrag; |
||||
} |
||||
|
||||
return createSafeFragment; |
||||
} ); |
||||
@ -0,0 +1,5 @@ |
||||
define( function() { |
||||
return "abbr|article|aside|audio|bdi|canvas|data|datalist|" + |
||||
"details|dialog|figcaption|figure|footer|header|hgroup|main|" + |
||||
"mark|meter|nav|output|picture|progress|section|summary|template|time|video"; |
||||
} ); |
||||
@ -0,0 +1,3 @@ |
||||
define( function() { |
||||
return ( /^\s+/ ); |
||||
} ); |
||||
@ -0,0 +1,63 @@ |
||||
define( [ |
||||
"./core", |
||||
"./var/support", |
||||
"./var/document", |
||||
"./core/init", // Needed for hasOwn support test
|
||||
// This is listed as a dependency for build order, but it's still optional in builds
|
||||
"./core/ready" |
||||
], function( jQuery, support, document ) { |
||||
|
||||
// Support: IE<9
|
||||
// Iteration over object's inherited properties before its own
|
||||
var i; |
||||
for ( i in jQuery( support ) ) { |
||||
break; |
||||
} |
||||
support.ownFirst = i === "0"; |
||||
|
||||
// Note: most support tests are defined in their respective modules.
|
||||
// false until the test is run
|
||||
support.inlineBlockNeedsLayout = false; |
||||
|
||||
// Execute ASAP in case we need to set body.style.zoom
|
||||
jQuery( function() { |
||||
|
||||
// Minified: var a,b,c,d
|
||||
var val, div, body, container; |
||||
|
||||
body = document.getElementsByTagName( "body" )[ 0 ]; |
||||
if ( !body || !body.style ) { |
||||
|
||||
// Return for frameset docs that don't have a body
|
||||
return; |
||||
} |
||||
|
||||
// Setup
|
||||
div = document.createElement( "div" ); |
||||
container = document.createElement( "div" ); |
||||
container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px"; |
||||
body.appendChild( container ).appendChild( div ); |
||||
|
||||
if ( typeof div.style.zoom !== "undefined" ) { |
||||
|
||||
// Support: IE<8
|
||||
// Check if natively block-level elements act like inline-block
|
||||
// elements when setting their display to 'inline' and giving
|
||||
// them layout
|
||||
div.style.cssText = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1"; |
||||
|
||||
support.inlineBlockNeedsLayout = val = div.offsetWidth === 3; |
||||
if ( val ) { |
||||
|
||||
// Prevent IE 6 from affecting layout for positioned elements #11048
|
||||
// Prevent IE from shrinking the body in IE 7 mode #12869
|
||||
// Support: IE<8
|
||||
body.style.zoom = 1; |
||||
} |
||||
} |
||||
|
||||
body.removeChild( container ); |
||||
} ); |
||||
|
||||
return support; |
||||
} ); |
||||
@ -0,0 +1,3 @@ |
||||
define( function() { |
||||
return []; |
||||
} ); |
||||
File diff suppressed because one or more lines are too long
@ -1,34 +0,0 @@ |
||||
{ |
||||
"name": "ChamiloLMS", |
||||
"ignore": [ |
||||
"**/.*", |
||||
"node_modules", |
||||
"bower_components", |
||||
"test", |
||||
"tests" |
||||
], |
||||
"dependencies": { |
||||
"bootstrap": "3.*", |
||||
"fontawesome": "4.4.*", |
||||
"jquery": "2.2.0", |
||||
"jquery-ui": "1.11.*", |
||||
"bootstrap-daterangepicker": "1.3.*", |
||||
"ckeditor": "https://github.com/AngelFQC/ckeditor-releases.git", |
||||
"jquery-timeago": "1.4.*", |
||||
"mediaelement": "2.*", |
||||
"modernizr": "2.8.*", |
||||
"jqueryui-timepicker-addon": "1.5.*", |
||||
"image-map-resizer": "0.5.*", |
||||
"fullcalendar": "2.3.2", |
||||
"simpleWebRTC": "1.15.*", |
||||
"select2": "4.*", |
||||
"MathJax": "2.5.*", |
||||
"webcamjs": "1.0.*", |
||||
"cropper": "1.0.*", |
||||
"jquery.scrollbar": "0.2.*", |
||||
"jquery-file-upload": "*" |
||||
}, |
||||
"resolutions": { |
||||
"jquery": "2.1.4" |
||||
} |
||||
} |
||||
Loading…
Reference in new issue