From 69ed241d1c4616f480e0be6edb672dee12185443 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Thu, 1 Feb 2018 10:46:41 -0800 Subject: [PATCH] deleted unnecessary handlebars js and partials --- public/assets/img/loading.gif | Bin 9172 -> 0 bytes public/assets/js/generalFunctions.js | 56 -------- public/assets/js/progressBarConstructor.js | 0 views/partials/assetInfo.handlebars | 134 ------------------ views/partials/channelCreationForm.handlebars | 39 ----- views/partials/channelLoginForm.handlebars | 28 ---- views/partials/contentListItem.handlebars | 15 -- views/partials/gridItem.handlebars | 11 -- views/partials/navBar.handlebars | 68 --------- 9 files changed, 351 deletions(-) delete mode 100644 public/assets/img/loading.gif delete mode 100644 public/assets/js/generalFunctions.js delete mode 100644 public/assets/js/progressBarConstructor.js delete mode 100644 views/partials/assetInfo.handlebars delete mode 100644 views/partials/channelCreationForm.handlebars delete mode 100644 views/partials/channelLoginForm.handlebars delete mode 100644 views/partials/contentListItem.handlebars delete mode 100644 views/partials/gridItem.handlebars delete mode 100644 views/partials/navBar.handlebars diff --git a/public/assets/img/loading.gif b/public/assets/img/loading.gif deleted file mode 100644 index a9648d12275ee8c4b3603a6f6cfd4c282c994584..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9172 zcmeI1eLU0q-^ahZu?-tD%uS>1>n1vjjS-?YhLH*>H%DbyaS}7q(5W#u!`y{XPK^q6 z>ZH39=i}na6#@~!-E=@xQ?tLnUrS4CXlQ6+V&dJqcYpo$mr|*G{`~pCz`%wL8~*(B zPZSFE;>C+=*RDN#_KZLvynp|G`t<1-4Cd|Ix3_NHYH4XPFfh>8)_(Np(eUu__3PI& zGc#RWT*AV_e*5jWKmPdR)TvWFJv~N7M!R(+_I;wx9KWMpI%78d5@ zr(WSX*1O*=#E-tNr`; z8yXrOJ$jVEUP4-XG>bMxZj;;O2u+qZAGwzh8GyxGCQAv849%*?E>ukYc*hg2$c z+O%mP2>$fbPbDQKU0q#|A3v5#rFwdL1qB7ArKQ!?)v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^SuLc+U4pSgy&G`>uBIgSL diff --git a/public/assets/js/generalFunctions.js b/public/assets/js/generalFunctions.js deleted file mode 100644 index 74497983..00000000 --- a/public/assets/js/generalFunctions.js +++ /dev/null @@ -1,56 +0,0 @@ -// Create new error objects, that prototypically inherit from the Error constructor -function FileError(message) { - this.name = 'FileError'; - this.message = message || 'Default Message'; - this.stack = (new Error()).stack; -} -FileError.prototype = Object.create(Error.prototype); -FileError.prototype.constructor = FileError; - -function NameError(message) { - this.name = 'NameError'; - this.message = message || 'Default Message'; - this.stack = (new Error()).stack; -} -NameError.prototype = Object.create(Error.prototype); -NameError.prototype.constructor = NameError; - -function ChannelNameError(message) { - this.name = 'ChannelNameError'; - this.message = message || 'Default Message'; - this.stack = (new Error()).stack; -} -ChannelNameError.prototype = Object.create(Error.prototype); -ChannelNameError.prototype.constructor = ChannelNameError; - -function ChannelPasswordError(message) { - this.name = 'ChannelPasswordError'; - this.message = message || 'Default Message'; - this.stack = (new Error()).stack; -} -ChannelPasswordError.prototype = Object.create(Error.prototype); -ChannelPasswordError.prototype.constructor = ChannelPasswordError; - -function AuthenticationError(message) { - this.name = 'AuthenticationError'; - this.message = message || 'Default Message'; - this.stack = (new Error()).stack; -} -AuthenticationError.prototype = Object.create(Error.prototype); -AuthenticationError.prototype.constructor = AuthenticationError; - -function showAssetDetails(event) { - var thisAssetHolder = document.getElementById(event.target.id); - var thisAssetImage = thisAssetHolder.firstElementChild; - var thisAssetDetails = thisAssetHolder.lastElementChild; - thisAssetImage.style.opacity = 0.2; - thisAssetDetails.setAttribute('class', 'grid-item-details flex-container--column flex-container--center-center'); -} - -function hideAssetDetails(event) { - var thisAssetHolder = document.getElementById(event.target.id); - var thisAssetImage = thisAssetHolder.firstElementChild; - var thisAssetDetails = thisAssetHolder.lastElementChild; - thisAssetImage.style.opacity = 1; - thisAssetDetails.setAttribute('class', 'hidden'); -} diff --git a/public/assets/js/progressBarConstructor.js b/public/assets/js/progressBarConstructor.js deleted file mode 100644 index e69de29b..00000000 diff --git a/views/partials/assetInfo.handlebars b/views/partials/assetInfo.handlebars deleted file mode 100644 index 0ecd3644..00000000 --- a/views/partials/assetInfo.handlebars +++ /dev/null @@ -1,134 +0,0 @@ -{{#if claimInfo.channelName}} -
-
- Channel: -
-
-{{/if}} - -{{#if claimInfo.description}} -
- {{claimInfo.description}} -
-{{/if}} - -
- -
-
- Embed: -
-
-
- - {{#ifConditional claimInfo.contentType '===' 'video/mp4'}} - - {{else}} - - {{/ifConditional}} -
- -
-
-
-
-
- -
-
-
- Share: -
- -
-
-
- - - - - -
- [more] -
- - diff --git a/views/partials/channelCreationForm.handlebars b/views/partials/channelCreationForm.handlebars deleted file mode 100644 index 1b28db91..00000000 --- a/views/partials/channelCreationForm.handlebars +++ /dev/null @@ -1,39 +0,0 @@ -
-

-
-
- -
-
- @ - - -
-
-
-
-
- -
-
- -
-
-
- -
- -
-
- - - - - - - diff --git a/views/partials/channelLoginForm.handlebars b/views/partials/channelLoginForm.handlebars deleted file mode 100644 index c4c0217f..00000000 --- a/views/partials/channelLoginForm.handlebars +++ /dev/null @@ -1,28 +0,0 @@ -
-

-
-
- -
-
- @ - -
-
-
-
-
- -
-
- -
-
-
- -
- -
-
- - diff --git a/views/partials/contentListItem.handlebars b/views/partials/contentListItem.handlebars deleted file mode 100644 index 378153fe..00000000 --- a/views/partials/contentListItem.handlebars +++ /dev/null @@ -1,15 +0,0 @@ - - diff --git a/views/partials/gridItem.handlebars b/views/partials/gridItem.handlebars deleted file mode 100644 index 45bd7bcd..00000000 --- a/views/partials/gridItem.handlebars +++ /dev/null @@ -1,11 +0,0 @@ -
- {{#ifConditional this.contentType '===' 'video/mp4'}} - - {{else}} - - {{/ifConditional}} - - -
diff --git a/views/partials/navBar.handlebars b/views/partials/navBar.handlebars deleted file mode 100644 index 8460ee4a..00000000 --- a/views/partials/navBar.handlebars +++ /dev/null @@ -1,68 +0,0 @@ - - -