mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-16 07:02:16 +03:00
Update script to latest v2.0.0.beta-3
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
$(document)
|
||||
.ready(function() {
|
||||
var labels = ['browser.name', 'os.version', 'device.type', 'cpu.arch', 'device.model', 'browser.version', 'device.vendor', 'engine.name', 'engine.version'];
|
||||
var labels = ['{ browser.name }', '{ os.version }', '{ device.type }', '{ cpu.arch }', '{ device.model }', '{ browser.version }', '{ device.vendor }', '{ engine.name }', '{ engine.version }'];
|
||||
var counter = 0;
|
||||
var rotateLabel = function () {
|
||||
$('h2 .label').transition('fly down', function () {
|
||||
$('.masthead h3 .label').transition('fly down', function () {
|
||||
$(this).text(labels[counter++]).transition('fade up', 100, function (){
|
||||
if(counter>=labels.length)counter=0;
|
||||
$(this).transition('jiggle');
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user