update copyrights

This commit is contained in:
Anton Lavrenov 2017-02-24 09:36:23 -05:00
parent 4256332284
commit 4d8891fb74

View File

@ -5,7 +5,7 @@
* Date: @@date
*
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
* Modified work Copyright (C) 2014 - 2015 by Anton Lavrenov (Konva)
* Modified work Copyright (C) 2014 - 2017 by Anton Lavrenov (Konva)
*
* @license
* Permission is hereby granted, free of charge, to any person obtaining a copy
@ -197,11 +197,12 @@
var ua = userAgent.toLowerCase(),
// jQuery UA regex
match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
/(webkit)[ \/]([\w.]+)/.exec(ua) ||
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
/(msie) ([\w.]+)/.exec(ua) ||
(ua.indexOf('compatible') < 0 &&
/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua)) || [],
/(webkit)[ \/]([\w.]+)/.exec(ua) ||
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
/(msie) ([\w.]+)/.exec(ua) ||
ua.indexOf('compatible') < 0 &&
/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
[],
// adding mobile flag as well
mobile = !!userAgent.match(
/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i
@ -227,7 +228,7 @@
? window
: typeof WorkerGlobalScope !== 'undefined' ? self : {};
Konva.UA = Konva._parseUA((glob.navigator && glob.navigator.userAgent) || '');
Konva.UA = Konva._parseUA(glob.navigator && glob.navigator.userAgent || '');
if (glob.Konva) {
console.error(