Created
January 15, 2016 19:32
-
-
Save danlamanna/e0cc8b5d13235af342bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filesSelected: function (files) { | |
if (_.size(files)) { | |
this.newItemName = _.first(files).name; | |
this.newItemExt = _.last(this.newItemName.split('.')); | |
this.newItemType = _.first(files).type; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment