use init request instead of config

This commit is contained in:
j 2011-01-23 00:59:56 +05:30
commit 16f1c42ff8
3 changed files with 13 additions and 5 deletions

View file

@ -4,8 +4,7 @@
var app = new Ox.App({
apiURL: '/api/',
config: '/site.json',
init: 'hello',
init: 'init',
}).launch(function(data) {
Ox.print('data', data)
app.config = data.config;

View file

@ -5,7 +5,7 @@
var pandora = new Ox.App({
apiURL: '/api/',
config: '/site.json',
init: 'hello',
init: 'init',
}).launch(function(data) {
//Ox.print('data', data);