|
1 | 1 |
|
2 | | -/* Smart HTML Elements v5.1.0 (2019-Dec) |
3 | | -Copyright (c) 2011-2019 jQWidgets. |
| 2 | +/* Smart HTML Elements v6.0.0 (2020-Jan) |
| 3 | +Copyright (c) 2011-2020 jQWidgets. |
4 | 4 | License: https://htmlelements.com/license/ */ |
5 | 5 |
|
6 | 6 | (function () { |
7 | 7 | 'use strict'; |
8 | 8 |
|
9 | | - const Version = '5.1.0'; |
| 9 | + const Version = '6.0.0'; |
10 | 10 | const templates = []; |
11 | 11 |
|
12 | 12 | let namespace = 'Smart'; |
@@ -3851,74 +3851,7 @@ License: https://htmlelements.com/license/ */ |
3851 | 3851 | } |
3852 | 3852 |
|
3853 | 3853 | checkLicense() { |
3854 | | - const that = this; |
3855 | | - |
3856 | | - if (window[namespace].License === 'Evaluation' && window.location.hostname.indexOf('htmlelements') === -1 && window.location.hostname.indexOf('localhost') === -1 && window.location.protocol.indexOf('file') === -1) { |
3857 | | - that.logWatermark(); |
3858 | | - that.logLicense(); |
3859 | | - window[namespace].License === '' |
3860 | | - } |
3861 | | - } |
3862 | | - |
3863 | | - logWatermark() { |
3864 | | - //const that = this; |
3865 | | - const anchor = document.createElement('a'); |
3866 | | - const delay = 6000; |
3867 | | - |
3868 | | - anchor.href = 'https://www.htmlelements.com/'; |
3869 | | - anchor.innerHTML = 'https://www.htmlelements.com/'; |
3870 | | - anchor.style.position = 'absolute'; |
3871 | | - anchor.style.right = '5px'; |
3872 | | - anchor.style.bottom = '5px'; |
3873 | | - anchor.style.color = '#fff'; |
3874 | | - anchor.style.padding = '20px'; |
3875 | | - anchor.style.borderRadius = '5px'; |
3876 | | - anchor.style.background = '#20C933'; |
3877 | | - anchor.style.cursor = 'pointer'; |
3878 | | - anchor.style.zIndex = '999999'; |
3879 | | - anchor.style.display = 'block'; |
3880 | | - anchor.style.fontSize = '24px'; |
3881 | | - anchor.style.textDecoration = 'none'; |
3882 | | - anchor.style.fontWeight = 'bold'; |
3883 | | - anchor.style.opacity = 0; |
3884 | | - anchor.style.transition = 'opacity .35s ease-in-out'; |
3885 | | - anchor.id = 'watermark'; |
3886 | | - |
3887 | | - if (document.getElementById('watermark')) { |
3888 | | - return; |
3889 | | - } |
3890 | | - |
3891 | | - setTimeout(() => { |
3892 | | - if (document.getElementById('watermark')) { |
3893 | | - return; |
3894 | | - } |
3895 | | - |
3896 | | - document.body.appendChild(anchor); |
3897 | | - |
3898 | | - setTimeout(() => { |
3899 | | - anchor.style.opacity = 1; |
3900 | | - }); |
3901 | | - |
3902 | | - setTimeout(() => { |
3903 | | - anchor.style.opacity = 0; |
3904 | | - |
3905 | | - setTimeout(() => { |
3906 | | - anchor.parentNode.removeChild(anchor); |
3907 | | - }, 350); |
3908 | | - }, delay); |
3909 | | - }, 1000); |
3910 | | - } |
3911 | | - |
3912 | | - logLicense() { |
3913 | | - console.log('****************************************************************************************************************'); |
3914 | | - console.log('****************************************************************************************************************'); |
3915 | | - console.log('****************************************************************************************************************'); |
3916 | | - console.log('*Smart HTML Elements License Key Not Found.'); |
3917 | | - console.log('*This is an evaluation only version, it is not licensed for development projects intended for production.'); |
3918 | | - console.log('*if you want to hide the watermark, please send an email to: [email protected] for a license.'); |
3919 | | - console.log('****************************************************************************************************************'); |
3920 | | - console.log('****************************************************************************************************************'); |
3921 | | - console.log('****************************************************************************************************************'); |
| 3854 | + |
3922 | 3855 | } |
3923 | 3856 |
|
3924 | 3857 | get _selector() { |
|
0 commit comments