Navigation Menu

Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
hegek87 committed Feb 9, 2016
1 parent d4c4b4b commit 67364fc
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions mobile/www/app/components/post/post.controller.js
Expand Up @@ -101,17 +101,7 @@

return $q.all(promises);
}

function onSuccess(result) {
var jsonResult = JSON.parse(result.response)[0];
deferred.resolve(jsonResult.attachmentId);
vm.status.attachmentIds.push(jsonResult.attachmentId);
}

function onFail(failure) {
console.log(failure);
}


function remove(index) {
vm.images.splice(index, 1);
}
Expand Down

0 comments on commit 67364fc

Please sign in to comment.