Commit 76c4421b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #6639 from yatish27/ConsistentJSFormat

Consistent format for class objects in javascript
parents 9c6e5eab fcdb3437
...@@ -4,4 +4,4 @@ class CommitFile ...@@ -4,4 +4,4 @@ class CommitFile
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
...@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment