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

Merge pull request #6639 from yatish27/ConsistentJSFormat

Consistent format for class objects in javascript
parents 9c6e5eab fcdb3437
class CommitFile
constructor: (file) ->
if $('.image', file).length
new ImageFile(file)
this.CommitFile = CommitFile
\ No newline at end of file
@CommitFile = CommitFile
......@@ -125,4 +125,4 @@ class ImageFile
img.on 'load', =>, domImg.naturalWidth, domImg.naturalHeight)
this.ImageFile = ImageFile
\ No newline at end of file
@ImageFile = ImageFile
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment