Last active
July 16, 2016 21:17
-
-
Save kylejlin/c7277f9803363cb0e6f8db4c68648424 to your computer and use it in GitHub Desktop.
Random text to demo Github's syntax highlighting.
This file contains 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 GitHub Theme for Ace does not look anything like GitHub. I can't find the colors used for the syntax highlighting | |
on any docs so I created this sampler and I will use the Chrome Element Inspector to find the colors. | |
*/ | |
function noop() { | |
} | |
var MyObject = { | |
CONSTANT: 9, | |
someMethod: function() { | |
window.alert(); | |
} | |
}; | |
function MyClass(foo) { | |
this.foo = foo; | |
} | |
MyClass.prototype.alertFoo = function() { | |
window.alert(this.foo); | |
} | |
MyClass.prototype.someProperty = 9; | |
noop(window, Number, alert, true, null, 0, 'some string', /someregexp/, MyObject.someMethod(), MyObject.CONSTANT, undefined, MyObject.CONSTANT_CALLED_AS_A_METHOD()); | |
// Some comment. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment