Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
ada166b0
Commit
ada166b0
authored
Jul 24, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create backup of gallery widget
parent
f849070e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
js/libs/jquery-mobile/jquery-mobile.gallery.js
js/libs/jquery-mobile/jquery-mobile.gallery.js
+1
-2
modules/header/header.js
modules/header/header.js
+6
-5
No files found.
js/libs/jquery-mobile/jquery-mobile.gallery.js
View file @
ada166b0
...
...
@@ -273,5 +273,4 @@ if (init) {
}
current.addClass("slide out reverse");
}
*/
/* ======================================================================= */
\ No newline at end of file
*/
\ No newline at end of file
modules/header/header.js
View file @
ada166b0
define
([
'
text!header.html!strip
'
'
app
'
,
'
text!header.html!strip
'
,
'
css!header
'
],
function
(
source
)
{
function
(
App
,
source
)
{
var
response
=
{},
def
;
response
.
data
=
source
;
...
...
@@ -16,19 +17,19 @@ define([
// flag is set. In rjs2, we will not have to set globals, but we will
// have the problem of trying to access methods published by other gadgets
// BEFORE they have been published, so it's pretty much the same thing.
if
(
window
.
App
===
undefined
)
{
if
(
App
===
undefined
)
{
def
=
new
$
.
Deferred
;
def
.
done
(
function
(
gadget
)
{
// prefix instance-ids, pass JSON
window
.
App
.
renderGadgets
(
gadget
);
App
.
renderGadgets
(
gadget
);
});
window
.
fallbackLoader
.
deferreds
.
push
(
def
);
window
.
fallbackLoader
.
args
.
push
(
self
);
}
else
{
// prefix instance-ids, pass JSON
window
.
App
.
renderGadgets
(
self
);
App
.
renderGadgets
(
self
);
}
};
...
...
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