Closed sebastian-zarzycki closed 9 years ago
commangular.create = function(commandName, commandFunction, commandConfig) { commands[commandName] = { function: commandFunction, // function is reserved keyword config: commandConfig, interceptors:{}, commandName:commandName }; commandNameString = commandNameString.concat("%" + commandName + "%{" + commandName + "}\n"); }
It breaks in some browsers (mainly IE). Just change it to commandFunction, I suppose.
Thanks, I check it out
It breaks in some browsers (mainly IE). Just change it to commandFunction, I suppose.