Skip to content

Commit

Permalink
Revert "Some compatibility mappings"
Browse files Browse the repository at this point in the history
This reverts commit 76077ed.
  • Loading branch information
daffl committed Jul 23, 2012
1 parent 4bd15c8 commit 665197a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
8 changes: 1 addition & 7 deletions class/class.js
Expand Up @@ -7,11 +7,5 @@ steal("can/construct/proxy","can/construct/super",function( $ ) {

$.Class = can.Construct;

var old = $.Class.extend;
$.Class.extend = function() {
var cls = old.apply(this, arguments);
cls.prototype.Class = cls.prototype.constructor;
cls.prototype.callback = cls.prototype.proxy;
return cls;
}

})();
3 changes: 0 additions & 3 deletions controller/controller.js
Expand Up @@ -4,7 +4,4 @@ steal('jquery/class','can/control/plugin',function( $ ) {
$.fn.controller = $.fn.control;
$.fn.controllers = $.fn.controllers;

$.Controller.prototype.find = function(selector) {
return this.element.find(selector);
}
});

0 comments on commit 665197a

Please sign in to comment.