From f6d05d14597da511c66021cc3641f5f0016913eb Mon Sep 17 00:00:00 2001 From: opus1269 Date: Thu, 21 Sep 2017 10:48:16 -0500 Subject: [PATCH] update --- docs/gen/Background.html | 178 ++- docs/gen/Chrome.GA.html | 86 +- docs/gen/Chrome.Http.html | 68 +- docs/gen/Chrome.JSONUtils.html | 16 +- docs/gen/Chrome.Locale.html | 16 +- docs/gen/Chrome.Log.html | 833 +++++++++++++ docs/gen/Chrome.Msg.html | 157 ++- docs/gen/Chrome.Storage.html | 989 ++++++++++++--- docs/gen/Chrome.Time.html | 48 +- docs/gen/Chrome.Utils.html | 60 +- docs/gen/ContextMenus.html | 4 +- docs/gen/ExceptionHandler.html | 8 +- docs/gen/Options.html | 410 ++++++- docs/gen/app.Alarm.html | 4 +- docs/gen/app.CCSource.html | 44 +- docs/gen/app.Data.html | 12 +- docs/gen/app.FlickrSource.html | 46 +- docs/gen/app.GA.html | 4 +- docs/gen/app.Geo.html | 170 ++- docs/gen/app.GoogleSource.html | 60 +- docs/gen/app.Msg.html | 78 +- docs/gen/app.Permissions.html | 20 +- docs/gen/app.PhotoSource.html | 58 +- docs/gen/app.PhotoSources.html | 4 +- docs/gen/app.Px500Source.html | 46 +- docs/gen/app.RedditSource.html | 48 +- docs/gen/app.SSBuilder.html | 4 +- docs/gen/app.SSControl.html | 108 +- docs/gen/app.SSEvents.html | 4 +- docs/gen/app.SSFinder.html | 4 +- docs/gen/app.SSHistory.html | 4 +- docs/gen/app.SSPhoto.html | 4 +- docs/gen/app.SSPhotos.html | 4 +- docs/gen/app.SSRunner.html | 4 +- docs/gen/app.SSTime.html | 4 +- docs/gen/app.SSView.html | 4 +- docs/gen/app.SSViewFrame.html | 4 +- docs/gen/app.SSViewFull.html | 4 +- docs/gen/app.SSViewLetterbox.html | 4 +- docs/gen/app.SSViews.html | 4 +- docs/gen/app.Screensaver.html | 4 +- docs/gen/app.Utils.html | 1055 +++++++++++++++++ ...extension-utils_scripts_analytics.js.html} | 55 +- ...n-utils_scripts_exception_handler.js.html} | 18 +- ...rome-extension-utils_scripts_http.js.html} | 8 +- ...rome-extension-utils_scripts_json.js.html} | 8 +- ...e-extension-utils_scripts_locales.js.html} | 8 +- ...chrome-extension-utils_scripts_log.js.html | 268 +++++ ...hrome-extension-utils_scripts_msg.js.html} | 40 +- ...e-extension-utils_scripts_storage.js.html} | 64 +- ...rome-extension-utils_scripts_time.js.html} | 8 +- ...ome-extension-utils_scripts_utils.js.html} | 8 +- docs/gen/classes.list.html | 10 +- docs/gen/index.html | 4 +- docs/gen/namespaces.list.html | 10 +- docs/gen/quicksearch.html | 2 +- docs/gen/scripts_analytics.js.html | 4 +- docs/gen/scripts_background_alarm.js.html | 8 +- .../gen/scripts_background_background.js.html | 48 +- .../scripts_background_context_menus.js.html | 10 +- docs/gen/scripts_background_data.js.html | 11 +- .../scripts_background_ss_controller.js.html | 20 +- docs/gen/scripts_msg.js.html | 22 +- docs/gen/scripts_options_options.js.html | 96 +- docs/gen/scripts_options_permissions.js.html | 6 +- docs/gen/scripts_options_utils.js.html | 286 +++++ docs/gen/scripts_screensaver_geo.js.html | 38 +- .../scripts_screensaver_screensaver.js.html | 6 +- .../scripts_screensaver_ss_builder.js.html | 4 +- .../gen/scripts_screensaver_ss_events.js.html | 4 +- .../scripts_screensaver_ss_history.js.html | 4 +- docs/gen/scripts_screensaver_ss_photo.js.html | 4 +- ...cripts_screensaver_ss_photo_finder.js.html | 4 +- .../gen/scripts_screensaver_ss_photos.js.html | 4 +- .../gen/scripts_screensaver_ss_runner.js.html | 4 +- docs/gen/scripts_screensaver_ss_time.js.html | 4 +- docs/gen/scripts_screensaver_ss_views.js.html | 4 +- .../scripts_screensaver_views_ss_view.js.html | 6 +- ...ts_screensaver_views_ss_view_frame.js.html | 4 +- ...pts_screensaver_views_ss_view_full.js.html | 4 +- ...creensaver_views_ss_view_letterbox.js.html | 4 +- docs/gen/scripts_sources_photo_source.js.html | 82 +- ...scripts_sources_photo_source_500px.js.html | 10 +- ...ts_sources_photo_source_chromecast.js.html | 10 +- ...cripts_sources_photo_source_flickr.js.html | 10 +- ...cripts_sources_photo_source_google.js.html | 10 +- ...cripts_sources_photo_source_reddit.js.html | 10 +- .../gen/scripts_sources_photo_sources.js.html | 4 +- 88 files changed, 5178 insertions(+), 764 deletions(-) create mode 100644 docs/gen/Chrome.Log.html create mode 100644 docs/gen/app.Utils.html rename docs/gen/{bower_components_chrome-extension-utils_chrome_analytics.js.html => bower_components_chrome-extension-utils_scripts_analytics.js.html} (87%) rename docs/gen/{bower_components_chrome-extension-utils_exception_handler.js.html => bower_components_chrome-extension-utils_scripts_exception_handler.js.html} (88%) rename docs/gen/{bower_components_chrome-extension-utils_http.js.html => bower_components_chrome-extension-utils_scripts_http.js.html} (95%) rename docs/gen/{bower_components_chrome-extension-utils_json.js.html => bower_components_chrome-extension-utils_scripts_json.js.html} (91%) rename docs/gen/{bower_components_chrome-extension-utils_locales.js.html => bower_components_chrome-extension-utils_scripts_locales.js.html} (90%) create mode 100644 docs/gen/bower_components_chrome-extension-utils_scripts_log.js.html rename docs/gen/{bower_components_chrome-extension-utils_chrome_msg.js.html => bower_components_chrome-extension-utils_scripts_msg.js.html} (84%) rename docs/gen/{bower_components_chrome-extension-utils_storage.js.html => bower_components_chrome-extension-utils_scripts_storage.js.html} (79%) rename docs/gen/{bower_components_chrome-extension-utils_chrome_time.js.html => bower_components_chrome-extension-utils_scripts_time.js.html} (94%) rename docs/gen/{bower_components_chrome-extension-utils_chrome_utils.js.html => bower_components_chrome-extension-utils_scripts_utils.js.html} (93%) create mode 100644 docs/gen/scripts_options_utils.js.html diff --git a/docs/gen/Background.html b/docs/gen/Background.html index 44e7bb7..2ddd88e 100644 --- a/docs/gen/Background.html +++ b/docs/gen/Background.html @@ -33,7 +33,7 @@ @@ -349,7 +349,7 @@
Parameters:
@@ -468,7 +468,7 @@

<private, @@ -570,7 +570,81 @@
Parameters:
-

type of event

+

type of event

+
Properties
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
reason + + +string + + + + +

reason for install

previousVersion + + +string + + + + +

old version if 'update' reason

+ + @@ -615,7 +689,7 @@
Parameters:
@@ -649,6 +723,94 @@
Parameters:
+ + + + +
+
+

<private, static> _onLoad()

+ + +
+
+ + +
+

Event: called when document and resources are loaded

+
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + +
@@ -711,7 +873,7 @@

<private, stat @@ -906,7 +1068,7 @@
Properties
@@ -1084,7 +1246,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/Chrome.GA.html b/docs/gen/Chrome.GA.html index 96cb42a..58aa7e0 100644 --- a/docs/gen/Chrome.GA.html +++ b/docs/gen/Chrome.GA.html @@ -33,7 +33,7 @@ @@ -127,8 +127,8 @@

@@ -162,8 +162,8 @@

Members


-
-

<static, constant> EVENT :Object

+
+

<static, constant> _EVENT :Object

@@ -239,6 +239,30 @@
Properties:
+ + + UPDATED + + + + + +Chrome.GA.Event + + + + + + + + + + +

extension updated

+ + + + MENU @@ -467,8 +491,8 @@
Properties:
@@ -550,8 +574,8 @@

<private, static>
@@ -661,7 +685,7 @@
Parameters:
- null + 'unknown' @@ -703,7 +727,7 @@
Parameters:
- null + 'unknownMethod' @@ -752,8 +776,8 @@
Parameters:
@@ -990,8 +1014,8 @@
Parameters:
@@ -1024,7 +1048,7 @@
Parameters:

-

<static> exception(message [, stack] [, fatal])

+

<static> exception(exception [, message] [, fatal])

@@ -1071,13 +1095,13 @@
Parameters:
- message + exception -string +Object @@ -1100,14 +1124,14 @@
Parameters:
-

the error message

+

the exception

- stack + message @@ -1142,7 +1166,7 @@
Parameters:
-

error stack

+

the error message

@@ -1177,7 +1201,7 @@
Parameters:
- null + true @@ -1226,8 +1250,8 @@
Parameters:
@@ -1436,8 +1460,8 @@
Parameters:
@@ -1574,8 +1598,8 @@
Parameters:
@@ -1774,8 +1798,8 @@
Properties:
@@ -1844,7 +1868,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/Chrome.Http.html b/docs/gen/Chrome.Http.html index 6f3cadd..f3bfddb 100644 --- a/docs/gen/Chrome.Http.html +++ b/docs/gen/Chrome.Http.html @@ -33,7 +33,7 @@ @@ -127,8 +127,8 @@

@@ -222,8 +222,8 @@

Type:
@@ -303,8 +303,8 @@
Type:
@@ -384,8 +384,8 @@
Type:
@@ -461,8 +461,8 @@

<private, static, constant> @@ -542,8 +542,8 @@
Type:
@@ -722,8 +722,8 @@
Parameters:
@@ -956,8 +956,8 @@
Parameters:
@@ -1142,8 +1142,8 @@
Parameters:
@@ -1304,8 +1304,8 @@
Parameters:
@@ -1562,8 +1562,8 @@
Parameters:
@@ -1796,8 +1796,8 @@
Parameters:
@@ -2030,8 +2030,8 @@
Parameters:
@@ -2248,8 +2248,8 @@
Parameters:
@@ -2466,8 +2466,8 @@
Parameters:
@@ -2852,8 +2852,8 @@
Properties:
@@ -2922,7 +2922,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/Chrome.JSONUtils.html b/docs/gen/Chrome.JSONUtils.html index af88e84..aa4ffe4 100644 --- a/docs/gen/Chrome.JSONUtils.html +++ b/docs/gen/Chrome.JSONUtils.html @@ -33,7 +33,7 @@ @@ -127,8 +127,8 @@

@@ -269,8 +269,8 @@

Parameters:
@@ -431,8 +431,8 @@
Parameters:
@@ -539,7 +539,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/Chrome.Locale.html b/docs/gen/Chrome.Locale.html index f9fe196..47a7dfb 100644 --- a/docs/gen/Chrome.Locale.html +++ b/docs/gen/Chrome.Locale.html @@ -33,7 +33,7 @@ @@ -127,8 +127,8 @@

@@ -226,8 +226,8 @@

<static> @@ -388,8 +388,8 @@

Parameters:
@@ -496,7 +496,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/Chrome.Log.html b/docs/gen/Chrome.Log.html new file mode 100644 index 0000000..7822d29 --- /dev/null +++ b/docs/gen/Chrome.Log.html @@ -0,0 +1,833 @@ + + + + + + + Documentation Namespace: Log + + + + + + + + + + + + + +
+
+ + +
+ +
+ + +

Namespace: Log

+
+ +
+ +

+ Log +

+ + +
+ + +
+
+ + +

Log a message. Will also store the LastError to local storage as 'lastError'

+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ +
+ + + + + + + +
+ + + + +
+ + + + + + + + + + + + + + +

Methods

+ +
+ +
+
+

<static> error( [message] [, method] [, title])

+ + +
+
+ + +
+

Log an error

+
+ + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDefaultDescription
message + + +string + + + + + + + <optional>
+ + + + <nullable>
+ + + +
+ + 'unknown' + +

override label

method + + +string + + + + + + + <optional>
+ + + + <nullable>
+ + + +
+ + 'unknownMethod' + +

override action

title + + +string + + + + + + + <optional>
+ + + + <nullable>
+ + + +
+ + null + +

a title for the error

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + +
+
+

<static> exception(exception [, message] [, fatal] [, title])

+ + +
+
+ + +
+

Log an exception

+
+ + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDefaultDescription
exception + + +Object + + + + + + + + + + + + +

the exception

message + + +string + + + + + + + <optional>
+ + + + <nullable>
+ + + +
+ + null + +

the error message

fatal + + +boolean + + + + + + + <optional>
+ + + + + +
+ + true + +

true if fatal

title + + +string + + + + + + + <optional>
+ + + + <nullable>
+ + + +
+ + 'An exception was caught' + +
    +
  • a title for the error
  • +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + + + +
+ +
+ + + + +
+
+ +
+ + +
+ +
+ + +
+
+ + + + + +
+ + + + DocStrap Copyright © 2012-2015 The contributors to the JSDoc3 and DocStrap projects. + + + + Documentation generated by JSDoc 3.4.3 + + on September 21st 2017, 10:46:44 am + + using the DocStrap template. + +
+ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/gen/Chrome.Msg.html b/docs/gen/Chrome.Msg.html index b219e50..45dfe63 100644 --- a/docs/gen/Chrome.Msg.html +++ b/docs/gen/Chrome.Msg.html @@ -33,7 +33,7 @@ @@ -127,8 +127,8 @@

@@ -169,15 +169,15 @@

Members


-
-

<static, constant> STORAGE_EXCEEDED :Chrome.Msg.Message

+
+

<private, static, constant> _MSG :Object

-

A save attempt to localStorage exceeded its capacity

+

Chrome Messages

@@ -186,7 +186,7 @@
Type:
+ + + +
+
+

<static> safeSet(key, value [, keyBool]) → {boolean}

+ + +
+
+ + +
+

Save a value to localStorage only if there is enough room

+
+ + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDescription
key + + +string + + + + + + + + + + +

localStorage Key

value + + +Object + + + + + + + + + + +

value to save

keyBool + + +string + + + + + + + <optional>
+ + + + + +

key to a boolean value + that is true if the primary key has non-empty value

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ +
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

true if value was set successfully

+
+ + + +
+
+ Type +
+
+ +boolean + + + +
+
+ + + + + +
+ + + +
+
+

<static> set(key [, value])

+ + +
+
+ + +
+

JSON stringify and save a value to localStorage

+
+ + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeArgumentDefaultDescription
key + + +string + + + + + + + + + + + + +

key to set value for

value + + +Object + + + + + + + <optional>
+ + + + <nullable>
+ + + +
+ + null + +

new value, if null remove item

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + +
+
+

<static> setLastError(error) → {Promise.<void>}

+ + +
+
+ + +
+

Save the LastError to chrome.storage.local

+
+ + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
error + + +Chrome.Storage.LastError + + + + +

the LastError

+ + + + +
+ + + + + + + + + @@ -1226,8 +1868,8 @@
Parameters:
@@ -1236,6 +1878,13 @@
Parameters:
+
See:
+
+ +
+
@@ -1252,6 +1901,30 @@
Parameters:
+
Returns:
+ + +
+

void

+
+ + + +
+
+ Type +
+
+ +Promise.<void> + + + +
+
+ + +
@@ -1310,7 +1983,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/Chrome.Time.html b/docs/gen/Chrome.Time.html index 2b0fd2e..ab40b3e 100644 --- a/docs/gen/Chrome.Time.html +++ b/docs/gen/Chrome.Time.html @@ -33,7 +33,7 @@ @@ -297,8 +297,8 @@
Properties:
@@ -395,8 +395,8 @@

<static> MIN_IN_DAY<
@@ -465,8 +465,8 @@

<static> MSEC_IN_DA
@@ -619,8 +619,8 @@

Parameters:
@@ -839,8 +839,8 @@
Parameters:
@@ -951,8 +951,8 @@

<static> <
@@ -1113,8 +1113,8 @@
Parameters:
@@ -1275,8 +1275,8 @@
Parameters:
@@ -1461,8 +1461,8 @@
Parameters:
@@ -1623,8 +1623,8 @@
Parameters:
@@ -1783,8 +1783,8 @@
Parameters:
@@ -1891,7 +1891,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/Chrome.Utils.html b/docs/gen/Chrome.Utils.html index a381251..5a6a3f8 100644 --- a/docs/gen/Chrome.Utils.html +++ b/docs/gen/Chrome.Utils.html @@ -33,7 +33,7 @@ @@ -127,8 +127,8 @@

@@ -219,8 +219,8 @@

<static>
@@ -338,8 +338,8 @@

<static>
@@ -450,8 +450,8 @@

<sta
@@ -569,8 +569,8 @@

<static> @@ -755,8 +755,8 @@
Parameters:
@@ -937,8 +937,8 @@
Parameters:
@@ -1049,8 +1049,8 @@

<static> @@ -1161,8 +1161,8 @@

<static> @@ -1273,8 +1273,8 @@

<static> isM
@@ -1447,8 +1447,8 @@

Parameters:
@@ -1559,8 +1559,8 @@

<static> @@ -1671,8 +1671,8 @@

<static> noop
@@ -1810,8 +1810,8 @@

Parameters:
@@ -1894,7 +1894,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:45 am using the DocStrap template. diff --git a/docs/gen/ContextMenus.html b/docs/gen/ContextMenus.html index 2f35a84..5a0b39e 100644 --- a/docs/gen/ContextMenus.html +++ b/docs/gen/ContextMenus.html @@ -33,7 +33,7 @@ @@ -798,7 +798,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:45 am using the DocStrap template. diff --git a/docs/gen/ExceptionHandler.html b/docs/gen/ExceptionHandler.html index 9e6b2b7..3695211 100644 --- a/docs/gen/ExceptionHandler.html +++ b/docs/gen/ExceptionHandler.html @@ -33,7 +33,7 @@ @@ -146,8 +146,8 @@

new E
@@ -244,7 +244,7 @@

Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:45 am using the DocStrap template. diff --git a/docs/gen/Options.html b/docs/gen/Options.html index 5adbaa3..49796ed 100644 --- a/docs/gen/Options.html +++ b/docs/gen/Options.html @@ -33,7 +33,7 @@ @@ -547,7 +547,7 @@
Type:
@@ -572,6 +572,168 @@

Methods

+
+
+

<private, static> _getPageIdx(name) → {int}

+ + +
+
+ + +
+

Get the index into the Options.pages array

+
+ + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
name + + +string + + + + +

Options.page route

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ +
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

index into array

+
+ + + +
+
+ Type +
+
+ +int + + + +
+
+ + + + + +
+ + +

<private, static> _onMessage(request [, sender] [, response]) → {boolean}

@@ -758,7 +920,7 @@
Parameters:
@@ -877,7 +1039,233 @@

<static> + + + + + + + + +

+ + + + + + + + + + + + + + + + + + + +
+
+

<static> _setErrorMenuState()

+ + +
+
+ + +
+

Set enabled state of Error Viewer menu item

+
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ +
+ + + + + + + +
+ + + + + + + + + + + + + + + +
+ + + +
+
+

<private, static> _showErrorPage(index)

+ + +
+
+ + +
+

Show the error viewer page

+
+ + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
index + + +int + + + + +

index into Options.pages

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+
@@ -1015,7 +1403,7 @@
Parameters:
@@ -1153,7 +1541,7 @@
Parameters:
@@ -1315,7 +1703,7 @@
Parameters:
@@ -1403,7 +1791,7 @@

<static> < @@ -1515,7 +1903,7 @@

<static> @@ -1678,7 +2066,7 @@
Parameters:
@@ -2023,7 +2411,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:45 am using the DocStrap template. diff --git a/docs/gen/app.Alarm.html b/docs/gen/app.Alarm.html index 893108a..44b0376 100644 --- a/docs/gen/app.Alarm.html +++ b/docs/gen/app.Alarm.html @@ -33,7 +33,7 @@ @@ -1129,7 +1129,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.CCSource.html b/docs/gen/app.CCSource.html index eddef87..4571c32 100644 --- a/docs/gen/app.CCSource.html +++ b/docs/gen/app.CCSource.html @@ -33,7 +33,7 @@ @@ -93,7 +93,7 @@


-

new CCSource(useKey, photosKey, type, isDaily, isArray [, loadArg])

+

new CCSource(useKey, photosKey, type, desc, isDaily, isArray [, loadArg])

@@ -246,6 +246,42 @@

Parameters:
+ + + desc + + + + + +string + + + + + + + + + + + + + + + + + + + + + + +

A human readable description of the source

+ + + + isDaily @@ -506,7 +542,7 @@

fetchPhoto @@ -613,7 +649,7 @@

Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.Data.html b/docs/gen/app.Data.html index 6c05e10..a131035 100644 --- a/docs/gen/app.Data.html +++ b/docs/gen/app.Data.html @@ -33,7 +33,7 @@ @@ -217,7 +217,7 @@
Type:
Default Value:
    -
  • 16
  • +
  • 17
@@ -1269,7 +1269,7 @@
Parameters:
@@ -1357,7 +1357,7 @@

<static> @@ -1445,7 +1445,7 @@

<static> up @@ -2784,7 +2784,7 @@

Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.FlickrSource.html b/docs/gen/app.FlickrSource.html index d804bea..5b1dad0 100644 --- a/docs/gen/app.FlickrSource.html +++ b/docs/gen/app.FlickrSource.html @@ -33,7 +33,7 @@ @@ -93,7 +93,7 @@


-

new FlickrSource(useKey, photosKey, type, isDaily, isArray [, loadArg])

+

new FlickrSource(useKey, photosKey, type, desc, isDaily, isArray [, loadArg])

@@ -246,6 +246,42 @@

Parameters:
+ + + desc + + + + + +string + + + + + + + + + + + + + + + + + + + + + + +

A human readable description of the source

+ + + + isDaily @@ -817,7 +853,7 @@
Parameters:
@@ -929,7 +965,7 @@

fetchPhoto @@ -1036,7 +1072,7 @@

Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.GA.html b/docs/gen/app.GA.html index 2c57a1a..2b8bb4a 100644 --- a/docs/gen/app.GA.html +++ b/docs/gen/app.GA.html @@ -33,7 +33,7 @@ @@ -396,7 +396,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.Geo.html b/docs/gen/app.Geo.html index e162d6c..6824bba 100644 --- a/docs/gen/app.Geo.html +++ b/docs/gen/app.Geo.html @@ -33,7 +33,7 @@ @@ -494,6 +494,168 @@
Parameters:
+ + + + +
+
+

<private, static> _cleanPoint(point) → {string}

+ + +
+
+ + +
+

Make sure point is in fixed point notation

+
+ + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
point + + +string + + + + +

'lat lng' may have exponential notation

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ +
+ + + + + + + +
+ + + + + + + + + + + + + +
Returns:
+ + +
+

'lat,lng' fixed point notation

+
+ + + +
+
+ Type +
+
+ +string + + + +
+
+ + + + +
@@ -794,7 +956,7 @@
Parameters:
@@ -956,7 +1118,7 @@
Parameters:
@@ -1383,7 +1545,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.GoogleSource.html b/docs/gen/app.GoogleSource.html index 82daad5..334669d 100644 --- a/docs/gen/app.GoogleSource.html +++ b/docs/gen/app.GoogleSource.html @@ -33,7 +33,7 @@ @@ -93,7 +93,7 @@


-

new GoogleSource(useKey, photosKey, type, isDaily, isArray [, loadArg])

+

new GoogleSource(useKey, photosKey, type, desc, isDaily, isArray [, loadArg])

@@ -246,6 +246,42 @@

Parameters:
+ + + desc + + + + + +string + + + + + + + + + + + + + + + + + + + + + + +

A human readable description of the source

+ + + + isDaily @@ -760,7 +796,7 @@

<static @@ -872,7 +908,7 @@

<private @@ -1034,7 +1070,7 @@
Parameters:
@@ -1196,7 +1232,7 @@
Parameters:
@@ -1358,7 +1394,7 @@
Parameters:
@@ -1576,7 +1612,7 @@
Parameters:
@@ -1738,7 +1774,7 @@
Parameters:
@@ -1850,7 +1886,7 @@

<static>
  • scripts/sources/photo_source_google.js, - line 205 + line 207
  • @@ -1962,7 +1998,7 @@

    fetchPhoto @@ -2533,7 +2569,7 @@

    Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.Msg.html b/docs/gen/app.Msg.html index 13e54c0..2254c9d 100644 --- a/docs/gen/app.Msg.html +++ b/docs/gen/app.Msg.html @@ -33,7 +33,7 @@ @@ -294,54 +294,6 @@
    Properties:
    - - - RESTORE_DEFAULTS - - - - - -Chrome.Msg.Message - - - - - - - - - - -

    restore default settings

    - - - - - - - HIGHLIGHT - - - - - -Chrome.Msg.Message - - - - - - - - - - -

    highlight a tab

    - - - - PHOTO_SOURCE_FAILED @@ -365,30 +317,6 @@
    Properties:
    - - - - STORE - - - - - -Chrome.Msg.Message - - - - - - - - - - -

    save a value to storage

    - - -

    @@ -427,7 +355,7 @@
    Properties:
    @@ -500,7 +428,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.Permissions.html b/docs/gen/app.Permissions.html index 8ab8852..fd5b163 100644 --- a/docs/gen/app.Permissions.html +++ b/docs/gen/app.Permissions.html @@ -33,7 +33,7 @@ @@ -244,12 +244,16 @@
    Type:

    -

    <static> BACKGROUND :app.Permissions.Type

    +

    <static, constant> BACKGROUND :app.Permissions.Type

    +
    +

    Permission for running in background

    +
    +
    Type:
    @@ -300,7 +304,7 @@
    Type:
    @@ -321,16 +325,12 @@
    Type:

    -

    <static, constant> BACKGROUND :app.Permissions.Type

    +

    <static> BACKGROUND :app.Permissions.Type

    -
    -

    Permission for running in background

    -
    -
    Type:
    @@ -381,7 +381,7 @@
    Type:
    @@ -1956,7 +1956,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.PhotoSource.html b/docs/gen/app.PhotoSource.html index b081f46..eaa0daf 100644 --- a/docs/gen/app.PhotoSource.html +++ b/docs/gen/app.PhotoSource.html @@ -33,7 +33,7 @@ @@ -93,7 +93,7 @@


    -

    new PhotoSource(useKey, photosKey, type, isDaily, isArray [, loadArg])

    +

    new PhotoSource(useKey, photosKey, type, desc, isDaily, isArray [, loadArg])

    @@ -246,6 +246,42 @@

    Parameters:
    + + + desc + + + + + +string + + + + + + + + + + + + + + + + + + + + + + +

    A human readable description of the source

    + + + + isDaily @@ -730,7 +766,7 @@
    Parameters:
    @@ -868,7 +904,7 @@
    Parameters:
    @@ -1032,7 +1068,7 @@
    Parameters:
    @@ -1144,7 +1180,7 @@

    <abstract>
  • scripts/sources/photo_source.js, - line 152 + line 170
  • @@ -1256,7 +1292,7 @@

    getPhotos
  • scripts/sources/photo_source.js, - line 167 + line 185
  • @@ -1368,7 +1404,7 @@

    isDaily
  • scripts/sources/photo_source.js, - line 159 + line 177
  • @@ -1480,7 +1516,7 @@

    process
  • scripts/sources/photo_source.js, - line 222 + line 221
  • @@ -1592,7 +1628,7 @@

    use
  • scripts/sources/photo_source.js, - line 214 + line 213
  • @@ -2128,7 +2164,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.PhotoSources.html b/docs/gen/app.PhotoSources.html index 9e8a8e4..551deee 100644 --- a/docs/gen/app.PhotoSources.html +++ b/docs/gen/app.PhotoSources.html @@ -33,7 +33,7 @@ @@ -1140,7 +1140,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.Px500Source.html b/docs/gen/app.Px500Source.html index f59f81b..fb5ba7c 100644 --- a/docs/gen/app.Px500Source.html +++ b/docs/gen/app.Px500Source.html @@ -33,7 +33,7 @@ @@ -93,7 +93,7 @@


    -

    new Px500Source(useKey, photosKey, type, isDaily, isArray [, loadArg])

    +

    new Px500Source(useKey, photosKey, type, desc, isDaily, isArray [, loadArg])

    @@ -246,6 +246,42 @@

    Parameters:
    + + + desc + + + + + +string + + + + + + + + + + + + + + + + + + + + + + +

    A human readable description of the source

    + + + + isDaily @@ -905,7 +941,7 @@
    Parameters:
    @@ -1017,7 +1053,7 @@

    fetchPhoto @@ -1124,7 +1160,7 @@

    Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.RedditSource.html b/docs/gen/app.RedditSource.html index 8bffdb4..4d6b118 100644 --- a/docs/gen/app.RedditSource.html +++ b/docs/gen/app.RedditSource.html @@ -33,7 +33,7 @@ @@ -93,7 +93,7 @@


    -

    new RedditSource(useKey, photosKey, type, isDaily, isArray [, loadArg])

    +

    new RedditSource(useKey, photosKey, type, desc, isDaily, isArray [, loadArg])

    @@ -246,6 +246,42 @@

    Parameters:
    + + + desc + + + + + +string + + + + + + + + + + + + + + + + + + + + + + +

    A human readable description of the source

    + + + + isDaily @@ -1068,7 +1104,7 @@
    Parameters:
    @@ -1230,7 +1266,7 @@
    Parameters:
    @@ -1342,7 +1378,7 @@

    fetchPhoto @@ -1449,7 +1485,7 @@

    Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.SSBuilder.html b/docs/gen/app.SSBuilder.html index d0d5ddc..10ddc09 100644 --- a/docs/gen/app.SSBuilder.html +++ b/docs/gen/app.SSBuilder.html @@ -33,7 +33,7 @@ @@ -439,7 +439,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.SSControl.html b/docs/gen/app.SSControl.html index 7b13f25..a6d0a32 100644 --- a/docs/gen/app.SSControl.html +++ b/docs/gen/app.SSControl.html @@ -33,7 +33,7 @@ @@ -162,15 +162,15 @@

    Members


    -
    -

    <private, static, constant> _SS_URL :string

    +
    +

    <private, static, constant> _ERR_SHOW :string

    -

    Screensaver URL

    +

    Error showing Screensaver

    @@ -214,12 +214,86 @@
    Type:
    -
    Default Value:
    -
    + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + +
    +
    +

    <private, static, constant> _SS_URL :string

    + + +
    +
    + +
    +

    Screensaver URL

    +
    + + + +
    Type:
    +
      +
    • + +string + + + +
    • +
    + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + @@ -230,7 +304,7 @@
    Type:
    @@ -362,7 +436,7 @@
    Parameters:
    @@ -475,7 +549,7 @@

    <private, stat @@ -716,7 +790,7 @@
    Parameters:
    @@ -889,7 +963,7 @@
    Parameters:
    @@ -1034,7 +1108,7 @@
    Parameters:
    @@ -1122,7 +1196,7 @@

    <priva @@ -1210,7 +1284,7 @@

    <static> clo @@ -1349,7 +1423,7 @@

    Parameters:
    @@ -1432,7 +1506,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.SSEvents.html b/docs/gen/app.SSEvents.html index eee77c4..4d90247 100644 --- a/docs/gen/app.SSEvents.html +++ b/docs/gen/app.SSEvents.html @@ -33,7 +33,7 @@ @@ -1241,7 +1241,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.SSFinder.html b/docs/gen/app.SSFinder.html index d54be41..b300a13 100644 --- a/docs/gen/app.SSFinder.html +++ b/docs/gen/app.SSFinder.html @@ -33,7 +33,7 @@ @@ -827,7 +827,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.SSHistory.html b/docs/gen/app.SSHistory.html index ede542f..3405064 100644 --- a/docs/gen/app.SSHistory.html +++ b/docs/gen/app.SSHistory.html @@ -33,7 +33,7 @@ @@ -1102,7 +1102,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.SSPhoto.html b/docs/gen/app.SSPhoto.html index 8fcf5ef..49a5384 100644 --- a/docs/gen/app.SSPhoto.html +++ b/docs/gen/app.SSPhoto.html @@ -33,7 +33,7 @@ @@ -1667,7 +1667,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.SSPhotos.html b/docs/gen/app.SSPhotos.html index e76bc26..98de38b 100644 --- a/docs/gen/app.SSPhotos.html +++ b/docs/gen/app.SSPhotos.html @@ -33,7 +33,7 @@ @@ -1469,7 +1469,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.SSRunner.html b/docs/gen/app.SSRunner.html index 03baea1..c738811 100644 --- a/docs/gen/app.SSRunner.html +++ b/docs/gen/app.SSRunner.html @@ -33,7 +33,7 @@ @@ -2583,7 +2583,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.SSTime.html b/docs/gen/app.SSTime.html index c355368..280ac04 100644 --- a/docs/gen/app.SSTime.html +++ b/docs/gen/app.SSTime.html @@ -33,7 +33,7 @@ @@ -391,7 +391,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.SSView.html b/docs/gen/app.SSView.html index 1985439..144ef98 100644 --- a/docs/gen/app.SSView.html +++ b/docs/gen/app.SSView.html @@ -33,7 +33,7 @@ @@ -2937,7 +2937,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.SSViewFrame.html b/docs/gen/app.SSViewFrame.html index 1860b12..83c03f3 100644 --- a/docs/gen/app.SSViewFrame.html +++ b/docs/gen/app.SSViewFrame.html @@ -33,7 +33,7 @@ @@ -2363,7 +2363,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.SSViewFull.html b/docs/gen/app.SSViewFull.html index 5a98a91..8bf9def 100644 --- a/docs/gen/app.SSViewFull.html +++ b/docs/gen/app.SSViewFull.html @@ -33,7 +33,7 @@ @@ -2153,7 +2153,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.SSViewLetterbox.html b/docs/gen/app.SSViewLetterbox.html index ce5f9a7..3c259fc 100644 --- a/docs/gen/app.SSViewLetterbox.html +++ b/docs/gen/app.SSViewLetterbox.html @@ -33,7 +33,7 @@ @@ -2238,7 +2238,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.SSViews.html b/docs/gen/app.SSViews.html index c3897cb..658316e 100644 --- a/docs/gen/app.SSViews.html +++ b/docs/gen/app.SSViews.html @@ -33,7 +33,7 @@ @@ -2182,7 +2182,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:01 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.Screensaver.html b/docs/gen/app.Screensaver.html index 19ccf2f..ad29c16 100644 --- a/docs/gen/app.Screensaver.html +++ b/docs/gen/app.Screensaver.html @@ -33,7 +33,7 @@ @@ -1873,7 +1873,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:44 am using the DocStrap template. diff --git a/docs/gen/app.Utils.html b/docs/gen/app.Utils.html new file mode 100644 index 0000000..80a5dc0 --- /dev/null +++ b/docs/gen/app.Utils.html @@ -0,0 +1,1055 @@ + + + + + + + Documentation Namespace: Utils + + + + + + + + + + + + + +
    +
    + + +
    + +
    + + +

    Namespace: Utils

    +
    + +
    + +

    + Utils +

    + + +
    + + +
    +
    + + +

    Misc. utility methods

    + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + +
    + + + + + + + +
    + + + + +
    + + + + + + + + + + + + + + +

    Methods

    + +
    + +
    +
    +

    <static> getEmail() → {string}

    + + +
    +
    + + +
    +

    Get our email address

    +
    + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + +
    + + + + + + + +
    + + + + + + + + + + + + + +
    Returns:
    + + +
    +

    email address

    +
    + + + +
    +
    + Type +
    +
    + +string + + + +
    +
    + + + + + +
    + + + +
    +
    +

    <static> getEmailBody() → {string}

    + + +
    +
    + + +
    +

    Get body for an email with basic extension info

    +
    + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + +
    + + + + + + + +
    + + + + + + + + + + + + + +
    Returns:
    + + +
    +

    text

    +
    + + + +
    +
    + Type +
    +
    + +string + + + +
    +
    + + + + + +
    + + + +
    +
    +

    <static> getEmailUrl(subject, body) → {string}

    + + +
    +
    + + +
    +

    Get encoded url for an email

    +
    + + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    subject + + +string + + + + +

    email subject

    body + + +string + + + + +

    email body

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + +
    + + + + + + + +
    + + + + + + + + + + + + + +
    Returns:
    + + +
    +

    encoded url

    +
    + + + +
    +
    + Type +
    +
    + +string + + + +
    +
    + + + + + +
    + + + +
    +
    +

    <static> getGithubPagesPath() → {string}

    + + +
    +
    + + +
    +

    Get our Github pages base path

    +
    + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + +
    + + + + + + + +
    + + + + + + + + + + + + + +
    Returns:
    + + +
    +

    path

    +
    + + + +
    +
    + Type +
    +
    + +string + + + +
    +
    + + + + + +
    + + + +
    +
    +

    <static> getGithubPath() → {string}

    + + +
    +
    + + +
    +

    Get our Github base path

    +
    + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + +
    + + + + + + + +
    + + + + + + + + + + + + + +
    Returns:
    + + +
    +

    path

    +
    + + + +
    +
    + Type +
    +
    + +string + + + +
    +
    + + + + + +
    + + + +
    +
    +

    <static> getIdleSeconds() → {int}

    + + +
    +
    + + +
    +

    Get the idle time in seconds

    +
    + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + +
    + + + + + + + +
    + + + + + + + + + + + + + +
    Returns:
    + + +
    +

    idle time in seconds

    +
    + + + +
    +
    + Type +
    +
    + +int + + + +
    +
    + + + + + +
    + +
    + + + + + +
    + +
    + + + + +
    +
    + +
    + + +
    + +
    + + +
    +
    + + + + + +
    + + + + DocStrap Copyright © 2012-2015 The contributors to the JSDoc3 and DocStrap projects. + + + + Documentation generated by JSDoc 3.4.3 + + on September 21st 2017, 10:46:44 am + + using the DocStrap template. + +
    + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/gen/bower_components_chrome-extension-utils_chrome_analytics.js.html b/docs/gen/bower_components_chrome-extension-utils_scripts_analytics.js.html similarity index 87% rename from docs/gen/bower_components_chrome-extension-utils_chrome_analytics.js.html rename to docs/gen/bower_components_chrome-extension-utils_scripts_analytics.js.html index 062c6e6..6be33d6 100644 --- a/docs/gen/bower_components_chrome-extension-utils_chrome_analytics.js.html +++ b/docs/gen/bower_components_chrome-extension-utils_scripts_analytics.js.html @@ -4,7 +4,7 @@ - Documentation Source: bower_components/chrome-extension-utils/chrome_analytics.js + Documentation Source: bower_components/chrome-extension-utils/scripts/analytics.js + + + + + + + + + + + +
    +
    + + +
    + +
    + + +

    Source: bower_components/chrome-extension-utils/scripts/log.js

    + +
    +
    +
    /*
    + * Copyright (c) 2016-2017, Michael A. Updike All rights reserved.
    + * Licensed under Apache 2.0
    + * https://opensource.org/licenses/Apache-2.0
    + * https://github.com/opus1269/chrome-extension-utils/blob/master/LICENSE.md
    + */
    +window.Chrome = window.Chrome || {};
    +
    +/**
    + * Log a message. Will also store the LastError to local storage as 'lastError'
    + * @namespace
    + */
    +Chrome.Log = (function() {
    +  'use strict';
    +
    +  return {
    +    /**
    +     * Log an error
    +     * @param {?string} [message='unknown'] - override label
    +     * @param {?string} [method='unknownMethod'] - override action
    +     * @param {?string} [title=null] - a title for the error
    +     * @memberOf Chrome.Log
    +     */
    +    error: function(message = 'unknown', method = 'unknownMethod',
    +                    title = null) {
    +      const theTitle = title ? title : 'An error occurred';
    +      Chrome.Storage.setLastError(
    +          new Chrome.Storage.LastError(message, theTitle));
    +      Chrome.GA.error(message, method);
    +    },
    +
    +    /**
    +     * Log an exception
    +     * @param {Object} exception - the exception
    +     * @param {?string} [message=null] - the error message
    +     * @param {boolean} [fatal=true] - true if fatal
    +     * @param {?string} [title='An exception was caught'] 
    +     * - a title for the error
    +     * @memberOf Chrome.Log
    +     */
    +    exception: function(exception, message = null, fatal = false,
    +                        title='An exception was caught') {
    +      try {
    +        Chrome.Storage.setLastError(
    +            new Chrome.Storage.LastError(message, title));
    +        Chrome.GA.exception(exception, message, fatal);
    +      } catch (err) {
    +        Chrome.Utils.noop();
    +      }
    +    },
    +  };
    +})();
    +
    +
    +
    + + + + + +
    +
    + +
    + + + +
    +
    + + + + + +
    + + + + DocStrap Copyright © 2012-2015 The contributors to the JSDoc3 and DocStrap projects. + + + + Documentation generated by JSDoc 3.4.3 + + on September 21st 2017, 10:46:43 am + + using the DocStrap template. + +
    + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/gen/bower_components_chrome-extension-utils_chrome_msg.js.html b/docs/gen/bower_components_chrome-extension-utils_scripts_msg.js.html similarity index 84% rename from docs/gen/bower_components_chrome-extension-utils_chrome_msg.js.html rename to docs/gen/bower_components_chrome-extension-utils_scripts_msg.js.html index 94531c1..05478a0 100644 --- a/docs/gen/bower_components_chrome-extension-utils_chrome_msg.js.html +++ b/docs/gen/bower_components_chrome-extension-utils_scripts_msg.js.html @@ -4,7 +4,7 @@ - Documentation Source: bower_components/chrome-extension-utils/chrome_msg.js + Documentation Source: bower_components/chrome-extension-utils/scripts/msg.js + + + + + + + + + + + +
    +
    + + +
    + +
    + + +

    Source: scripts/options/utils.js

    + +
    +
    +
    /*
    + *  Copyright (c) 2015-2017, Michael A. Updike All rights reserved.
    + *  Licensed under the BSD-3-Clause
    + *  https://opensource.org/licenses/BSD-3-Clause
    + *  https://github.com/opus1269/photo-screen-saver/blob/master/LICENSE.md
    + */
    +window.app = window.app || {};
    +
    +/**
    + * Misc. utility methods
    + * @namespace
    + */
    +app.Utils = (function() {
    +  'use strict';
    +
    +  new ExceptionHandler();
    +  return {
    +    /**
    +     * Get our email address
    +     * @returns {string} email address
    +     * @memberOf app.Utils
    +     */
    +    getEmail: function() {
    +      return 'photoscreensaver@gmail.com';
    +    },
    +
    +    /**
    +     * Get body for an email with basic extension info
    +     * @returns {string} text
    +     * @memberOf app.Utils
    +     */
    +    getEmailBody: function() {
    +      return `Extension version: ${Chrome.Utils.getVersion()}\n`
    +          + `Chrome version: ${Chrome.Utils.getFullChromeVersion()}\n`
    +          + `OS: ${Chrome.Storage.get('os')}\n\n\n`;
    +    },
    +
    +    /**
    +     * Get encoded url for an email
    +     * @param {string} subject - email subject
    +     * @param {string} body - email body
    +     * @returns {string} encoded url
    +     * @memberOf app.Utils
    +     */
    +    getEmailUrl: function(subject, body) {
    +      const email = encodeURIComponent(app.Utils.getEmail());
    +      const sub = encodeURIComponent(subject);
    +      const bod = encodeURIComponent(body);
    +      return `mailto:${email}?subject=${sub}&body=${bod}`;
    +    },
    +
    +    /**
    +     * Get our Github base path
    +     * @returns {string} path
    +     * @memberOf app.Utils
    +     */
    +    getGithubPath: function() {
    +      return 'https://github.com/opus1269/photo-screen-saver/';
    +    },
    +
    +    /**
    +     * Get our Github pages base path
    +     * @returns {string} path
    +     * @memberOf app.Utils
    +     */
    +    getGithubPagesPath: function() {
    +      return 'https://opus1269.github.io/photo-screen-saver/';
    +    },
    +  };
    +})();
    +
    +
    +
    + + + + + +
    +
    + +
    + + + +
    +
    + + + + + +
    + + + + DocStrap Copyright © 2012-2015 The contributors to the JSDoc3 and DocStrap projects. + + + + Documentation generated by JSDoc 3.4.3 + + on September 21st 2017, 10:46:43 am + + using the DocStrap template. + +
    + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/gen/scripts_screensaver_geo.js.html b/docs/gen/scripts_screensaver_geo.js.html index 0b8b265..00c50ad 100644 --- a/docs/gen/scripts_screensaver_geo.js.html +++ b/docs/gen/scripts_screensaver_geo.js.html @@ -33,7 +33,7 @@ @@ -149,8 +149,8 @@

    Source: scripts/screensaver/geo.js

    * Try to get (@link app.Geo.Location} from cache * @param {string} point - a geolocation * @param {string} location - description - * @memberOf app.Geo * @private + * @memberOf app.Geo */ function _addToCache(point, location) { _LOC_CACHE.entries.push({ @@ -163,6 +163,28 @@

    Source: scripts/screensaver/geo.js

    } } + /** + * Make sure point is in fixed point notation + * @param {string} point - 'lat lng' may have exponential notation + * @returns {string} 'lat,lng' fixed point notation + * @private + * @memberOf app.Geo + */ + function _cleanPoint(point) { + let ret = point; + try { + const stringArray = point.split(' '); + if (stringArray.length === 2) { + const lat = parseFloat(stringArray[0]).toFixed(8); + const lng = parseFloat(stringArray[1]).toFixed(8); + ret = `${lat},${lng}`; + } + } catch (ex) { + Chrome.Utils.noop(); + } + return ret; + } + return { /** * Get the location string @@ -177,16 +199,18 @@

    Source: scripts/screensaver/geo.js

    throw new Error('point is empty or null'); } + // replace any exponential notation + const pt = _cleanPoint(point); + // check cache - const cache = _getFromCache(point); + const cache = _getFromCache(pt); if (cache) { // retrieve from cache return Promise.resolve(cache.loc); } // get from api - it will translate based on the browser language - const url = `${_GEOCODE_API}?sensor=true` + - `&latlng=${point}`; + const url = `${_GEOCODE_API}?latlng=${pt}`; const conf = Chrome.JSONUtils.shallowCopy(Chrome.Http.conf); conf.maxRetries = 2; return Chrome.Http.doGet(url, conf).then((response) => { @@ -195,7 +219,7 @@

    Source: scripts/screensaver/geo.js

    && (response.results.length > 0)) { location = response.results[0].formatted_address; // cache it - _addToCache(point, location); + _addToCache(pt, location); } return Promise.resolve(location); }); @@ -247,7 +271,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_screensaver_screensaver.js.html b/docs/gen/scripts_screensaver_screensaver.js.html index 3f491fb..a670d50 100644 --- a/docs/gen/scripts_screensaver_screensaver.js.html +++ b/docs/gen/scripts_screensaver_screensaver.js.html @@ -33,7 +33,7 @@ @@ -181,7 +181,7 @@

    Source: scripts/screensaver/screensaver.js

    } return null; }).catch((err) => { - Chrome.GA.error(err.message, 'chromep.tabs.getZoom'); + Chrome.Log.error(err.message, 'chromep.tabs.getZoom'); }); } } @@ -309,7 +309,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_screensaver_ss_builder.js.html b/docs/gen/scripts_screensaver_ss_builder.js.html index 3dde1fc..5bd2510 100644 --- a/docs/gen/scripts_screensaver_ss_builder.js.html +++ b/docs/gen/scripts_screensaver_ss_builder.js.html @@ -33,7 +33,7 @@ @@ -184,7 +184,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_screensaver_ss_events.js.html b/docs/gen/scripts_screensaver_ss_events.js.html index 396aca7..034be6c 100644 --- a/docs/gen/scripts_screensaver_ss_events.js.html +++ b/docs/gen/scripts_screensaver_ss_events.js.html @@ -33,7 +33,7 @@ @@ -298,7 +298,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_screensaver_ss_history.js.html b/docs/gen/scripts_screensaver_ss_history.js.html index ad24421..b88147c 100644 --- a/docs/gen/scripts_screensaver_ss_history.js.html +++ b/docs/gen/scripts_screensaver_ss_history.js.html @@ -33,7 +33,7 @@ @@ -264,7 +264,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_screensaver_ss_photo.js.html b/docs/gen/scripts_screensaver_ss_photo.js.html index 4304ac3..cdf043f 100644 --- a/docs/gen/scripts_screensaver_ss_photo.js.html +++ b/docs/gen/scripts_screensaver_ss_photo.js.html @@ -33,7 +33,7 @@ @@ -279,7 +279,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_screensaver_ss_photo_finder.js.html b/docs/gen/scripts_screensaver_ss_photo_finder.js.html index 394f3c7..a45b120 100644 --- a/docs/gen/scripts_screensaver_ss_photo_finder.js.html +++ b/docs/gen/scripts_screensaver_ss_photo_finder.js.html @@ -33,7 +33,7 @@ @@ -214,7 +214,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_screensaver_ss_photos.js.html b/docs/gen/scripts_screensaver_ss_photos.js.html index db55cb2..7a76bdf 100644 --- a/docs/gen/scripts_screensaver_ss_photos.js.html +++ b/docs/gen/scripts_screensaver_ss_photos.js.html @@ -33,7 +33,7 @@ @@ -266,7 +266,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_screensaver_ss_runner.js.html b/docs/gen/scripts_screensaver_ss_runner.js.html index cf867cc..cc69cbb 100644 --- a/docs/gen/scripts_screensaver_ss_runner.js.html +++ b/docs/gen/scripts_screensaver_ss_runner.js.html @@ -33,7 +33,7 @@ @@ -391,7 +391,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_screensaver_ss_time.js.html b/docs/gen/scripts_screensaver_ss_time.js.html index d328a81..418c622 100644 --- a/docs/gen/scripts_screensaver_ss_time.js.html +++ b/docs/gen/scripts_screensaver_ss_time.js.html @@ -33,7 +33,7 @@ @@ -166,7 +166,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_screensaver_ss_views.js.html b/docs/gen/scripts_screensaver_ss_views.js.html index 0c72be0..9bdb06a 100644 --- a/docs/gen/scripts_screensaver_ss_views.js.html +++ b/docs/gen/scripts_screensaver_ss_views.js.html @@ -33,7 +33,7 @@ @@ -419,7 +419,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_screensaver_views_ss_view.js.html b/docs/gen/scripts_screensaver_views_ss_view.js.html index 1ac7cc1..82def11 100644 --- a/docs/gen/scripts_screensaver_views_ss_view.js.html +++ b/docs/gen/scripts_screensaver_views_ss_view.js.html @@ -33,7 +33,7 @@ @@ -147,7 +147,7 @@

    Source: scripts/screensaver/views/ss_view.js

    case app.SSViews.Type.FULL: return new app.SSViewFull(photo); default: - Chrome.GA.error(`Bad SSView type: ${sizing}`, 'SSView.createView'); + Chrome.Log.error(`Bad SSView type: ${sizing}`, 'SSView.createView'); return new app.SSViewLetterbox(photo); } } @@ -425,7 +425,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_screensaver_views_ss_view_frame.js.html b/docs/gen/scripts_screensaver_views_ss_view_frame.js.html index a8f385d..a755266 100644 --- a/docs/gen/scripts_screensaver_views_ss_view_frame.js.html +++ b/docs/gen/scripts_screensaver_views_ss_view_frame.js.html @@ -33,7 +33,7 @@ @@ -271,7 +271,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_screensaver_views_ss_view_full.js.html b/docs/gen/scripts_screensaver_views_ss_view_full.js.html index a4d454f..c9b5628 100644 --- a/docs/gen/scripts_screensaver_views_ss_view_full.js.html +++ b/docs/gen/scripts_screensaver_views_ss_view_full.js.html @@ -33,7 +33,7 @@ @@ -169,7 +169,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_screensaver_views_ss_view_letterbox.js.html b/docs/gen/scripts_screensaver_views_ss_view_letterbox.js.html index b182d75..d51fb88 100644 --- a/docs/gen/scripts_screensaver_views_ss_view_letterbox.js.html +++ b/docs/gen/scripts_screensaver_views_ss_view_letterbox.js.html @@ -33,7 +33,7 @@ @@ -217,7 +217,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_sources_photo_source.js.html b/docs/gen/scripts_sources_photo_source.js.html index e31afac..c2afb92 100644 --- a/docs/gen/scripts_sources_photo_source.js.html +++ b/docs/gen/scripts_sources_photo_source.js.html @@ -33,7 +33,7 @@ @@ -120,18 +120,23 @@

    Source: scripts/sources/photo_source.js

    * @param {string} useKey - The key for if the source is selected * @param {string} photosKey - The key for the collection of photos * @param {string} type - A descriptor of the photo source + * @param {string} desc - A human readable description of the source * @param {boolean} isDaily - Should the source be updated daily * @param {boolean} isArray - Is the source an Array of photo Arrays * @param {?Object} [loadArg=null] - optional arg for load function * @constructor */ - constructor(useKey, photosKey, type, isDaily, isArray, loadArg = null) { + constructor(useKey, photosKey, type, desc, isDaily, isArray, + loadArg = null) { this._useKey = useKey; this._photosKey = photosKey; this._type = type; + this._desc = desc; this._isDaily = isDaily; this._isArray = isArray; this._loadArg = loadArg; + + // set the user facing description } /** @@ -144,40 +149,53 @@

    Source: scripts/sources/photo_source.js

    switch (useKey) { case app.PhotoSources.UseKey.ALBUMS_GOOGLE: return new app.GoogleSource(useKey, 'albumSelections', 'Google User', + Chrome.Locale.localize('google_title_photos'), true, true, true); case app.PhotoSources.UseKey.PHOTOS_GOOGLE: // not implemented yet return new app.GoogleSource(useKey, 'googleImages', 'Google User', + 'NOT IMPLEMENTED', true, false, false); case app.PhotoSources.UseKey.CHROMECAST: return new app.CCSource(useKey, 'ccImages', 'Google', + Chrome.Locale.localize('setting_chromecast'), false, false, null); case app.PhotoSources.UseKey.ED_500: - return new app.Px500Source(useKey, 'editors500pxImages', - '500', true, false, 'editors'); + return new app.Px500Source(useKey, 'editors500pxImages', '500', + Chrome.Locale.localize('setting_500editors'), + true, false, 'editors'); case app.PhotoSources.UseKey.POP_500: - return new app.Px500Source(useKey, 'popular500pxImages', - '500', true, false, 'popular'); + return new app.Px500Source(useKey, 'popular500pxImages', '500', + Chrome.Locale.localize('setting_500popular'), + true, false, 'popular'); case app.PhotoSources.UseKey.YEST_500: - return new app.Px500Source(useKey, 'yesterday500pxImages', - '500', true, false, 'fresh_yesterday'); + return new app.Px500Source(useKey, 'yesterday500pxImages', '500', + Chrome.Locale.localize('setting_500yest'), + true, false, 'fresh_yesterday'); case app.PhotoSources.UseKey.INT_FLICKR: return new app.FlickrSource(useKey, 'flickrInterestingImages', - 'flickr', true, false, false); + 'flickr', + Chrome.Locale.localize('setting_flickr_int'), + true, false, false); case app.PhotoSources.UseKey.AUTHOR: return new app.FlickrSource(useKey, 'authorImages', 'flickr', + Chrome.Locale.localize('setting_mine'), false, false, true); case app.PhotoSources.UseKey.SPACE_RED: return new app.RedditSource(useKey, 'spaceRedditImages', 'reddit', + Chrome.Locale.localize('setting_reddit_space'), true, false, 'r/spaceporn/'); case app.PhotoSources.UseKey.EARTH_RED: return new app.RedditSource(useKey, 'earthRedditImages', 'reddit', + Chrome.Locale.localize('setting_reddit_earth'), true, false, 'r/EarthPorn/'); case app.PhotoSources.UseKey.ANIMAL_RED: return new app.RedditSource(useKey, 'animalRedditImages', 'reddit', + Chrome.Locale.localize('setting_reddit_animal'), true, false, 'r/animalporn/'); default: - Chrome.GA.error(`Bad PhotoSource type: ${useKey}`, + // TODO title + Chrome.Log.error(`Bad PhotoSource type: ${useKey}`, 'SSView.createView'); return null; } @@ -267,25 +285,6 @@

    Source: scripts/sources/photo_source.js

    return ret; } - /** - * Save the photos to localStorage in a safe manner - * @param {app.PhotoSource.Photo[]} photos - * - {@link app.PhotoSource.Photo} Array - * @returns {?string} non-null on error - * @private - */ - _savePhotos(photos) { - let ret = null; - const keyBool = this._useKey; - if (photos && photos.length) { - const set = Chrome.Storage.safeSet(this._photosKey, photos, keyBool); - if (!set) { - ret = 'Exceeded storage capacity.'; - } - } - return ret; - } - /** * Determine if this source has been selected for display * @returns {boolean} true if selected @@ -307,7 +306,9 @@

    Source: scripts/sources/photo_source.js

    } return Promise.resolve(); }).catch((err) => { - Chrome.GA.error(err.message, 'PhotoSource.process'); + let title = Chrome.Locale.localize('err_photo_source_title'); + title += `: ${this._desc}`; + Chrome.Log.error(err.message, 'PhotoSource.process', title); throw err; }); } else { @@ -315,6 +316,25 @@

    Source: scripts/sources/photo_source.js

    return Promise.resolve(); } } + + /** + * Save the photos to localStorage in a safe manner + * @param {app.PhotoSource.Photo[]} photos + * - {@link app.PhotoSource.Photo} Array + * @returns {?string} non-null on error + * @private + */ + _savePhotos(photos) { + let ret = null; + const keyBool = this._useKey; + if (photos && photos.length) { + const set = Chrome.Storage.safeSet(this._photosKey, photos, keyBool); + if (!set) { + ret = 'Exceeded storage capacity.'; + } + } + return ret; + } }; })(); @@ -362,7 +382,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_sources_photo_source_500px.js.html b/docs/gen/scripts_sources_photo_source_500px.js.html index 565e825..deec813 100644 --- a/docs/gen/scripts_sources_photo_source_500px.js.html +++ b/docs/gen/scripts_sources_photo_source_500px.js.html @@ -33,7 +33,7 @@ @@ -143,13 +143,15 @@

    Source: scripts/sources/photo_source_500px.js

    * @param {string} useKey - The key for if the source is selected * @param {string} photosKey - The key for the collection of photos * @param {string} type - A descriptor of the photo source + * @param {string} desc - A human readable description of the source * @param {boolean} isDaily - Should the source be updated daily * @param {boolean} isArray - Is the source an Array of photo Arrays * @param {?Object} [loadArg=null] - optional arg for load function * @constructor */ - constructor(useKey, photosKey, type, isDaily, isArray, loadArg = null) { - super(useKey, photosKey, type, isDaily, isArray, loadArg); + constructor(useKey, photosKey, type, desc, isDaily, isArray, + loadArg = null) { + super(useKey, photosKey, type, desc, isDaily, isArray, loadArg); } /** @@ -253,7 +255,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_sources_photo_source_chromecast.js.html b/docs/gen/scripts_sources_photo_source_chromecast.js.html index e918f1a..2cd13f1 100644 --- a/docs/gen/scripts_sources_photo_source_chromecast.js.html +++ b/docs/gen/scripts_sources_photo_source_chromecast.js.html @@ -33,7 +33,7 @@ @@ -100,13 +100,15 @@

    Source: scripts/sources/photo_source_chromecast.js

    * @param {string} useKey - The key for if the source is selected * @param {string} photosKey - The key for the collection of photos * @param {string} type - A descriptor of the photo source + * @param {string} desc - A human readable description of the source * @param {boolean} isDaily - Should the source be updated daily * @param {boolean} isArray - Is the source an Array of photo Arrays * @param {?Object} [loadArg=null] - optional arg for load function * @constructor */ - constructor(useKey, photosKey, type, isDaily, isArray, loadArg = null) { - super(useKey, photosKey, type, isDaily, isArray, loadArg); + constructor(useKey, photosKey, type, desc, isDaily, isArray, + loadArg = null) { + super(useKey, photosKey, type, desc, isDaily, isArray, loadArg); } /** @@ -170,7 +172,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_sources_photo_source_flickr.js.html b/docs/gen/scripts_sources_photo_source_flickr.js.html index c19d349..65749b9 100644 --- a/docs/gen/scripts_sources_photo_source_flickr.js.html +++ b/docs/gen/scripts_sources_photo_source_flickr.js.html @@ -33,7 +33,7 @@ @@ -129,13 +129,15 @@

    Source: scripts/sources/photo_source_flickr.js

    * @param {string} useKey - The key for if the source is selected * @param {string} photosKey - The key for the collection of photos * @param {string} type - A descriptor of the photo source + * @param {string} desc - A human readable description of the source * @param {boolean} isDaily - Should the source be updated daily * @param {boolean} isArray - Is the source an Array of photo Arrays * @param {?Object} [loadArg=null] - optional arg for load function * @constructor */ - constructor(useKey, photosKey, type, isDaily, isArray, loadArg = null) { - super(useKey, photosKey, type, isDaily, isArray, loadArg); + constructor(useKey, photosKey, type, desc, isDaily, isArray, + loadArg = null) { + super(useKey, photosKey, type, desc, isDaily, isArray, loadArg); } /** @@ -257,7 +259,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_sources_photo_source_google.js.html b/docs/gen/scripts_sources_photo_source_google.js.html index 3eaa168..03f07dd 100644 --- a/docs/gen/scripts_sources_photo_source_google.js.html +++ b/docs/gen/scripts_sources_photo_source_google.js.html @@ -33,7 +33,7 @@ @@ -156,13 +156,15 @@

    Source: scripts/sources/photo_source_google.js

    * @param {string} useKey - The key for if the source is selected * @param {string} photosKey - The key for the collection of photos * @param {string} type - A descriptor of the photo source + * @param {string} desc - A human readable description of the source * @param {boolean} isDaily - Should the source be updated daily * @param {boolean} isArray - Is the source an Array of photo Arrays * @param {?Object} [loadArg=null] - optional arg for load function * @constructor */ - constructor(useKey, photosKey, type, isDaily, isArray, loadArg = null) { - super(useKey, photosKey, type, isDaily, isArray, loadArg); + constructor(useKey, photosKey, type, desc, isDaily, isArray, + loadArg = null) { + super(useKey, photosKey, type, desc, isDaily, isArray, loadArg); } /** Determine if a Picasa entry is an image @@ -428,7 +430,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_sources_photo_source_reddit.js.html b/docs/gen/scripts_sources_photo_source_reddit.js.html index 197bcfe..e5b80d6 100644 --- a/docs/gen/scripts_sources_photo_source_reddit.js.html +++ b/docs/gen/scripts_sources_photo_source_reddit.js.html @@ -33,7 +33,7 @@ @@ -167,13 +167,15 @@

    Source: scripts/sources/photo_source_reddit.js

    * @param {string} useKey - The key for if the source is selected * @param {string} photosKey - The key for the collection of photos * @param {string} type - A descriptor of the photo source + * @param {string} desc - A human readable description of the source * @param {boolean} isDaily - Should the source be updated daily * @param {boolean} isArray - Is the source an Array of photo Arrays * @param {?Object} [loadArg=null] - optional arg for load function * @constructor */ - constructor(useKey, photosKey, type, isDaily, isArray, loadArg = null) { - super(useKey, photosKey, type, isDaily, isArray, loadArg); + constructor(useKey, photosKey, type, desc, isDaily, isArray, + loadArg = null) { + super(useKey, photosKey, type, desc, isDaily, isArray, loadArg); } /** @@ -321,7 +323,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template. diff --git a/docs/gen/scripts_sources_photo_sources.js.html b/docs/gen/scripts_sources_photo_sources.js.html index da5a314..42d941e 100644 --- a/docs/gen/scripts_sources_photo_sources.js.html +++ b/docs/gen/scripts_sources_photo_sources.js.html @@ -33,7 +33,7 @@ @@ -277,7 +277,7 @@ Documentation generated by JSDoc 3.4.3 - on September 11th 2017, 3:13:00 am + on September 21st 2017, 10:46:43 am using the DocStrap template.