Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
f8b58880
Commit
f8b58880
authored
Sep 06, 2012
by
Nihad Abbasov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rewrite loader.js in coffeescript
parent
08d9421d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
11 deletions
+5
-11
app/assets/javascripts/loader.js
app/assets/javascripts/loader.js
+0
-11
app/assets/javascripts/loader.js.coffee
app/assets/javascripts/loader.js.coffee
+5
-0
No files found.
app/assets/javascripts/loader.js
deleted
100644 → 0
View file @
08d9421d
var
Loader
=
{
img_src
:
"
/assets/ajax-loader.gif
"
,
html
:
function
(
width
)
{
img
=
$
(
"
<img>
"
);
img
.
attr
(
"
width
"
,
width
);
img
.
attr
(
"
src
"
,
this
.
img_src
);
return
img
;
}
}
app/assets/javascripts/loader.js.coffee
0 → 100644
View file @
f8b58880
Loader
=
html
:
(
width
)
->
$
(
'<img>'
).
attr
src
:
'/assets/ajax-loader.gif'
,
width
:
width
window
.
Loader
=
Loader
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