Add app.initialize stub.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/commit/fc2c23c2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/tree/fc2c23c2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/diff/fc2c23c2 Branch: refs/heads/master Commit: fc2c23c256d7793d1e27e9d1820c0b7ea6730aed Parents: b723a6f Author: Michael Brooks <mich...@michaelbrooks.ca> Authored: Thu Jul 12 21:30:14 2012 -0700 Committer: Michael Brooks <mich...@michaelbrooks.ca> Committed: Thu Jul 12 21:30:14 2012 -0700 ---------------------------------------------------------------------- www/js/index.js | 4 ++++ www/spec/index.js | 11 +++++++++++ 2 files changed, 15 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/blob/fc2c23c2/www/js/index.js ---------------------------------------------------------------------- diff --git a/www/js/index.js b/www/js/index.js new file mode 100644 index 0000000..7e4402e --- /dev/null +++ b/www/js/index.js @@ -0,0 +1,4 @@ +var app = { + initialize: function() { + } +}; http://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world/blob/fc2c23c2/www/spec/index.js ---------------------------------------------------------------------- diff --git a/www/spec/index.js b/www/spec/index.js new file mode 100644 index 0000000..f6856c8 --- /dev/null +++ b/www/spec/index.js @@ -0,0 +1,11 @@ +describe('app', function() { + it('should exist', function() { + expect(app).toBeDefined(); + }); + + describe('initialize', function() { + it('should exist', function() { + expect(app.initialize).toBeDefined(); + }); + }); +});