Permalink
Browse files

Revert "Some compatibility mappings"

This reverts commit 76077ed.
  • Loading branch information...
1 parent 4bd15c8 commit 665197a2f558a7566ff8a4d0122d2476912dd5b1 @daffl daffl committed Jul 23, 2012
Showing with 1 addition and 10 deletions.
  1. +1 −7 class/class.js
  2. +0 −3 controller/controller.js
View
@@ -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;
- }
+
})();
View
@@ -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.