code
stringlengths
1
2.08M
language
stringclasses
1 value
/*! Socket.IO.js build:0.9.16, development. Copyright(c) 2011 LearnBoost <dev@learnboost.com> MIT Licensed */ var io = ('undefined' === typeof module ? {} : module.exports); (function() { /** * socket.io * Copyright(c) 2011 LearnBoost <dev@learnboost.com> * MIT Licensed */ (function (exports, global) { /** ...
JavaScript
/* * jQuery Mobile 1.3.1 * Git HEAD hash: 74b4bec049fd93e4fe40205e6157de16eb64eb46 <> Date: Wed Apr 10 2013 21:57:23 UTC * http://jquerymobile.com * * Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license. * http://jquery.org/license * */ (function ( root, doc, factory )...
JavaScript
/* This file is part of edda. edda is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. edda is distributed in the hope that it wi...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript
/* * Copyright 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 ...
JavaScript
/* * Copyright 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 ...
JavaScript
/* * Copyright 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 ...
JavaScript
/* * jsTree 1.0-rc3 * http://jstree.com/ * * Copyright (c) 2010 Ivan Bozhanov (vakata.com) * * Licensed same as jquery - under the terms of either the MIT License or the GPL Version 2 License * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * $Date: 2...
JavaScript
/* * Copyright 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 ...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript
/** * @authors TODO * @fileoverview TODO */ document.cancelFullScreen = document.webkitCancelFullScreen || document.mozCancelFullScreen; /** * @constructor */ function SlideDeck(el) { this.curSlide_ = 0; this.prevSlide_ = 0; this.config_ = null; this.container = el || document....
JavaScript
(function(window) { var ORIGIN_ = location.protocol + '//' + location.host; function SlideController() { this.popup = null; this.isPopup = window.opener; if (this.setupDone()) { window.addEventListener('message', this.onMessage_.bind(this), false); // Close popups if we reload the main window. win...
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 writing, softwa...
JavaScript
/* * Hammer.JS * version 0.4 * author: Eight Media * https://github.com/EightMedia/hammer.js */ function Hammer(element, options, undefined) { var self = this; var defaults = { // prevent the default event or not... might be buggy when false prevent_default : false, css_hacks ...
JavaScript
require(['order!../slide_config', 'order!modernizr.custom.45394', 'order!prettify/prettify', 'order!hammer', 'order!slide-controller', 'order!slide-deck'], function(someModule) { });
JavaScript
var SLIDE_CONFIG = { // Slide settings settings: { title: 'Building Web Applications that use Google APIs and the JavaScript Client for Google APIs', subtitle: '', useBuilds: true, // Default: true. False will turn off slide animation builds. usePrettify: true, // Default: true enableSlideAreas:...
JavaScript
/** * dat.globe Javascript WebGL Globe Toolkit * http://dataarts.github.com/dat.globe * * Copyright 2011 Data Arts Team, Google Creative Lab * * 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 Licen...
JavaScript
;(function($, window, document, undefined) { var pluginName = 'stellar', defaults = { scrollProperty: 'scroll', positionProperty: 'position', horizontalScrolling: true, verticalScrolling: true, horizontalOffset: 0, verticalOffset: 0, responsive: false, parallaxBackgrounds: true, parallaxE...
JavaScript
$(function(){ var z = $(document), y = $(window), a = $(".nav-menu .menu ul li a"), b = $("#comments-area"), c = $(".rotation"); });
JavaScript
/* * Amnesia is Copyright (c) 2010 Mark Russell * * Contact: info@amnesia-app.com * * This file is part of Amnesia. * * Amnesia is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of...
JavaScript
/* * Amnesia is Copyright (c) 2010 Mark Russell * * Contact: info@amnesia-app.com * * This file is part of Amnesia. * * Amnesia is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of...
JavaScript
/* * Amnesia is Copyright (c) 2010 Mark Russell * * Contact: info@amnesia-app.com * * This file is part of Amnesia. * * Amnesia is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of...
JavaScript
// Simple Set Clipboard System // Author: Joseph Huckaby var ZeroClipboard = { version: "1.0.5", clients: {}, // registered upload clients on page, indexed by id moviePath: 'zero_clipboard.swf', // URL to movie nextId: 1, // ID of next movie $: function(thingy) { // simple DOM lookup utility function if (...
JavaScript
jQuery.fn.truncate = function( max, settings ) { settings = jQuery.extend( { chars: /\s/, trail: [ "...", "" ] }, settings ); var myResults = {}; var ie = $.browser.msie; function fixIE( o ) { if ( ie ) { o.style.removeAttribute( "filter" ); } ...
JavaScript
/** * jQuery.timers - Timer abstractions for jQuery * Written by Blair Mitchelmore (blair DOT mitchelmore AT gmail DOT com) * Licensed under the WTFPL (http://sam.zoy.org/wtfpl/). * Date: 2009/08/13 * * @author Blair Mitchelmore * @version 1.1.3 * **/ jQuery.fn.extend({ everyTime: function(interval, label, f...
JavaScript
/* * password 1.0 - Random password generator for jQuery * * Copyright (c) 2009 jQuery Howto * * Licensed under the GPL license: * http://www.gnu.org/licenses/gpl.html * * URL: * http://jquery-howto.blogspot.com * * Author URL: * http://me.boo.uz * */ (function($){ $.extend({ pa...
JavaScript
/* * jQuery TinySort - A plugin to sort child nodes by (sub) contents or attributes. * * Version: 1.0.2 * * Copyright (c) 2008 Ron Valstar * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * description * - A...
JavaScript
/* * Amnesia is Copyright (c) 2010 Mark Russell * * Contact: info@amnesia-app.com * * This file is part of Amnesia. * * Amnesia is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of...
JavaScript
/* * Amnesia is Copyright (c) 2010 Mark Russell * * Contact: info@amnesia-app.com * * This file is part of Amnesia. * * Amnesia is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of...
JavaScript
/* * Amnesia is Copyright (c) 2010 Mark Russell * * Contact: info@amnesia-app.com * * This file is part of Amnesia. * * Amnesia is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of...
JavaScript
// Simple Set Clipboard System // Author: Joseph Huckaby var ZeroClipboard = { version: "1.0.5", clients: {}, // registered upload clients on page, indexed by id moviePath: 'zero_clipboard.swf', // URL to movie nextId: 1, // ID of next movie $: function(thingy) { // simple DOM lookup utility function if (...
JavaScript
jQuery.fn.truncate = function( max, settings ) { settings = jQuery.extend( { chars: /\s/, trail: [ "...", "" ] }, settings ); var myResults = {}; var ie = $.browser.msie; function fixIE( o ) { if ( ie ) { o.style.removeAttribute( "filter" ); } ...
JavaScript
/** * jQuery.timers - Timer abstractions for jQuery * Written by Blair Mitchelmore (blair DOT mitchelmore AT gmail DOT com) * Licensed under the WTFPL (http://sam.zoy.org/wtfpl/). * Date: 2009/08/13 * * @author Blair Mitchelmore * @version 1.1.3 * **/ jQuery.fn.extend({ everyTime: function(interval, label, f...
JavaScript
/* * password 1.0 - Random password generator for jQuery * * Copyright (c) 2009 jQuery Howto * * Licensed under the GPL license: * http://www.gnu.org/licenses/gpl.html * * URL: * http://jquery-howto.blogspot.com * * Author URL: * http://me.boo.uz * */ (function($){ $.extend({ pa...
JavaScript
/* * jQuery TinySort - A plugin to sort child nodes by (sub) contents or attributes. * * Version: 1.0.2 * * Copyright (c) 2008 Ron Valstar * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * description * - A...
JavaScript
/* * Amnesia is Copyright (c) 2010 Mark Russell * * Contact: info@amnesia-app.com * * This file is part of Amnesia. * * Amnesia is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of...
JavaScript
/* * Amnesia is Copyright (c) 2010 Mark Russell * * Contact: info@amnesia-app.com * * This file is part of Amnesia. * * Amnesia is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of...
JavaScript
/* * Amnesia is Copyright (c) 2010 Mark Russell * * Contact: info@amnesia-app.com * * This file is part of Amnesia. * * Amnesia is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of...
JavaScript
// Simple Set Clipboard System // Author: Joseph Huckaby var ZeroClipboard = { version: "1.0.5", clients: {}, // registered upload clients on page, indexed by id moviePath: 'zero_clipboard.swf', // URL to movie nextId: 1, // ID of next movie $: function(thingy) { // simple DOM lookup utility function if (...
JavaScript
jQuery.fn.truncate = function( max, settings ) { settings = jQuery.extend( { chars: /\s/, trail: [ "...", "" ] }, settings ); var myResults = {}; var ie = $.browser.msie; function fixIE( o ) { if ( ie ) { o.style.removeAttribute( "filter" ); } ...
JavaScript
/** * jQuery.timers - Timer abstractions for jQuery * Written by Blair Mitchelmore (blair DOT mitchelmore AT gmail DOT com) * Licensed under the WTFPL (http://sam.zoy.org/wtfpl/). * Date: 2009/08/13 * * @author Blair Mitchelmore * @version 1.1.3 * **/ jQuery.fn.extend({ everyTime: function(interval, label, f...
JavaScript
/* * password 1.0 - Random password generator for jQuery * * Copyright (c) 2009 jQuery Howto * * Licensed under the GPL license: * http://www.gnu.org/licenses/gpl.html * * URL: * http://jquery-howto.blogspot.com * * Author URL: * http://me.boo.uz * */ (function($){ $.extend({ pa...
JavaScript
/* * jQuery TinySort - A plugin to sort child nodes by (sub) contents or attributes. * * Version: 1.0.2 * * Copyright (c) 2008 Ron Valstar * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * description * - A...
JavaScript
var geocoder = new google.maps.Geocoder(); var resultados; //documentacion: //http://code.google.com/intl/es/apis/maps/documentation/javascript/services.html#Geocoding $(document).ready(function () { //pertenece a un estandar de Geolocalizacion incluido en HTML5 recientemente por la W3C navigator.geoloca...
JavaScript
var geocoder = new google.maps.Geocoder(); var resultados; //documentacion: //http://code.google.com/intl/es/apis/maps/documentation/javascript/services.html#Geocoding $(document).ready(function () { //pertenece a un estandar de Geolocalizacion incluido en HTML5 recientemente por la W3C navigator.geoloca...
JavaScript
/* Simple OpenID Plugin http://code.google.com/p/openid-selector/ This code is licenced under the New BSD License. */ var providers_large = { google: { name: 'Google', url: 'https://www.google.com/accounts/o8/id' }, // yahoo: { // name: 'Yahoo', // url: 'http://yahoo.com...
JavaScript
/* JalaliJSCalendar v1.4 * Copyright (c) 2008 Ali Farhadi (http://farhadi.ir/) * * Released under the terms of the GNU General Public License. * See the GPL for details (http://www.gnu.org/licenses/gpl.html). * * Based on "The DHTML Calendar" developed by Dynarch.com. (http://www.dynarch.com/projects/calendar/) ...
JavaScript
/* JalaliJSCalendar - Setup Script * Copyright (c) 2008-2009 Ali Farhadi (http://farhadi.ir/) * * Released under the terms of the GNU General Public License. * See the GPL for details (http://www.gnu.org/licenses/gpl.html). * * Based on The DHTML Calendar developed by Dynarch.com. (http://www.dynarch.com/project...
JavaScript
/* * JalaliJSCalendar - Jalali Extension for Date Object * Copyright (c) 2008 Ali Farhadi (http://farhadi.ir/) * Released under the terms of the GNU General Public License. * See the GPL for details (http://www.gnu.org/licenses/gpl.html). * * Based on code from http://farsiweb.info */ JalaliDate = { g_days_i...
JavaScript
// ** I18N // Calendar FA language // Author: Ali Farhadi, <a.farhadi@gmail.com> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // includ...
JavaScript
// ** I18N // Calendar pt-BR language // Author: Fernando Dourado, <fernando.dourado@ig.com.br> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also pl...
JavaScript
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Translation: Yourim Yi <yyi@yourim.net> // Encoding: EUC-KR // lang : ko // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answe...
JavaScript
// ** I18N // Calendar pt_BR language // Author: Adalberto Machado, <betosm@terra.com.br> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please //...
JavaScript
// ** I18N // Calendar DE language // Author: Jack (tR), <jack@jtr.de> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // include your conta...
JavaScript
// ** I18N Calendar._DN = new Array ("Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο", "Κυριακή"); Calendar._SDN = new Array ("Κυ", "Δε", "Tρ", "Τε", "Πε", "Πα", "Σα", "Κυ"); Calendar._MN = new Array ("Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιο...
JavaScript
// ** I18N // Calendar EN language // Author: Idan Sofer, <idan@idanso.dyndns.org> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // incl...
JavaScript
// ** I18N // Calendar LT language // Author: Martynas Majeris, <martynas@solmetra.lt> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // ...
JavaScript
// ** I18N // Calendar DA language // Author: Michael Thingmand Henriksen, <michael (a) thingmand dot dk> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. ...
JavaScript
// ** I18N Calendar._DN = new Array ("Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"); Calendar._MN = new Array ("Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"); // tooltips Calendar._...
JavaScript
// ** I18N // Calendar SK language // Author: Peter Valach (pvalach@gmx.net) // Encoding: utf-8 // Last update: 2003/10/29 // Distributed under the same terms as the calendar itself. // full day names Calendar._DN = new Array ("NedeÄľa", "Pondelok", "Utorok", "Streda", "Ĺ tvrtok", "Piatok", "Sobota", "NedeÄľa"...
JavaScript
// ** I18N Afrikaans Calendar._DN = new Array ("Sondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrydag", "Saterdag", "Sondag"); Calendar._MN = new Array ("Januarie", "Februarie", "Maart", "April", "Mei", "Junie", "Julie", "Augustus", "September", "Oktober", "November", "Desember"); // toolti...
JavaScript
// ** I18N // Calendar RU language // Translation: Sly Golovanov, http://golovanov.net, <sly@golovanov.net> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized worl...
JavaScript
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mishoo@infoiasi.ro> // Encoding: any // Translator : Niko <nikoused@gmail.com> // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real...
JavaScript
// ** I18N // Calendar FI language (Finnish, Suomi) // Author: Jarno Käyhkö, <gambler@phnet.fi> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // full day names Calendar._DN = new Array ("Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai", "Su...
JavaScript
// ** I18N Calendar._DN = new Array ("Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"); Calendar._SDN_len = 2; Calendar._MN = new Array ("Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December")...
JavaScript
// ** I18N // Calendar NO language // Author: Daniel Holmen, <daniel.holmen@ciber.no> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // i...
JavaScript
// ** I18N Calendar._DN = new Array ("Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă", "Duminică"); Calendar._SDN_len = 2; Calendar._MN = new Array ("Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie");...
JavaScript
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // includ...
JavaScript
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Translator: Fabio Di Bernardini, <altraqua@email.it> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer t...
JavaScript
// ** I18N // Calendar PL language // Author: Artur Filipiak, <imagen@poczta.fm> // January, 2004 // Encoding: UTF-8 Calendar._DN = new Array ("Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela"); Calendar._SDN = new Array ("N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N"); Calenda...
JavaScript
/* calendar-cs-win.js language: Czech encoding: windows-1250 author: Lubos Jerabek (xnet@seznam.cz) Jan Uhlir (espinosa@centrum.cz) */ // ** I18N Calendar._DN = new Array('Neděle','Pondělí','Úterý','Středa','Čtvrtek','Pátek','Sobota','Neděle'); Calendar._SDN = new Array('Ne','Po','Út','St','Čt','Pá','So...
JavaScript
/* Slovenian language file for the DHTML Calendar version 0.9.2 * Author David Milost <mercy@volja.net>, January 2004. * Feel free to use this script under the terms of the GNU Lesser General * Public License, as long as you do not remove or alter this notice. */ // full day names Calendar._DN = new Array ("Ne...
JavaScript
// Calendar ALBANIAN language //author Rigels Gordani rige@hotmail.com // ditet Calendar._DN = new Array ("E Diele", "E Hene", "E Marte", "E Merkure", "E Enjte", "E Premte", "E Shtune", "E Diele"); //ditet shkurt Calendar._SDN = new Array ("Die", "Hen", "Mar", "Mer", "Enj", "Pre", "Sht", "Die"); // muajt Calendar._M...
JavaScript
// ** I18N // Calendar PL language // Author: Dariusz Pietrzak, <eyck@ghost.anime.pl> // Author: Janusz Piwowarski, <jpiw@go2.pl> // Encoding: utf-8 // Distributed under the same terms as the calendar itself. Calendar._DN = new Array ("Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobot...
JavaScript
/* Croatian language file for the DHTML Calendar version 0.9.2 * Author Krunoslav Zubrinic <krunoslav.zubrinic@vip.hr>, June 2003. * Feel free to use this script under the terms of the GNU Lesser General * Public License, as long as you do not remove or alter this notice. */ Calendar._DN = new Array ("Nedjelja",...
JavaScript
// ** I18N // Calendar big5-utf8 language // Author: Gary Fu, <gary@garyfu.idv.tw> // Encoding: utf8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // inclu...
JavaScript
/* * Some text editors allow plugin objects to be inserted in them. * The controls for this might not be part of the editor itself. * For these controls to be able to interact with the various editors * that can be used for editing text, it needs a specific javascript * interface (see wymeditor.placeholder.js for ...
JavaScript
(function($) { $(document).ready(function() { var new_slug = true; if($('#id_slug')[0].value){ new_slug = false; } if(window.location.href.split("history").length == 1 && window.location.href.split("recover").length==1){ $.each(["template"], function(i,...
JavaScript
/* Provides javascript bridge between WYMEditor and the django-cms PlaceholderEditor widget */ /* * The PlaceholderEditor widget allows different text editors to be used and * provides a javascript UI for inserting objects into the text editor. For this * to work, the text editor needs to provide a javascript inte...
JavaScript
// some very small jquery extensions (function($) { // very simple yellow fade plugin.. $.fn.yft = function(){ this.effect("highlight", {}, 1000); }; // jquery replace plugin :) $.fn.replace = function(o) { return this.after(o).remove().end(); }; var tree; // global initTree function initTree = function...
JavaScript
/* adds a parameter to an url */ function insert_into_url(url, name, value){ if(url.substr(url.length-1, url.length)== "&"){ url = url.substr(0, url.length-1); } dash_splits = url.split("#"); url = dash_splits[0]; var splits = url.split(name + "="); if (splits.length == 1){ splits = url.split(name); } var g...
JavaScript
/* Provides javascript bridge between WYMEditor and the django-cms PlaceholderEditor widget */ /* * The PlaceholderEditor widget allows different text editors to be used and * provides a javascript UI for inserting objects into the text editor. For this * to work, the text editor needs to provide a javascript inte...
JavaScript
/* javascript for the frontend editing toolbar */ jQuery.noConflict(); function hide_iframe(){ // needs to be a global function because it gets called // from the iframe as `parent.hide_iframe` jQuery.nyroModalRemove(); jQuery("#nyroModalWrapper .wrapperIframe").html(""); window.location = window...
JavaScript
(function($) { $(document).ready(function() { // Add Plugin Handler $('span.add-plugin').click(function(){ var select = $(this).parent().children("select[name=plugins]"); var pluginvalue = select.attr('value'); var placeholder_id = $(this).parent().parent().data('id'...
JavaScript
WYMeditor.SKINS['django'] = { init: function(wym) { //render following sections as panels jQuery(wym._box).find(wym._options.classesSelector) .addClass("wym_panel"); //render following sections as buttons jQuery(wym._box).find(wym._options.toolsSelector) .addCl...
JavaScript
/* * jQuery UI 1.7.1 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI */ ;jQuery.ui || (function($) { var _remove = $.fn.remove, isFF2 = $.browser.mozilla && (parseFloat($.browser....
JavaScript
/* * jQuery UI Dialog 1.7.1 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Dialog * * Depends: * ui.core.js * ui.draggable.js * ui.resizable.js */ (function($) { var setDataS...
JavaScript
/* * jQuery UI Effects 1.7.1 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/ */ ;jQuery.effects || (function($) { $.effects = { version: "1.7.1", // Saves a set of prop...
JavaScript
/* * jQuery Form Plugin * version: 2.28 (10-MAY-2009) * @requires jQuery v1.2.2 or later * * Examples and documentation at: http://malsup.com/jquery/form/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ ;(functio...
JavaScript
/* * jQuery UI Effects Highlight 1.7.1 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/Highlight * * Depends: * effects.core.js */ (function($) { $.effects.highlight = f...
JavaScript
/* * jQuery UI Sortable 1.7.1 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Sortables * * Depends: * ui.core.js */ (function($) { $.widget("ui.sortable", $.extend({}, $.ui.mou...
JavaScript
/*! Copyright (c) 2008 Brandon Aaron (http://brandonaaron.net) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * Version: 1.0.3 * Requires jQuery 1.1.3+ * Docs: http://docs.jquery.com/Plugins/livequery ...
JavaScript
/** * @author trixta */ (function($){ $.bind = function(object, method){ var args = Array.prototype.slice.call(arguments, 2); if(args.length){ return function() { var args2 = [this].concat(args, $.makeArray( arguments )); return method.apply(object, args2); }; } else { return function() {...
JavaScript
(function($){ if(!document.defaultView || !document.defaultView.getComputedStyle){ var oldCurCSS = jQuery.curCSS; jQuery.curCSS = function(elem, name, force){ if(name !== 'backgroundPosition' || !elem.currentStyle || elem.currentStyle[ name ]){ return oldCurCSS.apply(this, arguments); } var style = ...
JavaScript
/** * jQuery.query - Query String Modification and Creation for jQuery * Written by Blair Mitchelmore (blair DOT mitchelmore AT gmail DOT com) * Licensed under the WTFPL (http://sam.zoy.org/wtfpl/). * Date: 2008/05/28 * * @author Blair Mitchelmore * @version 2.0.1 * **/ new function(settings) { // Various S...
JavaScript
/** * Cookie plugin * * Copyright (c) 2006 Klaus Hartl (stilbuero.de) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ /** * Create a cookie with the given name and value and other optional parameters. * * @examp...
JavaScript
(function($){ $.curry = function(fn) { if (arguments.length < 2) return fn; args = $.makeArray(arguments).slice(1, arguments.length); return function() { return fn.apply(this, args.concat($.makeArray(arguments))); } } $.__callbackPool = {}; $.callbackRegister = function(name, fn /*, arg0, arg1, .....
JavaScript
/** * @author alexander.farkas * @version 1.3 * * @changed by Peter Cicman, added element title support */ (function($){ $.widget('ui.checkBox', { _init: function(){ var that = this, opts = this.options, toggleHover = function(e){ if(this.disabledStatu...
JavaScript