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
static Persistent<Function> isNaN; | |
bool V8Util::isValueNaN(Handle<Value> value) | |
{ | |
HandleScope scope; | |
if (isNaN.isEmpty()) { | |
Local<Object> global = Context::GetCurrent()->Global(); | |
Local<Value> isNaNValue = global->Get(String::NewSymbol("isNaN")); | |
isNaN = Persistent<Function>::New(isNaNValue.As<Function>()); |
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
Day job: programmer for Appcelerator, Inc. | |
Favorite Python project: pypy | |
Favorite Conference: CodeConf! | |
Python Experience Level: Experienced |
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
GitHub username: joshthecoder | |
Day job: Software developer for Appcelerator working on Titanium Desktop. | |
Favorite open source project: Titanium | |
Open Source contributions (if any): Can't remember how many, but I do spend in my spare time sending patches to many projects. | |
Stranded on an island, what 3 items do you take: knife, tent, a good book | |
Tie-breaker, pick a number between 1 and 20,000: 19,999 |
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
Colors: enum { red, blue, green } | |
Animals: enum { | |
monkey | |
bird | |
cow | |
dog | |
} |