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
f347d7d9
Commit
f347d7d9
authored
Jun 17, 2014
by
Chris Rebert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
address #13811
parent
5cfd6b51
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Gruntfile.js
Gruntfile.js
+1
-1
dist/js/bootstrap.js
dist/js/bootstrap.js
+1
-1
docs/assets/js/_src/customizer.js
docs/assets/js/_src/customizer.js
+1
-1
No files found.
Gruntfile.js
View file @
f347d7d9
...
@@ -33,7 +33,7 @@ module.exports = function (grunt) {
...
@@ -33,7 +33,7 @@ module.exports = function (grunt) {
'
* Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)
\n
'
+
'
* Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)
\n
'
+
'
*/
\n
'
,
'
*/
\n
'
,
// NOTE: This jqueryCheck code is duplicated in customizer.js; if making changes here, be sure to update the other copy too.
// NOTE: This jqueryCheck code is duplicated in customizer.js; if making changes here, be sure to update the other copy too.
jqueryCheck
:
'
if (typeof
jQuery =
==
\'
undefined
\'
) { throw new Error(
\'
Bootstrap
\\\'
s JavaScript requires jQuery
\'
) }
\n\n
'
,
jqueryCheck
:
'
if (typeof
define ==
\'
undefined
\'
&& typeof exports ==
\'
undefined
\'
&& typeof jQuery
==
\'
undefined
\'
) { throw new Error(
\'
Bootstrap
\\\'
s JavaScript requires jQuery
\'
) }
\n\n
'
,
// Task configuration.
// Task configuration.
clean
:
{
clean
:
{
...
...
dist/js/bootstrap.js
View file @
f347d7d9
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
*/
if
(
typeof
jQuery
=
==
'
undefined
'
)
{
throw
new
Error
(
'
Bootstrap
\'
s JavaScript requires jQuery
'
)
}
if
(
typeof
define
==
'
undefined
'
&&
typeof
exports
==
'
undefined
'
&&
typeof
jQuery
==
'
undefined
'
)
{
throw
new
Error
(
'
Bootstrap
\'
s JavaScript requires jQuery
'
)
}
/* ========================================================================
/* ========================================================================
* Bootstrap: transition.js v3.1.1
* Bootstrap: transition.js v3.1.1
...
...
docs/assets/js/_src/customizer.js
View file @
f347d7d9
...
@@ -306,7 +306,7 @@ window.onload = function () { // wait for load in a dumb way because B-0
...
@@ -306,7 +306,7 @@ window.onload = function () { // wait for load in a dumb way because B-0
function
generateJS
(
preamble
)
{
function
generateJS
(
preamble
)
{
var
$checked
=
$
(
'
#plugin-section input:checked
'
)
var
$checked
=
$
(
'
#plugin-section input:checked
'
)
var
jqueryCheck
=
'
if (typeof
jQuery === "undefined") { throw new Error("Bootstrap
\'
s JavaScript requires jQuery"
) }
\n\n
'
var
jqueryCheck
=
'
if (typeof
define ==
\'
undefined
\'
&& typeof exports ==
\'
undefined
\'
&& typeof jQuery ==
\'
undefined
\'
) { throw new Error(
\'
Bootstrap
\\\'
s JavaScript requires jQuery
\'
) }
\n\n
'
if
(
!
$checked
.
length
)
return
false
if
(
!
$checked
.
length
)
return
false
...
...
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