Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libs/bower_components/jScrollPane/script/demo.js')
-rw-r--r--libs/bower_components/jScrollPane/script/demo.js49
1 files changed, 0 insertions, 49 deletions
diff --git a/libs/bower_components/jScrollPane/script/demo.js b/libs/bower_components/jScrollPane/script/demo.js
deleted file mode 100644
index a93122f54e..0000000000
--- a/libs/bower_components/jScrollPane/script/demo.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/*!
- * Scripts for the demo pages on the jScrollPane website.
- *
- * You do not need to include this script or use it on your site.
- *
- * Copyright (c) 2010 Kelvin Luck
- * Dual licensed under the MIT or GPL licenses.
- */
-
-$(function()
-{
- // Copy the pages javascript sourcecode to the display block on the page for easy viewing...
- var sourcecodeDisplay = $('#sourcecode-display');
- if (sourcecodeDisplay.length) {
- sourcecodeDisplay.empty().append(
- $('<code />').append(
- $('<pre />').html(
- $('#sourcecode').html().replace(/\n\t\t\t/gm, '\n').replace('>', '&gt;').replace('<', '&lt;')
- )
- )
- );
- $('#css-display').empty().append(
- $('<code />').append(
- $('<pre />').html(
- $('#page-css').html().replace(/\n\t\t\t/gm, '\n')
- )
- )
- );
- }
-});
-
-// It seems some people copy this file and put it on their sites despite the message at the top
-// So let's make sure they don't end up in my stats...
-if (window.location.hostname == 'jscrollpane.kelvinluck.com') {
- // Google analytics tracking code for demo site
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-17828883-1']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
-} else if(window.location.protocol == 'file:' || window.location.hostname == 'localhost') {
- // Allow local testing without annoying alerts
-} else {
- alert('Do not include demo.js on your site!');
-}