-
Notifications
You must be signed in to change notification settings - Fork 0
Google's V8 virtual machine enhanced with __noSuchMethod__ implementation
License
dachev/v8
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a patched V8 version to support __noSuchMethod__. All unit tests pass. BUILD: Use scons... Example: scons mode=release library=shared sample=shell RUN: ./shell > var User = {}; > User.find_all_by_street_and_city('Commonwealth Ave', 'Boston'); (shell):1: TypeError: Object #<an Object> has no method 'find_all_by_street_and_city' User.find_all_by_street_and_city('Commonwealth Ave', 'Boston'); ^ > User.__noSuchMethod__ = function(name, args) {print(name);for (var i in args) {print(args[i]);}}; function (name, args) {print(name);for (var i in args) {print(args[i]);}} > User.find_all_by_street_and_city('Commonwealth Ave', 'Boston'); find_all_by_street_and_city Commonwealth Ave Boston
About
Google's V8 virtual machine enhanced with __noSuchMethod__ implementation
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published