update components

This commit is contained in:
Luke Pulverenti 2016-12-27 16:53:48 -05:00
parent 942a0512d8
commit e34c5d4388
9 changed files with 41 additions and 35 deletions

View file

@ -1,4 +1,4 @@
define(['localassetmanager'], function (localAssetManager) {
define(['localassetmanager', 'cameraRoll'], function (localAssetManager, cameraRoll) {
'use strict';
return function (connectionManager) {
@ -7,7 +7,7 @@
self.uploadImages = function (server) {
return LocalAssetManager.getCameraPhotos().then(function (photos) {
return cameraRoll.getFiles().then(function (photos) {
if (!photos.length) {
return Promise.resolve();