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
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| body { | |
| background-color: #fff; | |
| } | |
| span { | |
| content:attr('data-foo') " "; | |
| } |
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
| /** | |
| * Using images for checkboxes and radiobuttons | |
| */ | |
| body { | |
| background-color: #fff; | |
| color: #333; | |
| font-family: "Open Sans", Arial, Helvetica, sans-serif; | |
| line-height: 1.6; | |
| } |
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
| /** | |
| * Using images for checkboxes and radiobuttons | |
| */ | |
| body { | |
| background-color: #fff; | |
| color: #333; | |
| font-family: "Open Sans", Arial, Helvetica, sans-serif; | |
| line-height: 1.6; | |
| } |
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
| /** | |
| * Groove Holmes | |
| */ | |
| body { | |
| background-color: #ddd; | |
| color: #333; | |
| font-family: "Open Sans", sans-serif; | |
| } | |
| div:not(.item) { |
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
| /** | |
| * I wish CSS provided a previous sibiling selector | |
| */ | |
| body { | |
| background-color: #fff; | |
| color: #333; | |
| font-family: "Open Sans", sans-serif; | |
| } | |
| div:not(.item) { |
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
| define(['testable', 'chai'], function (Testable, chai) { | |
| 'use strict'; | |
| var assert = chai.assert; | |
| describe('testable', function () { | |
| describe('method', function () { | |
| it('should not fire an "invoked" event', function (/*done?*/) { | |
| var testable = new Testable(); | |
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
| /** | |
| * Big tabs are big! | |
| */ | |
| body { | |
| margin-top: 1em; | |
| padding: 0; | |
| background: linear-gradient(to bottom, #eee, #ccc); | |
| color: #333; | |
| font-family: "Open Sans", Arial, Helvetica, sans-serif; |
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
| /*global define, describe, it */ | |
| define(['chai', 'boilerplate/simple'], function (chai, simple) { | |
| 'use strict'; | |
| var assert = chai.assert; | |
| describe('simple', function () { | |
| describe('later', function () { | |
| it('should invoke the callback', function (done) { | |
| simple.later(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
| /*global define, describe, it, before, after */ | |
| define(['chai', 'sinon', 'boilerplate/simple'], function (chai, sinon, simple) { | |
| 'use strict'; | |
| var assert = chai.assert; | |
| describe('simple', function () { | |
| describe('getData', function () { | |
| var server; |
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
| /*global define, describe, it, before, after */ | |
| define(['chai', 'sinon', 'boilerplate/simple'], function (chai, sinon, simple) { | |
| 'use strict'; | |
| var assert = chai.assert; | |
| describe('simple', function () { | |
| describe('stamp', function () { | |
| var clock; |