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
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
Kirill Smelkov
gitlab-ce
Commits
1eec1f4f
Commit
1eec1f4f
authored
Apr 03, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:gitlabhq/gitlabhq
parents
a7ab029d
76c4421b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/commit/file.js.coffee
app/assets/javascripts/commit/file.js.coffee
+3
-3
app/assets/javascripts/commit/image-file.js.coffee
app/assets/javascripts/commit/image-file.js.coffee
+1
-1
No files found.
app/assets/javascripts/commit/file.js.coffee
View file @
1eec1f4f
class
CommitFile
class
CommitFile
constructor
:
(
file
)
->
constructor
:
(
file
)
->
if
$
(
'.image'
,
file
).
length
if
$
(
'.image'
,
file
).
length
new
ImageFile
(
file
)
new
ImageFile
(
file
)
this
.
CommitFile
=
CommitFile
@
CommitFile
=
CommitFile
\ No newline at end of file
app/assets/javascripts/commit/image-file.js.coffee
View file @
1eec1f4f
...
@@ -125,4 +125,4 @@ class ImageFile
...
@@ -125,4 +125,4 @@ class ImageFile
img
.
on
'load'
,
=>
img
.
on
'load'
,
=>
callback
.
call
(
this
,
domImg
.
naturalWidth
,
domImg
.
naturalHeight
)
callback
.
call
(
this
,
domImg
.
naturalWidth
,
domImg
.
naturalHeight
)
this
.
ImageFile
=
ImageFile
@
ImageFile
=
ImageFile
\ 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