Fixed most tests, started moving to Backbone VC for #62

This commit is contained in:
Max Lynch
2013-10-29 13:03:14 -05:00
parent 4649b05ffd
commit a23522cb06
8 changed files with 129 additions and 180 deletions

View File

@ -1,15 +1,16 @@
(function(ionic) {
'use strict';
ionic.ViewController = function(options) {
this.init();
ionic.controllers.ViewController = function(options) {
this.initialize.apply(this, arguments);
};
ionic.ViewController.prototype = {
// Initialize this view controller
init: function() {
},
ionic.controllers.ViewController.inherit = ionic.inherit;
ionic.extend(ionic.controllers.ViewController.prototype, {
initialize: function() {},
// Destroy this view controller, including all child views
destroy: function() {
}
};
});
})(window.ionic);