summaryrefslogtreecommitdiff
path: root/www/js/ng.js
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-07-29 17:37:44 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-07-29 17:37:44 -0400
commit542305d12922c3ded15cc215ed93e1eab010bf2e (patch)
tree312f0dcd5c841e1bf7039a114a3c701068c7828e /www/js/ng.js
parent44563c1ca99210854c053e3b7705d29e99138aa2 (diff)
slideshow changed to not proceed till image fully loads
Diffstat (limited to 'www/js/ng.js')
-rw-r--r--www/js/ng.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/js/ng.js b/www/js/ng.js
new file mode 100644
index 00000000..d99945b1
--- /dev/null
+++ b/www/js/ng.js
@@ -0,0 +1,14 @@
+/*angular.module("ng")
+.factory('imageLoadingDataShare', function () {
+ var imageLoading = 1; // 1 = loading, -1 = error;
+ return {
+ 'set': function (val) {
+ imageLoading = val;
+ },
+ 'get': function() {
+ return imageLoading;
+ }
+ };
+
+
+});*/