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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
76c4421b
Commit
76c4421b
authored
Apr 03, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6639 from yatish27/ConsistentJSFormat
Consistent format for class objects in javascript
parents
9c6e5eab
fcdb3437
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 @
76c4421b
class
CommitFile
constructor
:
(
file
)
->
if
$
(
'.image'
,
file
).
length
new
ImageFile
(
file
)
this
.
CommitFile
=
CommitFile
\ No newline at end of file
@
CommitFile
=
CommitFile
app/assets/javascripts/commit/image-file.js.coffee
View file @
76c4421b
...
...
@@ -125,4 +125,4 @@ class ImageFile
img
.
on
'load'
,
=>
callback
.
call
(
this
,
domImg
.
naturalWidth
,
domImg
.
naturalHeight
)
this
.
ImageFile
=
ImageFile
\ No newline at end of file
@
ImageFile
=
ImageFile
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