This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test("the DOM element is gone after doing append and remove in two separate runloops", function() { | |
| var view = SC.View.create(); | |
| SC.run(function() { | |
| view.append(); | |
| }); | |
| SC.run(function() { | |
| view.remove(); | |
| }); | |
| var viewElem = SC.$('#'+get(view, 'elementId')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -92,7 +92,7 @@ | |
| this.set('expires', -1); | |
| this.write(); | |
| - arguments.callee.base.apply(this,arguments); | |
| + this._super(); | |
| }, | |
| /** | |
| @@ -112,7 +112,7 @@ |