deleted detector.js, it is integrated in uhr.js

This commit is contained in:
Manuel Friedli 2014-06-28 02:21:54 +02:00
parent 1a8e268a6a
commit a4a440c8f0

View file

@ -1,10 +0,0 @@
(function($) {
'use strict';
var uhrCSSs = $('link[rel=stylesheet][href^=uhr-]');
var matcher = /^(.*)uhr-(.+).css$/;
for (var i = 0; i < uhrCSSs.length; i++) {
var name = $(uhrCSSs[i]).attr('href');
var code = name.match(matcher)[2];
window._uhr.themes.push(code);
}
})(jQuery);