mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 22:29:44 +08:00
Fixed most tests, started moving to Backbone VC for #62
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user