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 dashCaseToLowerCamelCase(dashCaseString) { | |
| return dashCaseString.replace(/-\w/g, function ($0) { return $0.substr(-1).toUpperCase(); }); | |
| } |
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
| readability.article.smoothScrolling = { | |
| reversePageScroll : false, // If they hold shift and hit space, scroll up | |
| /** | |
| * How long it takes to scroll the page, in ms. | |
| **/ | |
| scrollSpeed: 500, | |
| /** | |
| * The scrollable element, which changes depending on browser. Initialized via initScrollable. |
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
| /** | |
| * HTML5 Placeholder Deprecation JS. | |
| * Automatically support the placeholder attribute in browsers that don't support it. | |
| * | |
| * To emulate webkit, placeHolderActive class should probably contain something like: | |
| * .placeholderActive { color: darkGray; } | |
| * | |
| * Chris Dary - [email protected] | |
| * Released under the WTFPL License : http://sam.zoy.org/wtfpl/ | |
| **/ |
NewerOlder