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
Boxiang Sun
gitlab-ce
Commits
fcdb3437
Commit
fcdb3437
authored
Mar 28, 2014
by
Yatish Mehta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consistent format for class objects in javascript
parent
1f988a22
Changes
2
Show 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 @
fcdb3437
...
...
@@ -4,4 +4,4 @@ class CommitFile
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 @
fcdb3437
...
...
@@ -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