Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
362708ac
Commit
362708ac
authored
11 years ago
by
Chris Rebert
Browse files
Options
Download
Plain Diff
Merge pull request #12480 from twbs/clarify-jquery-err-msg
Clarify JS error message about missing jQuery
parents
58bf3f94
623d6507
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Gruntfile.js
+1
-1
Gruntfile.js
with
1 addition
and
1 deletion
+1
-1
Gruntfile.js
+
1
-
1
View file @
362708ac
...
...
@@ -32,7 +32,7 @@ module.exports = function (grunt) {
'
* Copyright 2011-<%= grunt.template.today("yyyy") %> <%= pkg.author %>
\n
'
+
'
* Licensed under <%= _.pluck(pkg.licenses, "type") %> (<%= _.pluck(pkg.licenses, "url") %>)
\n
'
+
'
*/
\n
'
,
jqueryCheck
:
'
if (typeof jQuery ===
\'
undefined
\'
) { throw new Error(
\'
Bootstrap requires jQuery
\'
) }
\n\n
'
,
jqueryCheck
:
'
if (typeof jQuery ===
\'
undefined
\'
) { throw new Error(
\'
Bootstrap
\\\'
s JavaScript
requires jQuery
\'
) }
\n\n
'
,
// Task configuration.
clean
:
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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