Added lua into the kitchen sink demo.

This commit is contained in:
Lee Gao 2011-08-18 18:33:37 -04:00
commit 0a58b58d1f
8 changed files with 630 additions and 6 deletions

View file

@ -83,7 +83,7 @@ var LuaHighlightRules = function() {
var metatableMethods = lang.arrayToMap(
("__add|__sub|__mod|__unm|__concat|__lt|__index|__call|__gc|__metatable|"+
"__mul|__div|__pow|__len|__eq|__le|__newindex|__tostring|__mode").split("|")
"__mul|__div|__pow|__len|__eq|__le|__newindex|__tostring|__mode|__tonumber").split("|")
);
var futureReserved = lang.arrayToMap(