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
1c6fa901
Commit
1c6fa901
authored
Jun 09, 2014
by
Katie Zhu
Committed by
fat
Jun 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MD/CommonJS/Globals #12909
parent
6a248244
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 @
1c6fa901
...
...
@@ -11,10 +11,9 @@
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
"disallowSpacesInsideArrayBrackets": true,
"disallowSpacesInsideParentheses": true,
"disallowTrailingComma": true,
"disallowSpacesInsideParentheses": true,
"disallowTrailingWhitespace": true,
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireCapitalizedConstructors": true,
"requireCommaBeforeLineBreak": true,
"requireDotNotation": true,
...
...
js/.jshintrc
View file @
1c6fa901
...
...
@@ -9,7 +9,7 @@
"latedef" : true,
"laxbreak" : true,
"nonbsp" : true,
"strict" : true,
"undef" : true,
"unused" : true
"unused" : true,
"predef" : [ "define", "require" ]
}
js/affix.js
View file @
1c6fa901
...
...
@@ -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
'
;
// AFFIX CLASS DEFINITION
...
...
@@ -139,4 +143,4 @@
})
})
}
(
jQuery
);
});
js/alert.js
View file @
1c6fa901
...
...
@@ -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
'
;
// ALERT CLASS DEFINITION
...
...
@@ -89,4 +93,4 @@
$
(
document
).
on
(
'
click.bs.alert.data-api
'
,
dismiss
,
Alert
.
prototype
.
close
)
}
(
jQuery
);
});
js/button.js
View file @
1c6fa901
...
...
@@ -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
'
;
// BUTTON PUBLIC CLASS DEFINITION
...
...
@@ -107,4 +111,4 @@
e
.
preventDefault
()
})
}
(
jQuery
);
});
js/carousel.js
View file @
1c6fa901
...
...
@@ -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
'
;
// CAROUSEL CLASS DEFINITION
...
...
@@ -209,4 +213,4 @@
})
})
}
(
jQuery
);
});
js/collapse.js
View file @
1c6fa901
...
...
@@ -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
'
;
// COLLAPSE PUBLIC CLASS DEFINITION
...
...
@@ -178,4 +182,4 @@
Plugin
.
call
(
$target
,
option
)
})
}
(
jQuery
);
});
js/dropdown.js
View file @
1c6fa901
...
...
@@ -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
'
;
// DROPDOWN CLASS DEFINITION
...
...
@@ -148,4 +152,4 @@
.
on
(
'
click.bs.dropdown.data-api
'
,
toggle
,
Dropdown
.
prototype
.
toggle
)
.
on
(
'
keydown.bs.dropdown.data-api
'
,
toggle
+
'
, [role="menu"], [role="listbox"]
'
,
Dropdown
.
prototype
.
keydown
)
}
(
jQuery
);
});
js/modal.js
View file @
1c6fa901
...
...
@@ -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
'
;
// MODAL CLASS DEFINITION
...
...
@@ -277,4 +281,4 @@
Plugin
.
call
(
$target
,
option
,
this
)
})
}
(
jQuery
);
});
js/popover.js
View file @
1c6fa901
...
...
@@ -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
'
;
// POPOVER PUBLIC CLASS DEFINITION
...
...
@@ -110,4 +114,4 @@
return
this
}
}
(
jQuery
);
});
js/scrollspy.js
View file @
1c6fa901
...
...
@@ -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
'
;
// SCROLLSPY CLASS DEFINITION
...
...
@@ -157,4 +161,4 @@
})
})
}
(
jQuery
);
});
js/tab.js
View file @
1c6fa901
...
...
@@ -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
'
;
// TAB CLASS DEFINITION
...
...
@@ -125,4 +129,4 @@
Plugin
.
call
(
$
(
this
),
'
show
'
)
})
}
(
jQuery
);
});
js/tooltip.js
View file @
1c6fa901
...
...
@@ -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
'
;
// TOOLTIP PUBLIC CLASS DEFINITION
...
...
@@ -454,4 +458,4 @@
return
this
}
}
(
jQuery
);
});
js/transition.js
View file @
1c6fa901
...
...
@@ -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
'
;
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
...
...
@@ -46,4 +50,4 @@
$
.
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