From 6cb903fed7c1c4d2ab22af55579e3db27653da71 Mon Sep 17 00:00:00 2001 From: Andrew Chumich Date: Thu, 18 Jun 2015 13:38:46 -0600 Subject: [PATCH 1/2] Added array annotation. --- angular-chrome-storage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/angular-chrome-storage.js b/angular-chrome-storage.js index fe2439e..c664f49 100644 --- a/angular-chrome-storage.js +++ b/angular-chrome-storage.js @@ -1,7 +1,7 @@ 'use strict'; angular.module("chromeStorage",[]) - .factory('chromeStorage', function($q) { + .factory("chromeStorage", [$q, function($q) { var area = null; try { area = chrome.storage.local; // change this to chrome.storage.sync for sync capabilities @@ -179,4 +179,4 @@ angular.module("chromeStorage",[]) } } -}); +}]); From fd75ca6e29c379d13823eae61b76feac8b39a8bc Mon Sep 17 00:00:00 2001 From: Andrew Chumich Date: Thu, 18 Jun 2015 13:41:16 -0600 Subject: [PATCH 2/2] Added array annotation. --- angular-chrome-storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angular-chrome-storage.js b/angular-chrome-storage.js index c664f49..2d0972b 100644 --- a/angular-chrome-storage.js +++ b/angular-chrome-storage.js @@ -1,7 +1,7 @@ 'use strict'; angular.module("chromeStorage",[]) - .factory("chromeStorage", [$q, function($q) { + .factory("chromeStorage", ["$q", function($q) { var area = null; try { area = chrome.storage.local; // change this to chrome.storage.sync for sync capabilities