-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Serve jQuery & Angular via CDN, fix compression
Use Google's CDN to serve these incredibly common libraries, falling back to our local minified versions if needed. Yuglify can't compress the standard jQuery library (as noted on yui/yuglify#19). As a workaround, we can pass the minified version to Yuglify, as the minified version lacks comments that are triggering the error. Also, move the last bit of JavaScript into the minified project source.
- Loading branch information
Showing
3 changed files
with
37 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
$(function () { | ||
$('.footable').footable({ | ||
breakpoints: { | ||
phone: 480, | ||
tablet: 900 // Content column is 940 before resizing | ||
} | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters