14 lines
361 B
JavaScript
14 lines
361 B
JavaScript
|
(function($) {
|
||
|
'use strict';
|
||
|
$(document).ready(function() {
|
||
|
console.log('detector');
|
||
|
var uhrCSSs = $('link[rel=stylesheet][href^=uhr-]');
|
||
|
for (var i = 0; i < uhrCSSs.length; i++) {
|
||
|
var name = $(uhrCSSs[i]).attr('href');
|
||
|
var matcher = /^(.*)uhr-(.+).css$/;
|
||
|
var code = name.match(matcher)[2];
|
||
|
console.log(name+": "+code);
|
||
|
}
|
||
|
});
|
||
|
})(jQuery);
|