diff --git a/core/files.js b/core/files.js index d0f77ee1..55cc1ece 100644 --- a/core/files.js +++ b/core/files.js @@ -171,6 +171,10 @@ var files = { // page.js 'resources/page.js/1.7.1/page.min.jsm': true, + // Raven.js + 'resources/raven.js/3.26.2/raven.min.jsm': true, + 'resources/raven.js/3.26.2/plugins/angular.min.jsm': true, + // rickshaw 'resources/rickshaw/1.6.6/rickshaw.min.jsm': true, 'resources/rickshaw/1.6.6/rickshaw.min.css': true, diff --git a/core/mappings.js b/core/mappings.js index f651bd4a..1f79c0c8 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -105,6 +105,8 @@ var mappings = { 'oclazyload/{version}/ocLazyLoad.': resources.ocLazyLoad, 'page.js/{version}/page.min.': resources.pageJs, 'plyr/{version}/plyr.css': resources.plyrCSS, + 'raven.js/{version}/raven.min.js': resources.ravenJS, + 'raven.js/{version}/plugins/angular.min.js': resources.ravenPluginAngularJS, 'rickshaw/{version}/rickshaw.min.css': resources.rickshawCSS, 'rickshaw/{version}/rickshaw.min.js': resources.rickshawJS, 'scriptaculous/{version}/scriptaculous.': resources.scriptaculous, diff --git a/core/resources.js b/core/resources.js index fa37bd8b..b7db9203 100644 --- a/core/resources.js +++ b/core/resources.js @@ -245,6 +245,15 @@ var resources = { 'path': 'resources/prototype/{version}/prototype.jsm', 'type': 'application/javascript' }, + // Raven.js + 'ravenJS': { + 'path': 'resources/raven/{version}/raven.min.jsm', + 'type': 'application/javascript' + }, + 'ravenPluginAngularJS': { + 'path': 'resources/raven.js/{version}/plugins/angular.min.jsm', + 'type': 'application/javascript' + }, // rickshaw 'rickshawJS': { 'path': 'resources/rickshaw/{version}/rickshaw.min.jsm', diff --git a/modules/internal/helpers.js b/modules/internal/helpers.js index 38b89afb..056028af 100644 --- a/modules/internal/helpers.js +++ b/modules/internal/helpers.js @@ -297,6 +297,8 @@ helpers.determineResourceName = function (filename) { return 'plyr CSS'; case 'prototype.jsm': return 'Prototype'; + case 'raven.min.jsm': + return 'Raven.js'; case 'rocket-loader.min.jsm': return 'Rocket Loader'; case 'rickshaw.min.jsm': @@ -490,6 +492,8 @@ helpers.setLastVersion = function (type, version) { version = '3.5.10'; } else if (type.includes('/prototype/1.')) { version = '1.7.3.0'; + } else if (type.includes('/raven.js/3.')) { + version = '3.26.2'; } else if (type.includes('/rickshaw/1.')) { version = '1.6.6'; } else if (type.includes('/scriptaculous/1.')) { diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 216f729b..2c7f1076 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -32,6 +32,7 @@
eval")>-1;r&&(b=k.exec(c[3]))?(c[3]=b[1],c[4]=b[2],c[5]=null):0!==o||c[5]||"undefined"==typeof a.columnNumber||(n[0].column=a.columnNumber+1),f={url:c[3],func:c[1]||j,args:c[2]?c[2].split(","):[],line:c[4]?+c[4]:null,column:c[5]?+c[5]:null}}if(!f.func&&f.line&&(f.func=j),f.url&&"blob:"===f.url.substr(0,5)){var s=new XMLHttpRequest;if(s.open("GET",f.url,!1),s.send(null),200===s.status){var t=s.responseText||"";t=t.slice(-300);var u=t.match(/\/\/# sourceMappingURL=(.*)$/);if(u){var v=u[1];"~"===v.charAt(0)&&(v=e()+v.slice(1)),f.url=v.slice(0,-4)}}}n.push(f)}return n.length?{name:a.name,message:a.message,url:d(),stack:n}:null}}function b(a,b,c,d){var e={url:b,line:c};if(e.url&&e.line){if(a.incomplete=!1,e.func||(e.func=j),a.stack.length>0&&a.stack[0].url===e.url){if(a.stack[0].line===e.line)return!1;if(!a.stack[0].line&&a.stack[0].func===e.func)return a.stack[0].line=e.line,!1}return a.stack.unshift(e),a.partial=!0,!0}return a.incomplete=!0,!1}function c(a,e){for(var h,i,k=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,l=[],m={},n=!1,o=c.caller;o&&!n;o=o.caller)if(o!==f&&o!==g.report){
+if(i={url:null,func:j,line:null,column:null},o.name?i.func=o.name:(h=k.exec(o.toString()))&&(i.func=h[1]),"undefined"==typeof i.func)try{i.func=h.input.substring(0,h.input.indexOf("{"))}catch(p){}m[""+o]?n=!0:m[""+o]=!0,l.push(i)}e&&l.splice(0,e);var q={name:a.name,message:a.message,url:d(),stack:l};return b(q,a.sourceURL||a.fileName,a.line||a.lineNumber,a.message||a.description),q}function f(b,e){var f=null;e=null==e?0:+e;try{if(f=a(b))return f}catch(h){if(g.debug)throw h}try{if(f=c(b,e+1))return f}catch(h){if(g.debug)throw h}return{name:b.name,message:b.message,url:d()}}return f.augmentStackTraceWithInitialElement=b,f.computeStackTraceFromStackProp=a,f}(),b.exports=g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{5:5}],7:[function(a,b,c){function d(a,b){for(var c=0;c