code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/* Copyright Mihai Bazon, 2002-2005 | www.bazon.net/mishoo
* -----------------------------------------------------------
*
* The DHTML Calendar, version 1.0 "It is happening again"
*
* Details and latest version at:
* www.dynarch.com/projects/calendar
*
* This script is developed by Dynarch.com. Visit us at... | JavaScript |
/* Copyright Mihai Bazon, 2002, 2003 | http://dynarch.com/mishoo/
* ---------------------------------------------------------------------------
*
* The DHTML Calendar
*
* Details and latest version at:
* http://dynarch.com/mishoo/calendar.epl
*
* This script is distributed under the GNU Lesser General Public... | JavaScript |
/**
* Contains methods for reading metadata from the server. The server can also
* delegate requests to a third-party server, thereby allowing third-party data
* to be displayed on the Godiva2 site.
*/
// Converts ISO8601 string to Date object
// From http://delete.me.uk/2005/03/iso8601.html, copied 16th October ... | JavaScript |
/*
* Modifies the default OpenLayers WMS layer implementation by setting
* wrapDateLine = true, transitionEffect = 'resize', format='image/png'
* and preventing the loading of tiles outside the latitude range [-90,90]
* (reducing load on the target WMS server).
*/
OpenLayers.Layer.WMS1_1_1 = OpenLayers.Class(Ope... | JavaScript |
/*
* A very basic date selector consisting of drop-down boxes for year, month
* and day. Will work independent of the calendar system, hence is useful
* for 360-day calendars
* @author Jon Blower
* @date 24th March 2010
*/
// Uses the Prototype library
var BasicDateSelector = Class.create
({
initialize: fu... | JavaScript |
/* Copyright (c) 2006 University of Reading, UK, published under the BSD license. */
// @require: OpenLayers/Layer/WMS.js
/**
* A WMS 1.3.0 layer, created by subclassing the WMS (1.1.1) layer type
* @class
*/
OpenLayers.Layer.WMS1_3 = OpenLayers.Class(OpenLayers.Layer.WMS1_1_1, {
/** @final @type hash */
DEFAU... | JavaScript |
/*
* GetXmlHttpObject()
*
* This function returns an XMLHTTP object, which is the crux of all
* asynchronous http requests.
*/
function GetXmlHttpObject()
{
var objXMLHttp = null;
if (window.XMLHttpRequest) {
objXMLHttp = new XMLHttpRequest();
} else if (window.ActiveXObj... | JavaScript |
/*==============================================================================
* powerhouse-version.js
*
* PowerHouse Version Javascript
*
* Author: Kyle W T Sherman
*
* Time-stamp: <2014-08-24 22:08:59 (kyle)>
*============================================================================*/
//================... | JavaScript |
/*==============================================================================
* powerhouse.js
*
* PowerHouse Javascript
*
* Author: Kyle W T Sherman
*
* Time-stamp: <2014-08-24 21:18:34 (kyle)>
*============================================================================*/
var debug = false;
var version = '... | JavaScript |
/*!
xCharts v0.3.0 Copyright (c) 2012, tenXer, Inc. All Rights Reserved.
@license MIT license. http://github.com/tenXer/xcharts for details
*/
(function () {
var xChart,
_vis = {},
_scales = {},
_visutils = {};
(function(){var n=this,t=n._,r={},e=Array.prototype,u=Object.prototype,i=Function.prototype,a=e.push,... | JavaScript |
/* Set the defaults for DataTables initialisation */
$.extend( true, $.fn.dataTable.defaults, {
"sDom": "<'row-fluid'<'span6'l><'span6'f>r>t<'row-fluid'<'span6'i><'span6'p>>",
"sPaginationType": "bootstrap",
"oLanguage": {
"sLengthMenu": "_MENU_ records per page"
}
} );
/* Default class modification */
$.extend... | JavaScript |
/*
* File: TableTools.js
* Version: 2.1.4
* Description: Tools and buttons for DataTables
* Author: Allan Jardine (www.sprymedia.co.uk)
* Language: Javascript
* License: GPL v2 or BSD 3 point style
* Project: DataTables
*
* Copyright 2009-2012 Allan Jardine, all rights reserved.
*
... | JavaScript |
// Simple Set Clipboard System
// Author: Joseph Huckaby
var ZeroClipboard_TableTools = {
version: "1.0.4-TableTools2",
clients: {}, // registered upload clients on page, indexed by id
moviePath: '', // URL to movie
nextId: 1, // ID of next movie
$: function(thingy) {
// simple DOM lookup utility function
... | JavaScript |
/*
* File: TableTools.js
* Version: 2.1.4
* Description: Tools and buttons for DataTables
* Author: Allan Jardine (www.sprymedia.co.uk)
* Language: Javascript
* License: GPL v2 or BSD 3 point style
* Project: DataTables
*
* Copyright 2009-2012 Allan Jardine, all rights reserved.
*
... | JavaScript |
/* @license
morris.js v0.5.0
Copyright 2014 Olly Smith All rights reserved.
Licensed under the BSD-2-Clause License.
*/
(function() {
var $, Morris, minutesSpecHelper, secondsSpecHelper,
__slice = [].slice,
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
__hasProp = {... | JavaScript |
/**
* Springy v2.6.1
*
* Copyright (c) 2010-2013 Dennis Hotson
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,... | JavaScript |
/**
Copyright (c) 2010 Dennis Hotson
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distrib... | JavaScript |
/**
*
* jquery.sparkline.js
*
* v2.1.2
* (c) Splunk, Inc
* Contact: Gareth Watts (gareth@splunk.com)
* http://omnipotent.net/jquery.sparkline/
*
* Generates inline sparkline charts from data supplied either to the method
* or inline in HTML
*
* Compatible with Internet Explorer 6.0+ and modern browsers equipped with th... | JavaScript |
/*!jQuery Knob*/
/**
* Downward compatible, touchable dial
*
* Version: 1.2.11
* Requires: jQuery v1.7+
*
* Copyright (c) 2012 Anthony Terrien
* Under MIT License (http://www.opensource.org/licenses/mit-license.php)
*
* Thanks to vor, eskimoblood, spiffistan, FabrizioC
*/
(function (factory) {
if (typeof ... | JavaScript |
// ┌────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.1.2 - JavaScript Vector Library │ \\
// ├────────────────────────────────────────────────────────────────────┤ \\
// │ Copyright © 2008-2012 Dmitry Baranovskiy (http://raphaeljs.com) │ \\
// │ Copyrig... | JavaScript |
(function($) {
/**
* Belgium (Dutch) language package
* Translated by @dokterpasta
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Geef een geldige base 64 encoded tekst in'
},
between: {
'defau... | JavaScript |
(function($) {
/**
* Serbian Latin language package
* Translated by @markocrni
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Molimo da unesete važeći base 64 enkodovan'
},
between: {
'default'... | JavaScript |
(function($) {
/**
* Czech language package
* Translated by @AdwinTrave
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Prosím zadejte správný base64'
},
between: {
'default': 'Prosím zadejte ho... | JavaScript |
(function($) {
/**
* Greek language package
* Translated by @pRieStaKos
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Παρακαλώ εισάγετε μια έγκυρη κωδικοποίηση base 64'
},
between: {
'default'... | JavaScript |
(function($) {
/**
* Bulgarian language package
* Translated by @mraiur
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Моля, въведете валиден base 64 кодиран'
},
between: {
'default':... | JavaScript |
(function($) {
/**
* Hungarian language package
* Translated by @blackfyre
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Kérlek, hogy érvényes base 64 karakter láncot adj meg'
},
between: {
'd... | JavaScript |
(function($) {
/**
* Romanian language package
* Translated by @filipac
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Te rog introdu un base64 valid'
},
between: {
'default': 'Te rog introdu o... | JavaScript |
(function($) {
/**
* Chilean Spanish language package
* Translated by @marceloampuerop6
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Por favor ingrese un valor válido en base 64'
},
between: {
... | JavaScript |
(function($) {
/**
* Swedish language package
* Translated by @ulsa
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Vänligen mata in ett giltigt Base64-kodat värde'
},
between: {
'default': 'Vän... | JavaScript |
(function($) {
/**
* German language package
* Translated by @logemann
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Bitte eine Base64 Kodierung eingeben'
},
between: {
'default': 'Bitte einen... | JavaScript |
(function($) {
/**
* French language package
* Translated by @dlucazeau
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Veuillez fournir une donnée correctement encodée en Base64'
},
between: {
... | JavaScript |
(function($) {
/**
* Polish language package
* Translated by @grzesiek
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Wpisz poprawny ciąg znaków zakodowany w base 64'
},
between: {
'default': '... | JavaScript |
(function ($) {
/**
* Simplified Chinese language package
* Translated by @shamiao
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': '请输入有效的Base64编码'
},
between: {
'default': '请输入在 %s 和 %s 之间的数值',
... | JavaScript |
(function($) {
/**
* Thai language package
* Translated by @figgaro
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'กรุณาระบุ base 64 encoded ให้ถูกต้อง'
},
between: {
'default': 'กรุณาระบุค่าระ... | JavaScript |
(function($) {
/**
* Russian language package
* Translated by @cylon-v. Improved by @stepin
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Пожалуйста, введите корректную строку base64'
},
between: {
... | JavaScript |
(function($) {
/**
* Default English package. It's included in the dist, so you do NOT need to include it to your head tag
* The only reason I put it here is that you can clone it, and translate it into your language
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {... | JavaScript |
(function($) {
/**
* Norwegian language package
* Translated by @trondulseth
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Vennligst fyll ut dette feltet med en gyldig base64-kodet verdi'
},
between: {
... | JavaScript |
(function($) {
/**
* Danish language package
* Translated by @Djarnis
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Udfyld venligst dette felt med en gyldig base64-kodet værdi'
},
between: {
'... | JavaScript |
(function($) {
/**
* Belgium (French) language package
* Translated by @neilime
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Veuillez fournir une donnée correctement encodée en Base64'
},
between: {
... | JavaScript |
(function($) {
/**
* Vietnamese language package
* Translated by @nghuuphuoc
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Vui lòng nhập chuỗi mã hoá base64 hợp lệ'
},
between: {
'default': 'V... | JavaScript |
(function ($) {
/**
* Italian language package
* Translated by @maramazza
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Please enter a valid base 64 encoded'
},
between: {
'default': 'Si prega... | JavaScript |
(function($) {
/**
* The Dutch language package
* Translated by @jvanderheide
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Voer een geldige Base64 geëncodeerde tekst in'
},
between: {
'defaul... | JavaScript |
(function($) {
/**
* Persian (Farsi) Language package.
* Translated by @i0
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'لطفا متن کد گذاری شده base 64 صحیح وارد فرمایید'
},
between: {
'default... | JavaScript |
(function($) {
/**
* Spanish language package
* Translated by @vadail
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Por favor introduce un valor válido en base 64'
},
between: {
'default': 'Po... | JavaScript |
(function($) {
/**
* Traditional Chinese language package
* Translated by @tureki
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': '請輸入有效的Base64編碼'
},
between: {
'default': '請輸入不小於 %s 且不大於 %s 的值',... | JavaScript |
(function($) {
/**
* Japanese language package
* Translated by @tsuyoshifujii
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': '有効なBase64エンコードを入力してください'
},
between: {
'default': '%sから%sの間で入力してください... | JavaScript |
(function($) {
/**
* Ukrainian language package
* Translated by @oleg-voloshyn
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Будь ласка введіть коректний рядок base64'
},
between: {
'default':... | JavaScript |
(function ($) {
/**
* Portuguese (Brazil) language package
* Translated by @marcuscarvalho6
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Por favor insira um código base 64 válido'
},
between: {
... | JavaScript |
(function ($) {
/**
* Arabic language package
* Translated by @Arkni
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'الرجاء إدخال قيمة مشفرة طبقا للقاعدة 64.'
},
between: {
'default': 'من فضلك إ... | JavaScript |
(function($) {
/**
* Turkish language package
* Translated By @CeRBeR666
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Lütfen 64 bit tabanına uygun bir giriş yapınız'
},
between: {
'default': ... | JavaScript |
/*!
* Media helper for fancyBox
* version: 1.0.6 (Fri, 14 Jun 2013)
* @requires fancyBox v2.0 or later
*
* Usage:
* $(".fancybox").fancybox({
* helpers : {
* media: true
* }
* });
*
* Set custom URL parameters:
* $(".fancybox").fancybox({
* helpers : {
* ... | JavaScript |
/*!
* Buttons helper for fancyBox
* version: 1.0.5 (Mon, 15 Oct 2012)
* @requires fancyBox v2.0 or later
*
* Usage:
* $(".fancybox").fancybox({
* helpers : {
* buttons: {
* position : 'top'
* }
* }
* });
*
*/
;(function ($) {
//Shortcut for... | JavaScript |
/*!
* Thumbnail helper for fancyBox
* version: 1.0.7 (Mon, 01 Oct 2012)
* @requires fancyBox v2.0 or later
*
* Usage:
* $(".fancybox").fancybox({
* helpers : {
* thumbs: {
* width : 50,
* height : 50
* }
* }
* });
*
*/
;(fu... | JavaScript |
(function(root, factory) {
if(typeof exports === 'object') {
module.exports = factory();
}
else if(typeof define === 'function' && define.amd) {
define([], factory);
}
else {
root['Chartist'] = factory();
}
}(this, function() {
/* Chartist.js 0.1.15
* Copyright © 20... | JavaScript |
/*!
* FullCalendar v2.1.1 Google Calendar Plugin
* Docs & License: http://arshaw.com/fullcalendar/
* (c) 2013 Adam Shaw
*/
(function(factory) {
if (typeof define === 'function' && define.amd) {
define([ 'jquery' ], factory);
}
else {
factory(jQuery);
}
})(function($) {
var fc = $.fullCalendar;
var apply... | JavaScript |
/*!
* FullCalendar v2.1.1
* Docs & License: http://arshaw.com/fullcalendar/
* (c) 2013 Adam Shaw
*/
(function(factory) {
if (typeof define === 'function' && define.amd) {
define([ 'jquery', 'moment' ], factory);
}
else {
factory(jQuery, moment);
}
})(function($, moment) {
;;
var defaults = {
lang: 'en'... | JavaScript |
/*!
* Justified Gallery - v3.2.0
* http://miromannino.com/projects/justified-gallery/
* Copyright (c) 2014 Miro Mannino
* Licensed under the MIT license.
*/
(function($) {
/* Events
jg.complete : called when all the gallery has been created
jg.resize : called when the gallery has been resized
*/
$.fn.just... | JavaScript |
(function() {
"use strict";
var match = /(\{.*\})/.exec(document.body.innerHTML);
if (match) {
parent.postMessage(match[1], "*");
}
}());
| JavaScript |
/*!
* Fine Uploader
*
* Copyright 2013, Widen Enterprises, Inc. info@fineuploader.com
*
* Version: 5.0.5
*
* Homepage: http://fineuploader.com
*
* Repository: git://github.com/Widen/fine-uploader.git
*
* Licensed under GNU GPL v3, see LICENSE
*/
/*globals window, navigator, document, FormData, File, HTMLInputElement... | JavaScript |
/*!
* Fine Uploader
*
* Copyright 2013, Widen Enterprises, Inc. info@fineuploader.com
*
* Version: 5.0.5
*
* Homepage: http://fineuploader.com
*
* Repository: git://github.com/Widen/fine-uploader.git
*
* Licensed under GNU GPL v3, see LICENSE
*/
/*globals window, navigator, document, FormData, File, HTMLInputElement... | JavaScript |
/*
Leaflet, a JavaScript library for mobile-friendly interactive maps. http://leafletjs.com
(c) 2010-2013, Vladimir Agafonkin
(c) 2010-2011, CloudMade
*/
(function (window, document, undefined) {
var oldL = window.L,
L = {};
L.version = '0.7.3';
// define Leaflet for Node module pattern loaders, includin... | JavaScript |
/* Javascript plotting library for jQuery, version 0.8.3.
Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
*/
// first an inline dependency, jquery.colorhelpers.js, we inline it here
// for convenience
/* Plugin for jQuery for working with colors.
*
* Version 1.1.
*
* Inspiration fr... | JavaScript |
/* Pretty handling of time axes.
Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
Set axis.mode to "time" to enable. See the section "Time series data" in
API.txt for details.
*/
(function($) {
var options = {
xaxis: {
timezone: null, // "browser" for local to the client or time... | JavaScript |
/* Flot plugin for automatically redrawing plots as the placeholder resizes.
Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
It works by listening for changes on the placeholder div (through the jQuery
resize event plugin) - if the size changes, it will redraw the plot.
There are no opt... | JavaScript |
AmCharts.translations.de = {
"monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
"shortMonthNames": ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"],
"dayNames": ["Montag", "Dienstag", "Mittwoch"... | JavaScript |
/** @preserve
jsPDF addImage plugin (JPEG only at this time)
Copyright (c) 2012 https://github.com/siefkenj/
*/
/**
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, i... | JavaScript |
/* FileSaver.js
* A saveAs() FileSaver implementation.
* 2013-10-21
*
* By Eli Grey, http://eligrey.com
* License: X11/MIT
* See LICENSE.md
*/
/*global self */
/*jslint bitwise: true, regexp: true, confusion: true, es5: true, vars: true, white: true,
plusplus: true */
/*! @source http://purl.eligrey.com/gi... | JavaScript |
/** @preserve jsPDF 0.9.0rc2 ( ${buildDate} ${commitID} )
Copyright (c) 2010-2012 James Hall, james@snapshotmedia.co.uk, https://github.com/MrRio/jsPDF
Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
MIT license.
*/
/*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy... | JavaScript |
/**
* A class to parse color values
* @author Stoyan Stefanov <sstoo@gmail.com>
* @link http://www.phpied.com/rgb-color-parser-in-javascript/
* @license Use it if you like it
*/
function RGBColor(color_string)
{
this.ok = false;
// strip any leading #
if (color_string.charAt(0) == '#') { ... | JavaScript |
/*
* canvg.js - Javascript SVG parser and renderer on Canvas
* MIT Licensed
* Gabe Lerner (gabelerner@gmail.com)
* http://code.google.com/p/canvg/
*
* Requires: rgbcolor.js - http://www.phpied.com/rgb-color-parser-in-javascript/
*/
(function(){
// canvg(target, s)
// empty parameters: replace all 's... | JavaScript |
AmCharts.AmExport = AmCharts.Class({
construct: function(chart, cfg, init ) {
var _this = this;
_this.DEBUG = false;
_this.chart = chart;
_this.canvas = null;
_this.svgs = [];
_this.userCFG = cfg;
_this.buttonIcon = 'export.png';
_this.exportPNG = true;
_this.ex... | JavaScript |
AmCharts.themes.dark = {
themeName: "dark",
AmChart: {
color: "#e7e7e7", backgroundColor: "#282828"
},
AmCoordinateChart: {
colors: ["#ae85c9", "#aab9f7", "#b6d2ff", "#c9e6f2", "#c9f0e1", "#e8d685", "#e0ad63", "#d48652", "#d27362", "#495fba", "#7a629b", "#8881cc"]
},
AmStockChart: {
colors:... | JavaScript |
AmCharts.themes.light = {
themeName:"light",
AmChart: {
color: "#000000", backgroundColor: "#FFFFFF"
},
AmCoordinateChart: {
colors: ["#67b7dc", "#fdd400", "#84b761", "#cc4748", "#cd82ad", "#2f4074", "#448e4d", "#b7b83f", "#b9783f", "#b93e3d", "#913167"]
},
AmStockChart: {
colors: ["#67b7dc... | JavaScript |
AmCharts.themes.chalk = {
themeName: "chalk",
AmChart: {
color: "#e7e7e7",
fontFamily: "Covered By Your Grace",
fontSize: 18,
handDrawn: true,
backgroundColor: "#282828"
},
AmCoordinateChart: {
colors: ["#FFFFFF", "#e384a6", "#f4d499", "#4d90d6", "#c7e38c", "#9986c8", "#edf28c", "#ffd1d4... | JavaScript |
AmCharts.themes.black = {
themeName: "black",
AmChart: {
color: "#e7e7e7", backgroundColor: "#222222"
},
AmCoordinateChart: {
colors: ["#de4c4f", "#d8854f", "#eea638", "#a7a737", "#86a965", "#8aabb0", "#69c8ff", "#cfd27e", "#9d9888", "#916b8a", "#724887", "#7256bc"]
},
AmStockChart: {
color... | JavaScript |
AmCharts.themes.patterns = {
themeName:"patterns",
AmChart: {
color: "#000000", backgroundColor: "#FFFFFF"
},
AmCoordinateChart: {
colors:["#000000","#000000","#000000","#000000","#000000","#000000","#000000","#000000","#000000","#000000","#000000","#000000","#000000","#000000","#000000","#000000","... | JavaScript |
//
// Main script of DevOOPS v1.0 Bootstrap Theme
//
"use strict";
/*-------------------------------------------
Dynamically load plugin scripts
---------------------------------------------*/
//
// Dynamically load Fullcalendar Plugin Script
// homepage: http://arshaw.com/fullcalendar
// require moment.js
//
func... | JavaScript |
// Singleton class TooltipWindow
// This class works with special className. The tooltip content could be in your HTML page as an hidden element or
// can be retreive by an AJAX call.
//
// To work, You just need to set two class name on elements that should show tooltips
// - One to say to TooltipManager that thi... | JavaScript |
var commandHistory;
var historyIndex;
function showExtendedDebug() {
if (debugWindow != null) {
hideDebug();
}
if (debugWindow == null) {
commandHistory = new Array();
historyIndex = 0;
debugWindow = new Window('debug_window', {className: 'dialog',width:250, height:100, right:4, minWid... | JavaScript |
// Copyright (c) 2006 Sébastien Gruhier (http://xilinus.com, http://itseb.com)
// YOU MUST INCLUDE window.js BEFORE
//
// Object to store hide/show windows status in a cookie
// Just add at the end of your HTML file this javascript line: WindowStore.init()
WindowStore = {
doSetCookie: false,
cookieName: "__... | JavaScript |
// Copyright (c) 2006 Sébastien Gruhier (http://xilinus.com, http://itseb.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation... | JavaScript |
Effect.ResizeWindow = Class.create();
Object.extend(Object.extend(Effect.ResizeWindow.prototype, Effect.Base.prototype), {
initialize: function(win, top, left, width, height) {
this.window = win;
this.window.resizing = true;
var size = win.getSize();
this.initWidth = parseFloat(size.wid... | JavaScript |
//v1.0
//Copyright 2006 Adobe Systems, Inc. All rights reserved.
function AC_AddExtension(src, ext)
{
if (src.indexOf('?') != -1)
return src.replace(/\?/, ext+'?');
else
return src + ext;
}
function AC_Generateobj(objAttrs, params, embedAttrs)
{
var str = '<object ';
for (var i in objAt... | JavaScript |
/* NUGET: BEGIN LICENSE TEXT
*
* Microsoft grants you the right to use these script files for the sole
* purpose of either: (i) interacting through your browser with the Microsoft
* website or online service, subject to the applicable licensing or use
* terms; or (ii) using the files as included with a Microsoft p... | JavaScript |
/*
Copyright (C) 2011 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writin... | JavaScript |
// needs Markdown.Converter.js at the moment
(function () {
var util = {},
position = {},
ui = {},
doc = window.document,
re = window.RegExp,
nav = window.navigator,
SETTINGS = { lineLength: 72 },
// Used to work around some browser bugs where we c... | JavaScript |
(function () {
var output, Converter;
if (typeof exports === "object" && typeof require === "function") { // we're in a CommonJS (e.g. Node.js) module
output = exports;
Converter = require("./Markdown.Converter").Converter;
} else {
output = window.Markdown;
Converter = outpu... | JavaScript |
var Markdown;
if (typeof exports === "object" && typeof require === "function") // we're in a CommonJS (e.g. Node.js) module
Markdown = exports;
else
Markdown = {};
// The following text is included for historical reasons, but should
// be taken with a pinch of salt; it's not all true anymore.
... | JavaScript |
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
| JavaScript |
try {
var pageTracker = _gat._getTracker("UA-18761191-1");
pageTracker._trackPageview();
} catch(err) {}
| JavaScript |
// send html to the post editor
function send_to_editor(h) {
var ed;
if ( typeof tinyMCE != 'undefined' && ( ed = tinyMCE.activeEditor ) && !ed.isHidden() ) {
ed.focus();
if ( tinymce.isIE )
ed.selection.moveToBookmark(tinymce.EditorManager.activeEditor.windowManager.bookmark);
if ( h.indexOf('[caption') =... | JavaScript |
// Word count
(function($) {
wpWordCount = {
init : function() {
var t = this, last = 0, co = $('#content');
$('#wp-word-count').html( wordCountL10n.count.replace( /%d/, '<span id="word-count">0</span>' ) );
t.block = 0;
t.wc(co.val());
co.keyup( function(e) {
if ( e.keyCode == last ) return tru... | JavaScript |
(function($) {
inlineEditPost = {
init : function() {
var t = this, qeRow = $('#inline-edit'), bulkRow = $('#bulk-edit');
t.type = $('table.widefat').hasClass('page') ? 'page' : 'post';
t.what = '#'+t.type+'-';
// prepare the edit rows
qeRow.keyup(function(e) { if(e.which == 27) return inlineEditPost.rev... | JavaScript |
(function($) {
inlineEditTax = {
init : function() {
var t = this, row = $('#inline-edit');
t.type = $('#the-list').attr('className').substr(5);
t.what = '#'+t.type+'-';
$('.editinline').live('click', function(){
inlineEditTax.edit(this);
return false;
});
// prepare the edit row
row.keyup(fun... | JavaScript |
jQuery(document).ready( function($) {
var newCat, noSyncChecks = false, syncChecks, catAddAfter;
$('#link_name').focus();
// postboxes
postboxes.add_postbox_toggles('link');
// category tabs
$('#category-tabs a').click(function(){
var t = $(this).attr('href');
$(this).parent().addClass('tabs').siblings('li... | JavaScript |
jQuery(document).ready( function($) {
var stamp = $('#timestamp').html();
$('.edit-timestamp').click(function () {
if ($('#timestampdiv').is(":hidden")) {
$('#timestampdiv').slideDown("normal");
$('.edit-timestamp').hide();
}
return false;
});
$('.cancel-timestamp').click(function() {
$('#timestampd... | JavaScript |
jQuery(document).ready( function($) {
$('#link_rel').attr('readonly', 'readonly');
$('#linkxfndiv input').bind('click keyup', function() {
var isMe = $('#me').is(':checked'), inputs = '';
$('input.valinp').each( function() {
if (isMe) {
$(this).attr('disabled', 'disabled').parent().addClass('disabled');
... | JavaScript |
var farbtastic;
function pickColor(color) {
farbtastic.setColor(color);
jQuery('#background-color').val(color);
jQuery('#custom-background-image').css('background-color', color);
}
jQuery(document).ready(function() {
jQuery('#pickcolor').click(function() {
jQuery('#colorPickerDiv').show();
return false;
});
... | JavaScript |
var showNotice, adminMenu, columns, validateForm;
(function($){
// sidebar admin menu
adminMenu = {
init : function() {
var menu = $('#adminmenu');
$('.wp-menu-toggle', menu).each( function() {
var t = $(this), sub = t.siblings('.wp-submenu');
if ( sub.length )
t.click(function(){ adminMenu.toggle( sub ... | JavaScript |
jQuery(document).ready(function($) {
$('.delete-tag').live('click', function(e){
var t = $(this), tr = t.parents('tr'), r = true, data;
if ( 'undefined' != showNotice )
r = showNotice.warn();
if ( r ) {
data = t.attr('href').replace(/[^?]*\?/, '').replace(/action=delete/, 'action=delete-tag');
$.post(a... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.