example/dist/production.js
function(ev) {
                    // The attribute value, representing the name of the method to call (i.e. can-submit="foo" foo is the 
                    // name of the method)
                    var attr = removeCurly(el.getAttribute(attributeName)),
                        scopeData = data.scope.read(attr, {
                                returnObserveMethods: true,
                                isArgument: true
                            });
                    return scopeData.value.call(scopeData.parent, data.scope._context, can.$(this), ev);
                }
function(ev) {
                    // The attribute value, representing the name of the method to call (i.e. can-submit="foo" foo is the 
                    // name of the method)
                    var attr = removeCurly(el.getAttribute(attributeName)),
                        scopeData = data.scope.read(attr, {
                                returnObserveMethods: true,
                                isArgument: true
                            });
                    return scopeData.value.call(scopeData.parent, data.scope._context, can.$(this), ev);
                }
function ( ev ) { // The attribute value, representing the name of the method to call (i.e. can-submit="foo" foo is the  // name of the method) var attr = removeCurly ( el . getAttribute ( attributeName ) ) , scopeData = data . scope . read ( attr , { returnObserveMethods : true , isArgument : true } ) ; return scopeData . value . call ( scopeData . parent , data . scope . _context , can . $ ( this ) , ev ) ; }
the attribute name is the function to call
the attribute name is the function to call