a {
@include element('a');
}
body {
@include element('body');
}
footer {/**
* 1. Force a vertical scrollbar - http://cbrac.co/163MspB
* 2. `border-box`... ALL THE THINGS - http://cbrac.co/RQrDL5
* 3. Ensure <html> always fills at least the entire viewport height
* NOTE: Use `text-rendering` with caution - http://cbrac.co/SJt8p1
* NOTE: Avoid the webkit anti-aliasing trap - http://cbrac.co/TAdhbH
* NOTE: IE for Windows Phone 8 ignores `-ms-text-size-adjust` if the
* viewport <meta> tag is used - http://cbrac.co/1cFrAvl
*/
Cascade framework provides the following normalised default behavior for the section, article, header, footer, aside and nav elements, to make it easier for these elements to use them for defining your grid :
- block display
- clearfixing
- left float
- minimum height of 1px
- 100% width
- 100% max-width
/* ================================================================== *\
Grids ($grids)
\* ================================================================== */
/**
* Usage:
*
* <div class="grid">
* <div class="grid-item one-third">
This file contains hidden or 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
| var original; | |
| QUnit.module( "Qunit-assert-classes ensure failures", { | |
| setup: function() { | |
| original = QUnit.push; | |
| QUnit.push = function( result, actual, expected, message ){ | |
| original.call( this, !result, actual, expected, message ); | |
| }; | |
| }, | |
| teardown: function() { |
This file contains hidden or 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
| $ phantomjs phantom_crash.js | |
| Loading a web page | |
| PhantomJS has crashed. Please read the crash reporting guide at https://github.com/ariya/phantomjs/wiki/Crash-Reporting and file a bug report at https://code.google.com/p/phantomjs/issues/entry with the crash dump file attached: /tmp/8D84DEA5-3C4A-43AA-AC34-078B8B692B76.dmp |
This file contains hidden or 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
| $(function(){ | |
| $( ".nav-panel" ).panel(); | |
| $( ".nav-list" ).listview(); | |
| }); | |
| OR... | |
| $(function(){ | |
| $( "body" ).enhanceWithin(); | |
| }); |
This file contains hidden or 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
| // mobile extension | |
| $.widget( "ui.textinput", $.ui.textinput, { | |
| _enhance: function(){ | |
| if ( this.options.enhanced ) { | |
| this._super(); | |
| } else { | |
| this.parent = this.element.parent(); | |
| } | |
| } | |
| }); |
A command line tool for crawling a webstite for dead links, permeant and or fatal redirects, resource load issues, and script errors. It is based on the casperJS navigation scripting and testing utility.
Type: String
Default value: 'http://localhost'
a valid url for a website. The url willThis url may be local or remote.
This is the jQuery Foundation's ideas list for Google Summer of Code 2015.
If you're an interested student, this brief guide might help. Or this more recent, not-so-brief one. For general guidelines to contributing to jQuery Foundation projects, visit our Contribute to jQuery site. When applying, consider using this template (adjust accordingly).
These are grouped by project, then sorted by required skill level.