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
| // Based on https://github.com/highlightjs/highlight.js/blob/master/src/highlight.js | |
| (function(factory) { | |
| // Find the global object for export to both the browser and web workers. | |
| var globalObject = typeof window === 'object' && window || typeof self === 'object' && self; | |
| // Setup MyPlugin.js for different environments. First is Node.js or CommonJS. | |
| if(typeof exports !== 'undefined') { | |
| factory(exports); | |
| } else if(globalObject) { | |
| // Export MyPlugin globally even when using AMD for cases when this script |
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
| // Based on https://raw.githubusercontent.com/mozilla/readability/master/Readability.js | |
| function Constructor(options) { | |
| } | |
| Constructor.prototype = { | |
| }; |
NewerOlder