Skip to content

Commit

Permalink
fix funnel and string prototypes
Browse files Browse the repository at this point in the history
  • Loading branch information
igorrKurr committed Aug 18, 2015
1 parent 4afc7b1 commit e9b4471
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/components/admin-drag-and-drop-zone.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default Ember.Component.extend({
_params: function(file) {
var params;
params = {
assetable_type: Ember.String.singularize(this.get('controllerName')).classify(),
assetable_type: Ember.String.classify(Ember.String.singularize(this.get('controllerName'))),
content_type: file.type,
original_filename: file.name,
is_main: true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"active-model-adapter": "1.13.3",
"broccoli-asset-rev": "^2.0.2",
"broccoli-concat": "0.0.12",
"broccoli-funnel": "^0.2.3",
"broccoli-merge-trees": "^0.2.1",
"broccoli-static-compiler": "^0.2.1",
"ember-cli": "1.13.1",
Expand All @@ -66,6 +65,7 @@
},
"dependencies": {
"ember-cli-babel": "^5.0.0",
"broccoli-funnel": "^0.2.3",
"ember-cli-htmlbars": "0.7.9"
}
}

0 comments on commit e9b4471

Please sign in to comment.