(Update topic branch)
This commit is contained in:
impinball 2015-07-23 05:20:36 -04:00
commit 565f9cf334
7 changed files with 852 additions and 131 deletions

View file

@ -1197,6 +1197,9 @@ var m = (function app(window, undefined) {
var controller = function() {
return (component.controller || noop).apply(this, args) || this
}
if (component.controller) {
controller.prototype = component.controller.prototype
}
var view = function(ctrl) {
for (var i = 1; i < arguments.length; i++) {
args.push(arguments[i])