From 19d5a8582de7861dfe644aaf94db5b8920607a7b Mon Sep 17 00:00:00 2001 From: Drew Folta Date: Mon, 28 Jan 2013 12:59:58 -0800 Subject: [PATCH] normalized the store API between client & server --- lib/app/autoload/store.client.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/app/autoload/store.client.js b/lib/app/autoload/store.client.js index ab1f4293f..8051b1490 100644 --- a/lib/app/autoload/store.client.js +++ b/lib/app/autoload/store.client.js @@ -235,6 +235,16 @@ YUI.add('mojito-client-store', function(Y, NAME) { }, + /** + * Returns the static (non-runtime-sensitive) version of the application.json. + * @method getStaticAppConfig + * @return {object} the configuration from applications.json + */ + getStaticAppConfig: function(ctx) { + return this.appConfig; + }, + + /** * Returns the routes configured in the application. * @method getRoutes