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
2b302f69
Commit
2b302f69
authored
Jun 12, 2014
by
fat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some changes from #13801 - add strict mode back and ==
parent
696632d7
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
1551 additions
and
1526 deletions
+1551
-1526
js/.jshintrc
js/.jshintrc
+1
-0
js/affix.js
js/affix.js
+98
-96
js/alert.js
js/alert.js
+61
-59
js/button.js
js/button.js
+79
-77
js/carousel.js
js/carousel.js
+175
-173
js/collapse.js
js/collapse.js
+123
-121
js/dropdown.js
js/dropdown.js
+104
-102
js/modal.js
js/modal.js
+208
-206
js/popover.js
js/popover.js
+80
-78
js/scrollspy.js
js/scrollspy.js
+133
-131
js/tab.js
js/tab.js
+93
-91
js/tooltip.js
js/tooltip.js
+351
-349
js/transition.js
js/transition.js
+45
-43
No files found.
js/.jshintrc
View file @
2b302f69
...
...
@@ -9,6 +9,7 @@
"latedef" : true,
"laxbreak" : true,
"nonbsp" : true,
"strict" : true,
"undef" : true,
"unused" : true,
"predef" : [ "define", "require" ]
...
...
js/affix.js
View file @
2b302f69
...
...
@@ -7,12 +7,12 @@
* ======================================================================== */
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
+
function
()
{
'
use strict
'
;
'
use strict
'
;
(
function
(
o_o
)
{
typeof
define
==
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
==
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
// AFFIX CLASS DEFINITION
// ======================
...
...
@@ -143,4 +143,6 @@
})
})
});
})
}();
js/alert.js
View file @
2b302f69
...
...
@@ -7,12 +7,12 @@
* ======================================================================== */
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
+
function
()
{
'
use strict
'
;
'
use strict
'
;
(
function
(
o_o
)
{
typeof
define
==
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
==
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
// ALERT CLASS DEFINITION
// ======================
...
...
@@ -93,4 +93,6 @@
$
(
document
).
on
(
'
click.bs.alert.data-api
'
,
dismiss
,
Alert
.
prototype
.
close
)
});
})
}();
js/button.js
View file @
2b302f69
...
...
@@ -7,12 +7,12 @@
* ======================================================================== */
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
+
function
()
{
'
use strict
'
;
'
use strict
'
;
(
function
(
o_o
)
{
typeof
define
==
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
==
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
// BUTTON PUBLIC CLASS DEFINITION
// ==============================
...
...
@@ -111,4 +111,6 @@
e
.
preventDefault
()
})
});
})
}();
js/carousel.js
View file @
2b302f69
...
...
@@ -7,12 +7,12 @@
* ======================================================================== */
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
+
function
()
{
'
use strict
'
;
'
use strict
'
;
(
function
(
o_o
)
{
typeof
define
==
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
==
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
// CAROUSEL CLASS DEFINITION
// =========================
...
...
@@ -223,4 +223,6 @@
})
})
});
})
}();
js/collapse.js
View file @
2b302f69
...
...
@@ -7,12 +7,12 @@
* ======================================================================== */
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
+
function
()
{
'
use strict
'
;
'
use strict
'
;
(
function
(
o_o
)
{
typeof
define
==
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
==
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
// COLLAPSE PUBLIC CLASS DEFINITION
// ================================
...
...
@@ -171,4 +171,6 @@
Plugin
.
call
(
$target
,
option
)
})
});
})
}();
js/dropdown.js
View file @
2b302f69
...
...
@@ -7,12 +7,12 @@
* ======================================================================== */
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
+
function
()
{
'
use strict
'
;
'
use strict
'
;
(
function
(
o_o
)
{
typeof
define
==
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
==
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
// DROPDOWN CLASS DEFINITION
// =========================
...
...
@@ -152,4 +152,6 @@
.
on
(
'
click.bs.dropdown.data-api
'
,
toggle
,
Dropdown
.
prototype
.
toggle
)
.
on
(
'
keydown.bs.dropdown.data-api
'
,
toggle
+
'
, [role="menu"], [role="listbox"]
'
,
Dropdown
.
prototype
.
keydown
)
});
})
}();
js/modal.js
View file @
2b302f69
...
...
@@ -7,12 +7,12 @@
* ======================================================================== */
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
+
function
()
{
'
use strict
'
;
'
use strict
'
;
(
function
(
o_o
)
{
typeof
define
==
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
==
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
// MODAL CLASS DEFINITION
// ======================
...
...
@@ -281,4 +281,6 @@
Plugin
.
call
(
$target
,
option
,
this
)
})
});
})
}();
js/popover.js
View file @
2b302f69
...
...
@@ -7,12 +7,12 @@
* ======================================================================== */
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
+
function
()
{
'
use strict
'
;
'
use strict
'
;
(
function
(
o_o
)
{
typeof
define
==
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
==
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
// POPOVER PUBLIC CLASS DEFINITION
// ===============================
...
...
@@ -114,4 +114,6 @@
return
this
}
});
})
}();
js/scrollspy.js
View file @
2b302f69
...
...
@@ -7,12 +7,12 @@
* ======================================================================== */
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
+
function
()
{
'
use strict
'
;
'
use strict
'
;
(
function
(
o_o
)
{
typeof
define
==
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
==
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
// SCROLLSPY CLASS DEFINITION
// ==========================
...
...
@@ -171,4 +171,6 @@
})
})
});
})
}();
js/tab.js
View file @
2b302f69
...
...
@@ -7,12 +7,12 @@
* ======================================================================== */
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
+
function
()
{
'
use strict
'
;
'
use strict
'
;
(
function
(
o_o
)
{
typeof
define
==
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
==
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
// TAB CLASS DEFINITION
// ====================
...
...
@@ -129,4 +129,6 @@
Plugin
.
call
(
$
(
this
),
'
show
'
)
})
});
})
}();
js/tooltip.js
View file @
2b302f69
...
...
@@ -8,12 +8,12 @@
* ======================================================================== */
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
+
function
()
{
'
use strict
'
;
'
use strict
'
;
(
function
(
o_o
)
{
typeof
define
==
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
==
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
// TOOLTIP PUBLIC CLASS DEFINITION
// ===============================
...
...
@@ -458,4 +458,6 @@
return
this
}
});
})
}();
js/transition.js
View file @
2b302f69
...
...
@@ -7,12 +7,12 @@
* ======================================================================== */
(
function
(
o_o
)
{
typeof
define
===
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
===
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
+
function
()
{
'
use strict
'
;
'
use strict
'
;
(
function
(
o_o
)
{
typeof
define
==
'
function
'
&&
define
.
amd
?
define
([
'
jquery
'
],
o_o
)
:
typeof
exports
==
'
object
'
?
o_o
(
require
(
'
jquery
'
))
:
o_o
(
jQuery
)
})(
function
(
$
)
{
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
// ============================================================
...
...
@@ -60,4 +60,6 @@
}
})
});
})
}();
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