A Pen by Jared Anderson on CodePen.
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link rel="import" href="./my-tabs.html"> | |
| </head> | |
| <body> | |
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* spinner() { | |
| while( true ) { | |
| yield '\\'; | |
| yield '|'; | |
| yield '/' | |
| yield '-'; | |
| } | |
| } |
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 delay(time, callback) { | |
| setTimeout( ()=>callback(`Slept for ${time}`), time); | |
| } | |
| function run(generatorFunction) { | |
| var iterator = generatorFunction(resume); | |
| function resume(callbackValue) { |
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
Show hidden characters
| { | |
| "blacklist": [ | |
| "es3.memberExpressionLiterals", | |
| "es3.propertyLiterals", | |
| "es5.properties.mutators", | |
| "es6.blockScoping", | |
| "es6.classes", | |
| "es6.constants", | |
| "es6.arrowFunctions", | |
| "es6.spec.symbols", |
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
| // ---- | |
| // Sass (v3.3.14) | |
| // Compass (v1.0.0.rc.1) | |
| // ---- | |
| .test{ | |
| color: darken(#066f93, 5%); | |
| color: darken(#066f93, 10%); | |
| color: darken(#066f93, 20%); | |
| color: darken(#066f93, 30%); |
NewerOlder