Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
8d8524e5
Commit
8d8524e5
authored
Jun 10, 2014
by
Jacob
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13772 from twbs/fat-amd
AMD/CommonJS/Globals #12909
parents
bbdaf0f2
1c6fa901
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
75 additions
and
28 deletions
+75
-28
js/.jscsrc
js/.jscsrc
+1
-2
js/.jshintrc
js/.jshintrc
+2
-2
js/affix.js
js/affix.js
+6
-2
js/alert.js
js/alert.js
+6
-2
js/button.js
js/button.js
+6
-2
js/carousel.js
js/carousel.js
+6
-2
js/collapse.js
js/collapse.js
+6
-2
js/dropdown.js
js/dropdown.js
+6
-2
js/modal.js
js/modal.js
+6
-2
js/popover.js
js/popover.js
+6
-2
js/scrollspy.js
js/scrollspy.js
+6
-2
js/tab.js
js/tab.js
+6
-2
js/tooltip.js
js/tooltip.js
+6
-2
js/transition.js
js/transition.js
+6
-2
No files found.
js/.jscsrc
View file @
8d8524e5
...
@@ -11,10 +11,9 @@
...
@@ -11,10 +11,9 @@
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
"disallowSpacesInsideArrayBrackets": true,
"disallowSpacesInsideArrayBrackets": true,
"disallowSpacesInsideParentheses": true,
"disallowTrailingComma": true,
"disallowTrailingComma": true,
"disallowSpacesInsideParentheses": true,
"disallowTrailingWhitespace": true,
"disallowTrailingWhitespace": true,
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireCapitalizedConstructors": true,
"requireCapitalizedConstructors": true,
"requireCommaBeforeLineBreak": true,
"requireCommaBeforeLineBreak": true,
"requireDotNotation": true,
"requireDotNotation": true,
...
...
js/.jshintrc
View file @
8d8524e5
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
"latedef" : true,
"latedef" : true,
"laxbreak" : true,
"laxbreak" : true,
"nonbsp" : true,
"nonbsp" : true,
"strict" : true,
"undef" : true,
"undef" : true,
"unused" : true
"unused" : true,
"predef" : [ "define", "require" ]
}
}
js/affix.js
View file @
8d8524e5
...
@@ -7,7 +7,11 @@
...
@@ -7,7 +7,11 @@
* ======================================================================== */
* ======================================================================== */
+
function
(
$
)
{
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
this
.
jQuery
)
})(
function
(
$
)
{
'
use strict
'
;
'
use strict
'
;
// AFFIX CLASS DEFINITION
// AFFIX CLASS DEFINITION
...
@@ -139,4 +143,4 @@
...
@@ -139,4 +143,4 @@
})
})
})
})
}
(
jQuery
);
});
js/alert.js
View file @
8d8524e5
...
@@ -7,7 +7,11 @@
...
@@ -7,7 +7,11 @@
* ======================================================================== */
* ======================================================================== */
+
function
(
$
)
{
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
this
.
jQuery
)
})(
function
(
$
)
{
'
use strict
'
;
'
use strict
'
;
// ALERT CLASS DEFINITION
// ALERT CLASS DEFINITION
...
@@ -89,4 +93,4 @@
...
@@ -89,4 +93,4 @@
$
(
document
).
on
(
'
click.bs.alert.data-api
'
,
dismiss
,
Alert
.
prototype
.
close
)
$
(
document
).
on
(
'
click.bs.alert.data-api
'
,
dismiss
,
Alert
.
prototype
.
close
)
}
(
jQuery
);
});
js/button.js
View file @
8d8524e5
...
@@ -7,7 +7,11 @@
...
@@ -7,7 +7,11 @@
* ======================================================================== */
* ======================================================================== */
+
function
(
$
)
{
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
this
.
jQuery
)
})(
function
(
$
)
{
'
use strict
'
;
'
use strict
'
;
// BUTTON PUBLIC CLASS DEFINITION
// BUTTON PUBLIC CLASS DEFINITION
...
@@ -107,4 +111,4 @@
...
@@ -107,4 +111,4 @@
e
.
preventDefault
()
e
.
preventDefault
()
})
})
}
(
jQuery
);
});
js/carousel.js
View file @
8d8524e5
...
@@ -7,7 +7,11 @@
...
@@ -7,7 +7,11 @@
* ======================================================================== */
* ======================================================================== */
+
function
(
$
)
{
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
this
.
jQuery
)
})(
function
(
$
)
{
'
use strict
'
;
'
use strict
'
;
// CAROUSEL CLASS DEFINITION
// CAROUSEL CLASS DEFINITION
...
@@ -209,4 +213,4 @@
...
@@ -209,4 +213,4 @@
})
})
})
})
}
(
jQuery
);
});
js/collapse.js
View file @
8d8524e5
...
@@ -7,7 +7,11 @@
...
@@ -7,7 +7,11 @@
* ======================================================================== */
* ======================================================================== */
+
function
(
$
)
{
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
this
.
jQuery
)
})(
function
(
$
)
{
'
use strict
'
;
'
use strict
'
;
// COLLAPSE PUBLIC CLASS DEFINITION
// COLLAPSE PUBLIC CLASS DEFINITION
...
@@ -178,4 +182,4 @@
...
@@ -178,4 +182,4 @@
Plugin
.
call
(
$target
,
option
)
Plugin
.
call
(
$target
,
option
)
})
})
}
(
jQuery
);
});
js/dropdown.js
View file @
8d8524e5
...
@@ -7,7 +7,11 @@
...
@@ -7,7 +7,11 @@
* ======================================================================== */
* ======================================================================== */
+
function
(
$
)
{
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
this
.
jQuery
)
})(
function
(
$
)
{
'
use strict
'
;
'
use strict
'
;
// DROPDOWN CLASS DEFINITION
// DROPDOWN CLASS DEFINITION
...
@@ -148,4 +152,4 @@
...
@@ -148,4 +152,4 @@
.
on
(
'
click.bs.dropdown.data-api
'
,
toggle
,
Dropdown
.
prototype
.
toggle
)
.
on
(
'
click.bs.dropdown.data-api
'
,
toggle
,
Dropdown
.
prototype
.
toggle
)
.
on
(
'
keydown.bs.dropdown.data-api
'
,
toggle
+
'
, [role="menu"], [role="listbox"]
'
,
Dropdown
.
prototype
.
keydown
)
.
on
(
'
keydown.bs.dropdown.data-api
'
,
toggle
+
'
, [role="menu"], [role="listbox"]
'
,
Dropdown
.
prototype
.
keydown
)
}
(
jQuery
);
});
js/modal.js
View file @
8d8524e5
...
@@ -7,7 +7,11 @@
...
@@ -7,7 +7,11 @@
* ======================================================================== */
* ======================================================================== */
+
function
(
$
)
{
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
this
.
jQuery
)
})(
function
(
$
)
{
'
use strict
'
;
'
use strict
'
;
// MODAL CLASS DEFINITION
// MODAL CLASS DEFINITION
...
@@ -277,4 +281,4 @@
...
@@ -277,4 +281,4 @@
Plugin
.
call
(
$target
,
option
,
this
)
Plugin
.
call
(
$target
,
option
,
this
)
})
})
}
(
jQuery
);
});
js/popover.js
View file @
8d8524e5
...
@@ -7,7 +7,11 @@
...
@@ -7,7 +7,11 @@
* ======================================================================== */
* ======================================================================== */
+
function
(
$
)
{
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
this
.
jQuery
)
})(
function
(
$
)
{
'
use strict
'
;
'
use strict
'
;
// POPOVER PUBLIC CLASS DEFINITION
// POPOVER PUBLIC CLASS DEFINITION
...
@@ -110,4 +114,4 @@
...
@@ -110,4 +114,4 @@
return
this
return
this
}
}
}
(
jQuery
);
});
js/scrollspy.js
View file @
8d8524e5
...
@@ -7,7 +7,11 @@
...
@@ -7,7 +7,11 @@
* ======================================================================== */
* ======================================================================== */
+
function
(
$
)
{
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
this
.
jQuery
)
})(
function
(
$
)
{
'
use strict
'
;
'
use strict
'
;
// SCROLLSPY CLASS DEFINITION
// SCROLLSPY CLASS DEFINITION
...
@@ -157,4 +161,4 @@
...
@@ -157,4 +161,4 @@
})
})
})
})
}
(
jQuery
);
});
js/tab.js
View file @
8d8524e5
...
@@ -7,7 +7,11 @@
...
@@ -7,7 +7,11 @@
* ======================================================================== */
* ======================================================================== */
+
function
(
$
)
{
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
this
.
jQuery
)
})(
function
(
$
)
{
'
use strict
'
;
'
use strict
'
;
// TAB CLASS DEFINITION
// TAB CLASS DEFINITION
...
@@ -125,4 +129,4 @@
...
@@ -125,4 +129,4 @@
Plugin
.
call
(
$
(
this
),
'
show
'
)
Plugin
.
call
(
$
(
this
),
'
show
'
)
})
})
}
(
jQuery
);
});
js/tooltip.js
View file @
8d8524e5
...
@@ -8,7 +8,11 @@
...
@@ -8,7 +8,11 @@
* ======================================================================== */
* ======================================================================== */
+
function
(
$
)
{
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
this
.
jQuery
)
})(
function
(
$
)
{
'
use strict
'
;
'
use strict
'
;
// TOOLTIP PUBLIC CLASS DEFINITION
// TOOLTIP PUBLIC CLASS DEFINITION
...
@@ -454,4 +458,4 @@
...
@@ -454,4 +458,4 @@
return
this
return
this
}
}
}
(
jQuery
);
});
js/transition.js
View file @
8d8524e5
...
@@ -7,7 +7,11 @@
...
@@ -7,7 +7,11 @@
* ======================================================================== */
* ======================================================================== */
+
function
(
$
)
{
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
this
.
jQuery
)
})(
function
(
$
)
{
'
use strict
'
;
'
use strict
'
;
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
...
@@ -46,4 +50,4 @@
...
@@ -46,4 +50,4 @@
$
.
support
.
transition
=
transitionEnd
()
$
.
support
.
transition
=
transitionEnd
()
})
})
}
(
jQuery
);
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment