enzanki-website-template 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/footer.html +21 -21
- data/_includes/header.html +45 -45
- data/_includes/htmlheader.html +71 -68
- data/_includes/navbarlink.html +24 -24
- data/_includes/youtube-embed.html +4 -4
- data/_includes/ytblock.html +8 -8
- data/_layouts/category.html +33 -27
- data/_layouts/revealjs.html +67 -67
- data/_layouts/youtube-upload.html +11 -11
- data/assets/css/main.css +63 -63
- data/assets/js/live.js +237 -237
- data/assets/js/main.js +132 -132
- data/assets/js/rollbar.js +14 -14
- metadata +3 -3
data/assets/js/main.js
CHANGED
@@ -1,132 +1,132 @@
|
|
1
|
-
---
|
2
|
-
---
|
3
|
-
|
4
|
-
function loadSuccess() {
|
5
|
-
document.getElementById("blockedInfo").innerHTML = "<span class=\"label label-info\">"
|
6
|
-
+ "YouTube Access Check Succeeded.</span>";
|
7
|
-
var image_x = document.getElementById("blockedImage");
|
8
|
-
image_x.parentNode.removeChild(image_x);
|
9
|
-
ga("send", "event", "YouTube Success", "YouTube Load Success");
|
10
|
-
}
|
11
|
-
|
12
|
-
function loadError(site) {
|
13
|
-
document.getElementById("blockedInfo").innerHTML = "<div class=\"alert alert-danger\" role=\"alert\">"
|
14
|
-
+ "<strong>" + site + " Blocked: </strong>You seem to be accessing this website from a location where "
|
15
|
-
+ site + " is blocked. As part of this website uses items from " + site + ", "
|
16
|
-
+ "please contact your network administrator in order to view this website as intended.</div>";
|
17
|
-
var image_x = document.getElementById("blockedImage");
|
18
|
-
image_x.parentNode.removeChild(image_x);
|
19
|
-
ga("send", "event", "YouTube Error", "YouTube Load Error");
|
20
|
-
}
|
21
|
-
|
22
|
-
// Code below is modified from http://stackoverflow.com/a/38118591/6820516
|
23
|
-
|
24
|
-
function calcSpeed(speed) {
|
25
|
-
// Time = Distance/Speed
|
26
|
-
var spanSelector = document.querySelectorAll('.marquee p'),i;
|
27
|
-
for (i = 0; i < spanSelector.length; i++) {
|
28
|
-
var spanLength = spanSelector[i].offsetWidth;
|
29
|
-
var timeTaken = spanLength / speed;
|
30
|
-
spanSelector[i].style.animationDuration = timeTaken + "s";
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
// End modified code.
|
35
|
-
|
36
|
-
$(window).on("load", function() {
|
37
|
-
//Fix for header scroll http://stackoverflow.com/a/25887125/6820516
|
38
|
-
var elements = document.querySelectorAll('input,select,textarea');
|
39
|
-
var invalidListener = function(){ this.scrollIntoView(false); };
|
40
|
-
|
41
|
-
for(var i = elements.length; i--;)
|
42
|
-
elements[i].addEventListener('invalid', invalidListener);
|
43
|
-
|
44
|
-
$("time.timeago").timeago();
|
45
|
-
$.timeago.settings.allowFuture = true;
|
46
|
-
|
47
|
-
$("[data-toggle=\"tooltip\"]").tooltip();
|
48
|
-
calcSpeed(75);
|
49
|
-
});
|
50
|
-
|
51
|
-
// Code below is modified from http://codepen.io/ashblue/pen/mCtuA/
|
52
|
-
|
53
|
-
var $TABLE = $('#table');
|
54
|
-
|
55
|
-
$('.table-add').click(function () {
|
56
|
-
var $clone = $TABLE.find('tr.hide').clone(true).removeClass('hide table-line');
|
57
|
-
$TABLE.find('table').append($clone);
|
58
|
-
});
|
59
|
-
|
60
|
-
$('.table-remove').click(function () {
|
61
|
-
$(this).parents('tr').detach();
|
62
|
-
});
|
63
|
-
|
64
|
-
// A few jQuery helpers for exporting only
|
65
|
-
jQuery.fn.pop = [].pop;
|
66
|
-
jQuery.fn.shift = [].shift;
|
67
|
-
|
68
|
-
function dataexport() {
|
69
|
-
var $rows = $TABLE.find('tr:not(:hidden)');
|
70
|
-
var headers = [];
|
71
|
-
var data = "score:\n";
|
72
|
-
|
73
|
-
// Get the headers (add special header logic here)
|
74
|
-
$($rows.shift()).find('th:not(:empty)').each(function () {
|
75
|
-
headers.push($(this).text().toLowerCase());
|
76
|
-
});
|
77
|
-
|
78
|
-
// Turn all existing rows into a loopable array
|
79
|
-
$rows.each(function () {
|
80
|
-
var $td = $(this).find('td');
|
81
|
-
|
82
|
-
// Use the headers from earlier to name our hash keys
|
83
|
-
headers.forEach(function (header, i) {
|
84
|
-
if (header == "team") {
|
85
|
-
data += " - team: " + $td.eq(i).text() + "\n";
|
86
|
-
} else if (header == "points") {
|
87
|
-
data += " points: " + $td.eq(i).text() + "\n";
|
88
|
-
}
|
89
|
-
});
|
90
|
-
});
|
91
|
-
|
92
|
-
console.log(data);
|
93
|
-
|
94
|
-
// Output the result
|
95
|
-
if (data=="score:\n") {
|
96
|
-
return "";
|
97
|
-
} else {
|
98
|
-
return data;
|
99
|
-
}
|
100
|
-
};
|
101
|
-
|
102
|
-
|
103
|
-
// End code modified from http://codepen.io/ashblue/pen/mCtuA/
|
104
|
-
|
105
|
-
function submit(type, values) {
|
106
|
-
var filename = encodeURIComponent("_" + type + "s/"
|
107
|
-
+ moment(document.getElementById("date").value).format("YYYY-MM-DD")
|
108
|
-
+ "-" + getSlug(document.getElementById("title").value) + ".md");
|
109
|
-
|
110
|
-
var content = "---\nenabled: true\n";
|
111
|
-
$.each(values, function( index, value ) {
|
112
|
-
if (value == "date") {
|
113
|
-
content += value + ": " + moment(document.getElementById("date").value)
|
114
|
-
.format("YYYY-MM-DD hh:MM A") + "\n";
|
115
|
-
} else if (value == "score") {
|
116
|
-
content += dataexport();
|
117
|
-
} else if (document.getElementById(value).value) {
|
118
|
-
content += value + ": " + document.getElementById(value).value + "\n";
|
119
|
-
}
|
120
|
-
});
|
121
|
-
content += "---\n"
|
122
|
-
|
123
|
-
content = encodeURIComponent(content);
|
124
|
-
|
125
|
-
message = encodeURIComponent("[New " + type + "] "
|
126
|
-
+ moment(document.getElementById("date").value).format("YYYY-MM-DD")
|
127
|
-
+ "-" + document.getElementById("title").value);
|
128
|
-
description = encodeURIComponent("Submitted via " + window.location.href);
|
129
|
-
window.location.href = "{{ site.github.repository_url }}/new/master?filename=" + filename
|
130
|
-
+ "&value=" + content + "&message=" + message
|
131
|
-
+ "&description=" + description;
|
132
|
-
}
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
function loadSuccess() {
|
5
|
+
document.getElementById("blockedInfo").innerHTML = "<span class=\"label label-info\">"
|
6
|
+
+ "YouTube Access Check Succeeded.</span>";
|
7
|
+
var image_x = document.getElementById("blockedImage");
|
8
|
+
image_x.parentNode.removeChild(image_x);
|
9
|
+
ga("send", "event", "YouTube Success", "YouTube Load Success");
|
10
|
+
}
|
11
|
+
|
12
|
+
function loadError(site) {
|
13
|
+
document.getElementById("blockedInfo").innerHTML = "<div class=\"alert alert-danger\" role=\"alert\">"
|
14
|
+
+ "<strong>" + site + " Blocked: </strong>You seem to be accessing this website from a location where "
|
15
|
+
+ site + " is blocked. As part of this website uses items from " + site + ", "
|
16
|
+
+ "please contact your network administrator in order to view this website as intended.</div>";
|
17
|
+
var image_x = document.getElementById("blockedImage");
|
18
|
+
image_x.parentNode.removeChild(image_x);
|
19
|
+
ga("send", "event", "YouTube Error", "YouTube Load Error");
|
20
|
+
}
|
21
|
+
|
22
|
+
// Code below is modified from http://stackoverflow.com/a/38118591/6820516
|
23
|
+
|
24
|
+
function calcSpeed(speed) {
|
25
|
+
// Time = Distance/Speed
|
26
|
+
var spanSelector = document.querySelectorAll('.marquee p'),i;
|
27
|
+
for (i = 0; i < spanSelector.length; i++) {
|
28
|
+
var spanLength = spanSelector[i].offsetWidth;
|
29
|
+
var timeTaken = spanLength / speed;
|
30
|
+
spanSelector[i].style.animationDuration = timeTaken + "s";
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
// End modified code.
|
35
|
+
|
36
|
+
$(window).on("load", function() {
|
37
|
+
//Fix for header scroll http://stackoverflow.com/a/25887125/6820516
|
38
|
+
var elements = document.querySelectorAll('input,select,textarea');
|
39
|
+
var invalidListener = function(){ this.scrollIntoView(false); };
|
40
|
+
|
41
|
+
for(var i = elements.length; i--;)
|
42
|
+
elements[i].addEventListener('invalid', invalidListener);
|
43
|
+
|
44
|
+
$("time.timeago").timeago();
|
45
|
+
$.timeago.settings.allowFuture = true;
|
46
|
+
|
47
|
+
$("[data-toggle=\"tooltip\"]").tooltip();
|
48
|
+
calcSpeed(75);
|
49
|
+
});
|
50
|
+
|
51
|
+
// Code below is modified from http://codepen.io/ashblue/pen/mCtuA/
|
52
|
+
|
53
|
+
var $TABLE = $('#table');
|
54
|
+
|
55
|
+
$('.table-add').click(function () {
|
56
|
+
var $clone = $TABLE.find('tr.hide').clone(true).removeClass('hide table-line');
|
57
|
+
$TABLE.find('table').append($clone);
|
58
|
+
});
|
59
|
+
|
60
|
+
$('.table-remove').click(function () {
|
61
|
+
$(this).parents('tr').detach();
|
62
|
+
});
|
63
|
+
|
64
|
+
// A few jQuery helpers for exporting only
|
65
|
+
jQuery.fn.pop = [].pop;
|
66
|
+
jQuery.fn.shift = [].shift;
|
67
|
+
|
68
|
+
function dataexport() {
|
69
|
+
var $rows = $TABLE.find('tr:not(:hidden)');
|
70
|
+
var headers = [];
|
71
|
+
var data = "score:\n";
|
72
|
+
|
73
|
+
// Get the headers (add special header logic here)
|
74
|
+
$($rows.shift()).find('th:not(:empty)').each(function () {
|
75
|
+
headers.push($(this).text().toLowerCase());
|
76
|
+
});
|
77
|
+
|
78
|
+
// Turn all existing rows into a loopable array
|
79
|
+
$rows.each(function () {
|
80
|
+
var $td = $(this).find('td');
|
81
|
+
|
82
|
+
// Use the headers from earlier to name our hash keys
|
83
|
+
headers.forEach(function (header, i) {
|
84
|
+
if (header == "team") {
|
85
|
+
data += " - team: " + $td.eq(i).text() + "\n";
|
86
|
+
} else if (header == "points") {
|
87
|
+
data += " points: " + $td.eq(i).text() + "\n";
|
88
|
+
}
|
89
|
+
});
|
90
|
+
});
|
91
|
+
|
92
|
+
console.log(data);
|
93
|
+
|
94
|
+
// Output the result
|
95
|
+
if (data=="score:\n") {
|
96
|
+
return "";
|
97
|
+
} else {
|
98
|
+
return data;
|
99
|
+
}
|
100
|
+
};
|
101
|
+
|
102
|
+
|
103
|
+
// End code modified from http://codepen.io/ashblue/pen/mCtuA/
|
104
|
+
|
105
|
+
function submit(type, values) {
|
106
|
+
var filename = encodeURIComponent("_" + type + "s/"
|
107
|
+
+ moment(document.getElementById("date").value).format("YYYY-MM-DD")
|
108
|
+
+ "-" + getSlug(document.getElementById("title").value) + ".md");
|
109
|
+
|
110
|
+
var content = "---\nenabled: true\n";
|
111
|
+
$.each(values, function( index, value ) {
|
112
|
+
if (value == "date") {
|
113
|
+
content += value + ": " + moment(document.getElementById("date").value)
|
114
|
+
.format("YYYY-MM-DD hh:MM A") + "\n";
|
115
|
+
} else if (value == "score") {
|
116
|
+
content += dataexport();
|
117
|
+
} else if (document.getElementById(value).value) {
|
118
|
+
content += value + ": " + document.getElementById(value).value + "\n";
|
119
|
+
}
|
120
|
+
});
|
121
|
+
content += "---\n"
|
122
|
+
|
123
|
+
content = encodeURIComponent(content);
|
124
|
+
|
125
|
+
message = encodeURIComponent("[New " + type + "] "
|
126
|
+
+ moment(document.getElementById("date").value).format("YYYY-MM-DD")
|
127
|
+
+ "-" + document.getElementById("title").value);
|
128
|
+
description = encodeURIComponent("Submitted via " + window.location.href);
|
129
|
+
window.location.href = "{{ site.github.repository_url }}/new/master?filename=" + filename
|
130
|
+
+ "&value=" + content + "&message=" + message
|
131
|
+
+ "&description=" + description;
|
132
|
+
}
|
data/assets/js/rollbar.js
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
---
|
2
|
-
---
|
3
|
-
|
4
|
-
var _rollbarConfig = {
|
5
|
-
accessToken: "{{ site.data.debug.rollbar }}",
|
6
|
-
captureUncaught: true,
|
7
|
-
captureUnhandledRejections: true,
|
8
|
-
payload: {
|
9
|
-
environment: "{{ jekyll.environment }}"
|
10
|
-
}
|
11
|
-
};
|
12
|
-
// Rollbar Snippet
|
13
|
-
!function(r){function e(t){if(o[t])return o[t].exports;var n=o[t]={exports:{},id:t,loaded:!1};return r[t].call(n.exports,n,n.exports,e),n.loaded=!0,n.exports}var o={};return e.m=r,e.c=o,e.p="",e(0)}([function(r,e,o){"use strict";var t=o(1).Rollbar,n=o(2);_rollbarConfig.rollbarJsUrl=_rollbarConfig.rollbarJsUrl||"https://d37gvrvc0wt4s1.cloudfront.net/js/v1.9/rollbar.min.js";var a=t.init(window,_rollbarConfig),i=n(a,_rollbarConfig);a.loadFull(window,document,!_rollbarConfig.async,_rollbarConfig,i)},function(r,e){"use strict";function o(r){return function(){try{return r.apply(this,arguments)}catch(e){try{console.error("[Rollbar]: Internal error",e)}catch(o){}}}}function t(r,e,o){window._rollbarWrappedError&&(o[4]||(o[4]=window._rollbarWrappedError),o[5]||(o[5]=window._rollbarWrappedError._rollbarContext),window._rollbarWrappedError=null),r.uncaughtError.apply(r,o),e&&e.apply(window,o)}function n(r){var e=function(){var e=Array.prototype.slice.call(arguments,0);t(r,r._rollbarOldOnError,e)};return e.belongsToShim=!0,e}function a(r){this.shimId=++c,this.notifier=null,this.parentShim=r,this._rollbarOldOnError=null}function i(r){var e=a;return o(function(){if(this.notifier)return this.notifier[r].apply(this.notifier,arguments);var o=this,t="scope"===r;t&&(o=new e(this));var n=Array.prototype.slice.call(arguments,0),a={shim:o,method:r,args:n,ts:new Date};return window._rollbarShimQueue.push(a),t?o:void 0})}function l(r,e){if(e.hasOwnProperty&&e.hasOwnProperty("addEventListener")){var o=e.addEventListener;e.addEventListener=function(e,t,n){o.call(this,e,r.wrap(t),n)};var t=e.removeEventListener;e.removeEventListener=function(r,e,o){t.call(this,r,e&&e._wrapped?e._wrapped:e,o)}}}var c=0;a.init=function(r,e){var t=e.globalAlias||"Rollbar";if("object"==typeof r[t])return r[t];r._rollbarShimQueue=[],r._rollbarWrappedError=null,e=e||{};var i=new a;return o(function(){if(i.configure(e),e.captureUncaught){i._rollbarOldOnError=r.onerror,r.onerror=n(i);var o,a,c="EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");for(o=0;o<c.length;++o)a=c[o],r[a]&&r[a].prototype&&l(i,r[a].prototype)}return e.captureUnhandledRejections&&(i._unhandledRejectionHandler=function(r){var e=r.reason,o=r.promise,t=r.detail;!e&&t&&(e=t.reason,o=t.promise),i.unhandledRejection(e,o)},r.addEventListener("unhandledrejection",i._unhandledRejectionHandler)),r[t]=i,i})()},a.prototype.loadFull=function(r,e,t,n,a){var i=function(){var e;if(void 0===r._rollbarPayloadQueue){var o,t,n,i;for(e=new Error("rollbar.js did not load");o=r._rollbarShimQueue.shift();)for(n=o.args,i=0;i<n.length;++i)if(t=n[i],"function"==typeof t){t(e);break}}"function"==typeof a&&a(e)},l=!1,c=e.createElement("script"),d=e.getElementsByTagName("script")[0],p=d.parentNode;c.crossOrigin="",c.src=n.rollbarJsUrl,c.async=!t,c.onload=c.onreadystatechange=o(function(){if(!(l||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState)){c.onload=c.onreadystatechange=null;try{p.removeChild(c)}catch(r){}l=!0,i()}}),p.insertBefore(c,d)},a.prototype.wrap=function(r,e){try{var o;if(o="function"==typeof e?e:function(){return e||{}},"function"!=typeof r)return r;if(r._isWrap)return r;if(!r._wrapped){r._wrapped=function(){try{return r.apply(this,arguments)}catch(e){throw e._rollbarContext=o()||{},e._rollbarContext._wrappedSource=r.toString(),window._rollbarWrappedError=e,e}},r._wrapped._isWrap=!0;for(var t in r)r.hasOwnProperty(t)&&(r._wrapped[t]=r[t])}return r._wrapped}catch(n){return r}};for(var d="log,debug,info,warn,warning,error,critical,global,configure,scope,uncaughtError,unhandledRejection".split(","),p=0;p<d.length;++p)a.prototype[d[p]]=i(d[p]);r.exports={Rollbar:a,_rollbarWindowOnError:t}},function(r,e){"use strict";r.exports=function(r,e){return function(o){if(!o&&!window._rollbarInitialized){var t=window.RollbarNotifier,n=e||{},a=n.globalAlias||"Rollbar",i=window.Rollbar.init(n,r);i._processShimQueue(window._rollbarShimQueue||[]),window[a]=i,window._rollbarInitialized=!0,t.processPayloads()}}}}]);
|
14
|
-
// End Rollbar Snippet
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
var _rollbarConfig = {
|
5
|
+
accessToken: "{{ site.data.debug.rollbar }}",
|
6
|
+
captureUncaught: true,
|
7
|
+
captureUnhandledRejections: true,
|
8
|
+
payload: {
|
9
|
+
environment: "{{ jekyll.environment }}"
|
10
|
+
}
|
11
|
+
};
|
12
|
+
// Rollbar Snippet
|
13
|
+
!function(r){function e(t){if(o[t])return o[t].exports;var n=o[t]={exports:{},id:t,loaded:!1};return r[t].call(n.exports,n,n.exports,e),n.loaded=!0,n.exports}var o={};return e.m=r,e.c=o,e.p="",e(0)}([function(r,e,o){"use strict";var t=o(1).Rollbar,n=o(2);_rollbarConfig.rollbarJsUrl=_rollbarConfig.rollbarJsUrl||"https://d37gvrvc0wt4s1.cloudfront.net/js/v1.9/rollbar.min.js";var a=t.init(window,_rollbarConfig),i=n(a,_rollbarConfig);a.loadFull(window,document,!_rollbarConfig.async,_rollbarConfig,i)},function(r,e){"use strict";function o(r){return function(){try{return r.apply(this,arguments)}catch(e){try{console.error("[Rollbar]: Internal error",e)}catch(o){}}}}function t(r,e,o){window._rollbarWrappedError&&(o[4]||(o[4]=window._rollbarWrappedError),o[5]||(o[5]=window._rollbarWrappedError._rollbarContext),window._rollbarWrappedError=null),r.uncaughtError.apply(r,o),e&&e.apply(window,o)}function n(r){var e=function(){var e=Array.prototype.slice.call(arguments,0);t(r,r._rollbarOldOnError,e)};return e.belongsToShim=!0,e}function a(r){this.shimId=++c,this.notifier=null,this.parentShim=r,this._rollbarOldOnError=null}function i(r){var e=a;return o(function(){if(this.notifier)return this.notifier[r].apply(this.notifier,arguments);var o=this,t="scope"===r;t&&(o=new e(this));var n=Array.prototype.slice.call(arguments,0),a={shim:o,method:r,args:n,ts:new Date};return window._rollbarShimQueue.push(a),t?o:void 0})}function l(r,e){if(e.hasOwnProperty&&e.hasOwnProperty("addEventListener")){var o=e.addEventListener;e.addEventListener=function(e,t,n){o.call(this,e,r.wrap(t),n)};var t=e.removeEventListener;e.removeEventListener=function(r,e,o){t.call(this,r,e&&e._wrapped?e._wrapped:e,o)}}}var c=0;a.init=function(r,e){var t=e.globalAlias||"Rollbar";if("object"==typeof r[t])return r[t];r._rollbarShimQueue=[],r._rollbarWrappedError=null,e=e||{};var i=new a;return o(function(){if(i.configure(e),e.captureUncaught){i._rollbarOldOnError=r.onerror,r.onerror=n(i);var o,a,c="EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");for(o=0;o<c.length;++o)a=c[o],r[a]&&r[a].prototype&&l(i,r[a].prototype)}return e.captureUnhandledRejections&&(i._unhandledRejectionHandler=function(r){var e=r.reason,o=r.promise,t=r.detail;!e&&t&&(e=t.reason,o=t.promise),i.unhandledRejection(e,o)},r.addEventListener("unhandledrejection",i._unhandledRejectionHandler)),r[t]=i,i})()},a.prototype.loadFull=function(r,e,t,n,a){var i=function(){var e;if(void 0===r._rollbarPayloadQueue){var o,t,n,i;for(e=new Error("rollbar.js did not load");o=r._rollbarShimQueue.shift();)for(n=o.args,i=0;i<n.length;++i)if(t=n[i],"function"==typeof t){t(e);break}}"function"==typeof a&&a(e)},l=!1,c=e.createElement("script"),d=e.getElementsByTagName("script")[0],p=d.parentNode;c.crossOrigin="",c.src=n.rollbarJsUrl,c.async=!t,c.onload=c.onreadystatechange=o(function(){if(!(l||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState)){c.onload=c.onreadystatechange=null;try{p.removeChild(c)}catch(r){}l=!0,i()}}),p.insertBefore(c,d)},a.prototype.wrap=function(r,e){try{var o;if(o="function"==typeof e?e:function(){return e||{}},"function"!=typeof r)return r;if(r._isWrap)return r;if(!r._wrapped){r._wrapped=function(){try{return r.apply(this,arguments)}catch(e){throw e._rollbarContext=o()||{},e._rollbarContext._wrappedSource=r.toString(),window._rollbarWrappedError=e,e}},r._wrapped._isWrap=!0;for(var t in r)r.hasOwnProperty(t)&&(r._wrapped[t]=r[t])}return r._wrapped}catch(n){return r}};for(var d="log,debug,info,warn,warning,error,critical,global,configure,scope,uncaughtError,unhandledRejection".split(","),p=0;p<d.length;++p)a.prototype[d[p]]=i(d[p]);r.exports={Rollbar:a,_rollbarWindowOnError:t}},function(r,e){"use strict";r.exports=function(r,e){return function(o){if(!o&&!window._rollbarInitialized){var t=window.RollbarNotifier,n=e||{},a=n.globalAlias||"Rollbar",i=window.Rollbar.init(n,r);i._processShimQueue(window._rollbarShimQueue||[]),window[a]=i,window._rollbarInitialized=!0,t.processPayloads()}}}}]);
|
14
|
+
// End Rollbar Snippet
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enzanki-website-template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Shafer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-pages
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
105
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.
|
106
|
+
rubygems_version: 2.6.14
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: enzanki_ars's template for websites.
|