Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio-main
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Hardik Juneja
jio-main
Commits
5b03f4fd
Commit
5b03f4fd
authored
Jan 14, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix jioNamespace bug, constructor called with a wrong var
parent
01a2df51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/jio/jioNamespace.js
src/jio/jioNamespace.js
+4
-2
No files found.
src/jio/jioNamespace.js
View file @
5b03f4fd
...
@@ -29,11 +29,13 @@ var jioNamespace = (function (spec) {
...
@@ -29,11 +29,13 @@ var jioNamespace = (function (spec) {
instance
=
null
;
instance
=
null
;
if
(
typeof
storage
===
'
string
'
)
{
if
(
typeof
storage
===
'
string
'
)
{
storage
=
JSON
.
parse
(
storage
);
storage
=
JSON
.
parse
(
storage
);
}
else
{
storage
=
JSON
.
parse
(
JSON
.
stringify
(
storage
));
}
}
storage
=
storage
||
{
storage
=
storage
||
{
type
:
'
base
'
type
:
'
base
'
};
};
instance
=
jio
(
s
pec
);
instance
=
jio
(
s
torage
);
instance
.
start
();
instance
.
start
();
return
instance
;
return
instance
;
}
}
...
@@ -64,4 +66,4 @@ var jioNamespace = (function (spec) {
...
@@ -64,4 +66,4 @@ var jioNamespace = (function (spec) {
});
});
return
that
;
return
that
;
}());
}());
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment