1
0
Fork 0
forked from 0x2620/oxjs

add Ox.localStorage

This commit is contained in:
rolux 2011-12-30 20:36:55 +05:30
commit 45243cb5ff
5 changed files with 48 additions and 20 deletions

View file

@ -18,6 +18,7 @@ Ox.App = function(options) {
var self = {
options: Ox.extend({
name: 'App',
timeout: 60000,
type: 'POST',
url: '/api/'
@ -39,6 +40,8 @@ Ox.App = function(options) {
});
});
that.localStorage = Ox.localStorage(self.options.name);
function getUserData() {
return {
document: {