code
stringlengths
1
2.08M
language
stringclasses
1 value
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
define('ace/mode/golang', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/golang_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) { var oop = require("../lib/oop"); var T...
JavaScript
define('ace/mode/haxe', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/haxe_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) { var oop = require("../lib/oop"); var TextMode = r...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * * Softw...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/*! Colorbox v1.5.8 - 2014-04-15 jQuery lightbox and modal window plugin (c) 2014 Jack Moore - http://www.jacklmoore.com/colorbox license: http://www.opensource.org/licenses/mit-license.php */ (function ($, document, window) { var // Default settings object. // See http://jacklmoore.com/colorbox for details. de...
JavaScript
/* jQuery Colorbox language configuration language: Croatian (hr) translated by: Mladen Bicanic (base.hr) */ jQuery.extend(jQuery.colorbox.settings, { current: "Slika {current} od {total}", previous: "Prethodna", next: "Sljedeća", close: "Zatvori", xhrError: "Neuspješno učitavanje sadržaja.", imgError: "Neuspj...
JavaScript
/* jQuery Colorbox language configuration language: French (fr) translated by: oaubert */ jQuery.extend(jQuery.colorbox.settings, { current: "image {current} sur {total}", previous: "précédente", next: "suivante", close: "fermer", xhrError: "Impossible de charger ce contenu.", imgError: "Impos...
JavaScript
/* jQuery Colorbox language configuration language: Japanaese (ja) translated by: Hajime Fujimoto */ jQuery.extend(jQuery.colorbox.settings, { current: "{total}枚中{current}枚目", previous: "前", next: "次", close: "閉じる", xhrError: "コンテンツの読み込みに失敗しました", imgError: "画像の読み込みに失敗しました", slideshowStart: "スライドショー開始", sl...
JavaScript
/* jQuery ColorBox language configuration language: Ukrainian (uk) translated by: Andrew http://acisoftware.com.ua */ jQuery.extend(jQuery.colorbox.settings, { current: "зображення {current} з {total}", previous: "попереднє", next: "наступне", close: "закрити", xhrError: "Не вдалося ...
JavaScript
/* jQuery Colorbox language configuration language: Persian (Farsi) translated by: Mahdi Jaberzadeh Ansari (MJZSoft) site: www.mjzsoft.ir email: mahdijaberzadehansari (at) yahoo.co.uk Please note : Persian language is right to left like arabic. */ jQuery.extend(jQuery.colorbox.settings, { current: "تصویر {curren...
JavaScript
/* jQuery Colorbox language configuration language: Danish (da) translated by: danieljuhl site: danieljuhl.dk */ jQuery.extend(jQuery.colorbox.settings, { current: "Billede {current} af {total}", previous: "Forrige", next: "Næste", close: "Luk", xhrError: "Indholdet fejlede i indlæsningen.", imgError: "Billed...
JavaScript
/* jQuery Colorbox language configuration language: Catala (ca) translated by: eduard salla */ jQuery.extend(jQuery.colorbox.settings, { current: "Imatge {current} de {total}", previous: "Anterior", next: "Següent", close: "Tancar", xhrError: "Error en la càrrega del contingut.", imgError: "Error en la càrrega...
JavaScript
/* jQuery Colorbox language configuration language: German (de) translated by: wallenium */ jQuery.extend(jQuery.colorbox.settings, { current: "Bild {current} von {total}", previous: "Zurück", next: "Vor", close: "Schließen", xhrError: "Dieser Inhalt konnte nicht geladen werden.", imgError: "Dieses Bild konnte...
JavaScript
/* jQuery Colorbox language configuration language: Hebrew (he) translated by: DavidCo site: DavidCo.me */ jQuery.extend(jQuery.colorbox.settings, { current: "תמונה {current} מתוך {total}", previous: "הקודם", next: "הבא", close: "סגור", xhrError: "שגיאה בטעינת התוכן.", imgError: "שגיאה בטעינת התמונה.", slide...
JavaScript
/* jQuery Colorbox language configuration language: Romanian (ro) translated by: shurub3l */ jQuery.extend(jQuery.colorbox.settings, { current: "imagine {current} din {total}", previous: "precedenta", next: "următoarea", close: "închideți", xhrError: "Acest conținut nu poate fi încărcat.", imgError: "Aceast...
JavaScript
/* jQuery Colorbox language configuration language: Bulgarian (bg) translated by: Marian M.Bida site: webmax.bg */ jQuery.extend(jQuery.colorbox.settings, { current: "изображение {current} от {total}", previous: "предишна", next: "следваща", close: "затвори", xhrError: "Неуспешно зареждане на съдържанието.", ...
JavaScript
/* jQuery Colorbox language configuration language: Myanmar (my) translated by: Yan Naing */ jQuery.extend(jQuery.colorbox.settings, { current: "ပုံ {total} မှာ {current} မြောက်ပုံ", previous: "ရှေ့သို့", next: "နောက်သို့", close: "ပိတ်မည်", xhrError: "ပါဝင်သော အကြောင်းအရာများ ဖော်ပြရာတွင် အနည်းငယ် ချို့ယွင်းမ...
JavaScript
/* jQuery Colorbox language configuration language: Lithuanian (lt) translated by: Tomas Norkūnas */ jQuery.extend(jQuery.colorbox.settings, { current: "Nuotrauka {current} iš {total}", previous: "Atgal", next: "Pirmyn", close: "Uždaryti", xhrError: "Nepavyko užkrauti turinio.", imgError: "Nepavyko užkrauti nu...
JavaScript
/* jQuery Colorbox language configuration language: Korean (kr) translated by: lunareffect */ jQuery.extend(jQuery.colorbox.settings, { current: "총 {total} 중 {current}", previous: "이전", next: "다음", close: "닫기", xhrError: "컨텐츠를 불러오는 데 실패했습니다.", imgError: "이미지를 불러오는 데 실패했습니다.", slideshowStart: "슬라이드쇼 시작", slid...
JavaScript
/* jQuery Colorbox language configuration language: Serbian (sr) translated by: Sasa Stefanovic (baguje.com) */ jQuery.extend(jQuery.colorbox.settings, { current: "Slika {current} od {total}", previous: "Prethodna", next: "Sledeća", close: "Zatvori", xhrEr...
JavaScript
/* jQuery Colorbox language configuration language: Greek (gr) translated by: S.Demirtzoglou site: webiq.gr */ jQuery.extend(jQuery.colorbox.settings, { current: "Εικόνα {current} από {total}", previous: "Προηγούμενη", next: "Επόμενη", close: "Απόκρυψη", xhrError: "Το περιεχόμενο δεν μπόρεσε να φορτωθεί.", im...
JavaScript
/* jQuery Colorbox language configuration language: Russian (ru) translated by: Marfa site: themarfa.name */ jQuery.extend(jQuery.colorbox.settings, { current: "изображение {current} из {total}", previous: "назад", next: "вперёд", close: "закрыть", xhrError: "Не удалось загрузить содержимое.", imgError: "Не у...
JavaScript
/* jQuery Colorbox language configuration language: Hungarian (hu) translated by: kovadani */ jQuery.extend(jQuery.colorbox.settings, { current: "{current}/{total} kép", previous: "Előző", next: "Következő", close: "Bezár", xhrError: "A tartalmat nem sikerült betölteni.", imgError: "A képet nem sikerült betölt...
JavaScript
/* jQuery Colorbox language configuration language: Slovenian (si) translated by: Boštjan Pišler (pisler.si) */ jQuery.extend(jQuery.colorbox.settings, { current: "Slika {current} od {total}", previous: "Prejšnja", next: "Naslednja", close: "Zapri", xhrError: "Vsebine ni bilo mogoče naložiti.", imgError: "Slik...
JavaScript
/* jQuery Colorbox language configuration language: Latvian (lv) translated by: Matiss Roberts Treinis site: x0.lv */ jQuery.extend(jQuery.colorbox.settings, { current: "attēls {current} no {total}", previous: "iepriekšējais", next: "nākamais", close: "aizvērt", xhrError: "Neizdevās ielādēt saturu.", imgEr...
JavaScript
/* jQuery Colorbox language configuration language: Galician (gl) translated by: donatorouco */ jQuery.extend(jQuery.colorbox.settings, { current: "Imaxe {current} de {total}", previous: "Anterior", next: "Seguinte", close: "Pechar", xhrError: "Erro na carga do contido.", imgError: "Erro na carga da imaxe." }...
JavaScript
/* jQuery Colorbox language configuration language: Chinese Simplified (zh-CN) translated by: zhao weiming */ jQuery.extend(jQuery.colorbox.settings, { current: "当前图像 {current} 总共 {total}", previous: "前一页", next: "后一页", close: "关闭", xhrError: "此内容无法加载", imgError: "此图片无法加载", slideshowStart: "开始播放幻灯片", slidesh...
JavaScript
/* jQuery Colorbox language configuration language: Chinese Traditional (zh-TW) translated by: Atans Chiu */ jQuery.extend(jQuery.colorbox.settings, { current: "圖片 {current} 總共 {total}", previous: "上一頁", next: "下一頁", close: "關閉", xhrError: "此內容加載失敗.", imgError: "此圖片加載失敗.", slideshowStart: "開始幻燈片", slideshowS...
JavaScript
/* jQuery Colorbox language configuration language: Italian (it) translated by: maur8ino */ jQuery.extend(jQuery.colorbox.settings, { current: "Immagine {current} di {total}", previous: "Precedente", next: "Successiva", close: "Chiudi", xhrError: "Errore nel caricamento del contenuto.", imgError: "Errore nel c...
JavaScript
/* jQuery Colorbox language configuration language: Indonesian (id) translated by: sarwasunda */ jQuery.extend(jQuery.colorbox.settings, { current: "ke {current} dari {total}", previous: "Sebelumnya", next: "Berikutnya", close: "Tutup", xhrError: "Konten ini tidak dapat dimuat.", imgError: "Gambar ini tidak da...
JavaScript
/* jQuery Colorbox language configuration language: Spanish (es) translated by: migolo */ jQuery.extend(jQuery.colorbox.settings, { current: "Imagen {current} de {total}", previous: "Anterior", next: "Siguiente", close: "Cerrar", xhrError: "Error en la carga del contenido.", imgError: "Error en la carga de la...
JavaScript
/* jQuery Colorbox language configuration language: Slovak (sk) translated by: Jaroslav Kostal */ jQuery.extend(jQuery.colorbox.settings, { current: "{current}. obrázok z {total}", previous: "Predchádzajúci", next: "Následujúci", close: "Zatvoriť", xhrError: "Obsah sa nepodarilo načítať.", imgError: "Obrázok s...
JavaScript
/* jQuery Colorbox language configuration language: Finnish (fi) translated by: Mikko */ jQuery.extend(jQuery.colorbox.settings, { current: "Kuva {current} / {total}", previous: "Edellinen", next: "Seuraava", close: "Sulje", xhrError: "Sisällön lataaminen epäonnistui.", imgError: "Kuvan lataaminen epäonnistui....
JavaScript
/* jQuery Colorbox language configuration language: Swedish (sv) translated by: Mattias Reichel */ jQuery.extend(jQuery.colorbox.settings, { current: "Bild {current} av {total}", previous: "Föregående", next: "Nästa", close: "Stäng", xhrError: "Innehållet kunde inte laddas.", imgError: "Den här bilden kunde in...
JavaScript
/* jQuery Colorbox language configuration language: Polski (pl) translated by: Tomasz Wasiński site: 2bevisible.pl */ jQuery.extend(jQuery.colorbox.settings, { current: "{current}. obrazek z {total}", previous: "Poprzedni", next: "Następny", close: "Zamknij", xhrError: "Nie udało się załadować treści.", imgEr...
JavaScript
/* jQuery Colorbox language configuration language: Turkish (tr) translated by: Caner ÖNCEL site: egonomik.com edited by: Sinan Eldem www.sinaneldem.com.tr */ jQuery.extend(jQuery.colorbox.settings, { current: "Görsel {current} / {total}", previous: "Önceki", next: "Sonraki", close: "Kapat", xhrError:...
JavaScript
/* jQuery Colorbox language configuration language: Estonian (et) translated by: keevitaja */ jQuery.extend(jQuery.colorbox.settings, { current: "{current}/{total}", previous: "eelmine", next: "järgmine", close: "sulge", xhrError: "Sisu ei õnnestunud laadida.", imgError: "Pilti ei õnnestunud laadida.", slides...
JavaScript
/* jQuery Colorbox language configuration language: Arabic (ar) translated by: A.Rhman Sayes */ jQuery.extend(jQuery.colorbox.settings, { current: "الصورة {current} من {total}", previous: "السابق", next: "التالي", close: "إغلاق", xhrError: "حدث خطأ أثناء تحميل المحتوى.", imgError: "حدث خطأ أثناء تحميل الصو...
JavaScript
/* jQuery Colorbox language configuration language: Dutch (nl) translated by: barryvdh */ jQuery.extend(jQuery.colorbox.settings, { current: "Afbeelding {current} van {total}", previous: "Vorige", next: "Volgende", close: "Sluiten", xhrError: "Deze inhoud kan niet geladen worden.", imgError: "Deze afbeelding k...
JavaScript
/* jQuery Colorbox language configuration language: Norwegian (no) translated by: lars-erik site: markedspartner.no */ jQuery.extend(jQuery.colorbox.settings, { current: "Bilde {current} av {total}", previous: "Forrige", next: "Neste", close: "Lukk", xhrError: "Feil ved lasting av innhold.", imgError: "Feil v...
JavaScript
/* jQuery Colorbox language configuration language: Brazilian Portuguese (pt-br) translated by: ReinaldoMT */ jQuery.extend(jQuery.colorbox.settings, { current: "Imagem {current} de {total}", previous: "Anterior", next: "Próxima", close: "Fechar", slideshowStart: "iniciar apresentação de slides", slideshowStop...
JavaScript
/* jQuery Colorbox language configuration language: Czech (cs) translated by: Filip Novak site: mame.napilno.cz/filip-novak */ jQuery.extend(jQuery.colorbox.settings, { current: "{current}. obrázek z {total}", previous: "Předchozí", next: "Následující", close: "Zavřít", xhrError: "Obsah se nepodařilo načíst.",...
JavaScript
/*! SWFObject v2.2 <http://code.google.com/p/swfobject/> is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> */ var swfobject = function() { var UNDEF = "undefined", OBJECT = "object", SHOCKWAVE_FLASH = "Shockwave Flash", SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlas...
JavaScript
BrowserHistoryUtils = { addEvent: function(elm, evType, fn, useCapture) { useCapture = useCapture || false; if (elm.addEventListener) { elm.addEventListener(evType, fn, useCapture); return true; } else if (elm.attachEvent) { var r = elm.attachEvent...
JavaScript
// Copyright 2008 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 ...
JavaScript
/* * Autocomplete - jQuery plugin 1.0.2 * * Copyright (c) 2007 Dylan Verheul, Dan G. Switzer, Anjesh Tuladhar, Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Revision: $Id: jquery.autocomplete....
JavaScript
/** * Ajax Queue Plugin * * Homepage: http://jquery.com/plugins/project/ajaxqueue * Documentation: http://docs.jquery.com/AjaxQueue */ /** <script> $(function(){ jQuery.ajaxQueue({ url: "test.php", success: function(html){ jQuery("ul").append(html); } }); jQuery.ajaxQueue({ url: "test.p...
JavaScript
Recruit.UI.key = 'ef4393b09d77dbc2'; var ABROADWidget = { results : false, templates : {}, elements : {}, update : null, version : "1.0", init : function() { var gv = function(i) { return ABROADWidget.pref.get(i); } var pd = {}; $.each(["Dept","Month","Order"],function(){ var i = this.toLowerCase(); i...
JavaScript
{ version : "1.0", download : "http://abroadair.googlecode.com/files/abroad10.air" }
JavaScript
//v1.7 // Flash Player Version Detection // Detect Client Browser type // Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved. var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false; var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false; var isOpera...
JavaScript
/* AIRAliases.js - Revision: 1.0 */ // Copyright 2007-2008 Adobe Systems Incorporated. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must re...
JavaScript
var localizedStrings = new Object; localizedStrings['select_area'] = unescape('%u30A8%u30EA%u30A2%u3092%u6307%u5B9A'); localizedStrings['select_country'] = unescape('%u56FD%u3092%u6307%u5B9A'); localizedStrings['select_city'] = unescape('%u90FD%u5E02%u3092%u6307%u5B9A'); localizedStrings['error_unknown'] = unescape('%...
JavaScript
/* * jQuery Form Plugin * version: 2.01 (10/31/2007) * @requires jQuery v1.1 or later * * Examples 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 * * Revision: $Id$ *...
JavaScript
/* * abroad.ui.js - UI library for AB-ROAD Web Service * AUTHOR: Toshimasa Ishibashi iandeth [at] gmail.com * VERSION: 1.00 */ // everything wrapped in jQuery - // same effect as jQuery.noConflict() for use with prototype.js (function($){ if( typeof( ABROAD ) != 'function' ) { ABROAD = function (){}; } if( ty...
JavaScript
{ version : "1.0.1", download : "http://abroadair.googlecode.com/files/abroad101.air" }
JavaScript
Recruit.UI.key = 'ef4393b09d77dbc2'; var ABROADWidget = { results : false, templates : {}, elements : {}, update : null, version : "1.0.1", init : function() { var gv = function(i) { return ABROADWidget.pref.get(i); } var pd = {}; $.each(["Dept","Month","Order"],function(){ var i = this.toLowerCase(); ...
JavaScript
/* AIRAliases.js - Revision: 1.0 */ // Copyright 2007-2008 Adobe Systems Incorporated. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must re...
JavaScript
var localizedStrings = new Object; localizedStrings['select_area'] = unescape('%u30A8%u30EA%u30A2%u3092%u6307%u5B9A'); localizedStrings['select_country'] = unescape('%u56FD%u3092%u6307%u5B9A'); localizedStrings['select_city'] = unescape('%u90FD%u5E02%u3092%u6307%u5B9A'); localizedStrings['error_unknown'] = unescape('%...
JavaScript
/* * jQuery Form Plugin * version: 2.01 (10/31/2007) * @requires jQuery v1.1 or later * * Examples 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 * * Revision: $Id$ *...
JavaScript
/* * abroad.ui.js - UI library for AB-ROAD Web Service * AUTHOR: Toshimasa Ishibashi iandeth [at] gmail.com * VERSION: 1.00 */ // everything wrapped in jQuery - // same effect as jQuery.noConflict() for use with prototype.js (function($){ if( typeof( ABROAD ) != 'function' ) { ABROAD = function (){}; } if( ty...
JavaScript
/* * jQuery selectbox plugin * * Copyright (c) 2007 Sadri Sahraoui (brainfault.com) * Licensed under the GPL license and MIT: * http://www.opensource.org/licenses/GPL-license.php * http://www.opensource.org/licenses/mit-license.php * * The code is inspired from Autocomplete plugin (http://www.dyve.ne...
JavaScript
/* jquery.combobox version 0.1.2.3 alpha ahura mazda copyright 2007 jquery.sanchezsalvador.com */ jQuery.fn.combobox = function(options) { // Setting class var settings = { comboboxContainerClass: null, comboboxValueContainerClass: null, comboboxValueContentClass: null, comboboxDropDownBut...
JavaScript
{ version : "1.0.1", download : "http://abroadair.googlecode.com/files/abroad101.air" }
JavaScript
Recruit.UI.key = 'ef4393b09d77dbc2'; var ABROADWidget = { results : false, templates : {}, elements : {}, update : null, version : "1.0.1", init : function() { var gv = function(i) { return ABROADWidget.pref.get(i); } var pd = {}; $.each(["Dept","Month","Order"],function(){ var i = this.toLowerCase(); ...
JavaScript
/* AIRAliases.js - Revision: 1.0 */ // Copyright 2007-2008 Adobe Systems Incorporated. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must re...
JavaScript
var localizedStrings = new Object; localizedStrings['select_area'] = unescape('%u30A8%u30EA%u30A2%u3092%u6307%u5B9A'); localizedStrings['select_country'] = unescape('%u56FD%u3092%u6307%u5B9A'); localizedStrings['select_city'] = unescape('%u90FD%u5E02%u3092%u6307%u5B9A'); localizedStrings['error_unknown'] = unescape('%...
JavaScript
/* * jQuery Form Plugin * version: 2.01 (10/31/2007) * @requires jQuery v1.1 or later * * Examples 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 * * Revision: $Id$ *...
JavaScript
/* * abroad.ui.js - UI library for AB-ROAD Web Service * AUTHOR: Toshimasa Ishibashi iandeth [at] gmail.com * VERSION: 1.00 */ // everything wrapped in jQuery - // same effect as jQuery.noConflict() for use with prototype.js (function($){ if( typeof( ABROAD ) != 'function' ) { ABROAD = function (){}; } if( ty...
JavaScript
/* * jQuery selectbox plugin * * Copyright (c) 2007 Sadri Sahraoui (brainfault.com) * Licensed under the GPL license and MIT: * http://www.opensource.org/licenses/GPL-license.php * http://www.opensource.org/licenses/mit-license.php * * The code is inspired from Autocomplete plugin (http://www.dyve.ne...
JavaScript
/* jquery.combobox version 0.1.2.3 alpha ahura mazda copyright 2007 jquery.sanchezsalvador.com */ jQuery.fn.combobox = function(options) { // Setting class var settings = { comboboxContainerClass: null, comboboxValueContainerClass: null, comboboxValueContentClass: null, comboboxDropDownBut...
JavaScript
/** * Code needed to clone nested relations forms * @plugin ahDoctrineEasyEmbeddedRelationsPlugin * @author Krzysztof Kotowicz <kkotowicz at gmail dot com> */ (function($) { /** * Increments field IDs and names by one */ $.fn.incrementFields = function(container) { return this.each(function() { var name...
JavaScript
/* * jQuery Autocomplete plugin 1.1 * * Copyright (c) 2009 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Revision: $Id: jquery.autocomplete.js 15 2009-08-22 10:30:27Z joern.zaefferer $ */ ;(...
JavaScript
//sfAdminThemePlugin javascript var image_dir = '../images/sf_admin/'; //adjust table to fit filters if they exist jQuery(function() { if (jQuery('#sf_admin_bar').size()) { var filter_width = jQuery('#sf_admin_bar').width() + 25; jQuery('.sf_admin_list').css('padding-right', filter_width); //add filte...
JavaScript
/** * Code needed to clone nested relations forms * @plugin ahDoctrineEasyEmbeddedRelationsPlugin * @author Krzysztof Kotowicz <kkotowicz at gmail dot com> */ (function($) { /** * Increments field IDs and names by one */ $.fn.incrementFields = function(container) { return this.each(function() { var name...
JavaScript
function emailCheck (emailStr) { var checkTLD=1; var knownDomsPat=/^(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum)$/; var emailPat=/^(.+)@(.+)$/; var specialChars="\\(\\)><@,;:\\\\\\\"\\.\\[\\]"; var validChars="\[^\\s" + specialChars + "\]"; var quotedUser="(\"[^\"...
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 */ ...
JavaScript
(function( $ ) { $.widget("metro.treeview", { version: "1.0.0", options: { onNodeClick: function(node){ }, onNodeCollapsed: function(node){}, onNodeExpanded: function(node){} }, _create: function(){ var that...
JavaScript
/// console.log("Start to load custom js code............"); ///////////////////////// String.prototype.startsWith = function(str) { return this.indexOf(str) === 0; }; ///////////////////////// function loadStyle(url, callback) { var link = document.createElement('link'); link.type = 'text/css'; ...
JavaScript
/*! * jQuery xpathFinder v1.0.7 * http://www.mashupeye.com/ * * Copyright 2011, MashupEye * GPL Version 2 licenses. * * Date: Thu Sep 3 23:17:53 2011 */ (function($) { $.fn.getQuery = function(options) { o = $.extend({ type : 'xpath', highLight : false, fullPath : false, preference...
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: 2011-02-09 ...
JavaScript
/* Default class modification */ $.extend($.fn.dataTableExt.oStdClasses, { "sSortAsc" : "sorting_asc", "sSortDesc" : "sorting_desc", "sSortable" : "sorting" }); /* API method to get paging information */ $.fn.dataTableExt.oApi.fnPagingInfo = function(oSettings) { return { "iStart" : oSettings._iDisplayStart, "...
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
/* * jQuery Hotkeys Plugin * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * * Based upon the plugin by Tzury Bar Yochay: * http://github.com/tzuryby/hotkeys * * Original idea by: * Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/ */ (function(jQuery){ ...
JavaScript
$.fn.serializeObject = function() { var o = {}; var a = this.serializeArray(); $.each(a, function() { if (o[this.name] !== undefined) { if (!o[this.name].push) { o[this.name] = [ o[this.name] ]; } o[this.name].push(this.value || ''); } else { o[this.name] = this.value || ''; } }); return o; ...
JavaScript
/* ===================================================================================== SCORM wrapper v1.1.7 by Philip Hutchison, May 2008 (http://pipwerks.com). Copyright (c) 2008 Philip Hutchison MIT-style license. Full license text can be found at http://www.opensource.org/licenses/mit-license.php Thi...
JavaScript
function startCourse() { // check to see if cookies is enabled, otherwise, this won't work if( typeof sessionStorage == "undefined" || sessionStorage.disabled ) { alert( "You must enable cookies for this course to work properly." ); } else { ...
JavaScript
function submitQuiz1() { var numberCorrect = 0; var q1=document.forms.quiz1.question1; if (q1[0].checked == true) { numberCorrect= numberCorrect+1; } var q2= document.forms.quiz1.question2; if(q2[1].checked==true) { numberCorrect=numberCorrect+1; } var q3=document.forms.quiz1.question3;...
JavaScript
/** * 业务平台基类 */ var sps = sps || {}; /** * 全局引用,大部分情况下为'window' */ sps.global = this; /** * JS基本目录 */ sps.baseJsPath = BASE_JS_PATH || './'; /** * CSS基本目录 */ sps.baseCssPath = BASE_THEME_PATH || 'theme/default/'; /** * 空函数,什么事都不做,可用于默认回调函数等 * * @return {void} 空 */ sps.fGo = f...
JavaScript
var deps = {}; /** * 添加依赖 */ sps.addDependency = function (name, src, dependency) { var d = deps[name] = { }; d.src = src; dependency && (d.deps = dependency); }; /* GIS */ sps.addDependency('sps.gis.supermap.MapControl', 'gis/mapControl.js'); sps.addDependency('sps.gis.supermap.Map',...
JavaScript
if (!window.sps) { window.sps = {}; } ; if (!sps.ui) { sps.ui = {}; } ; sps.ui.mapControl = null; sps.ui.map = null; sps.ui.scene = null; function initUI() { Ext.Loader.setConfig({ enabled: true }); Ext.create("Ext.Viewport", { layout: 'border', items: [{ ...
JavaScript
Type.registerNamespace("SuperMap.Web.Mapping"); SuperMap.Web.Mapping.DynamicRESTLayer = function() { SuperMap.Web.Mapping.DynamicRESTLayer.initializeBase(this); this._bgColor = ""; this._transparent = false; this._time; this._exceptions; this._dynamicImage = null; this._width; this._height; this._typ...
JavaScript
Type.registerNamespace("SuperMap.Web.Resources"); SuperMap.Web.Resources.Resource = function() { }; SuperMap.Web.Resources.Resource.locale = "zh_cn"; SuperMap.Web.Resources.Resource.getMessage = function(bundleName, key, message) { var res = eval(bundleName + "." + SuperMap.Web.Resources.Resource.locale + "." ...
JavaScript
//debugger; function _IncludeScript(inc){ var script = '<' + 'script type="text/javascript" src="../Scripts/Libs/SuperMap/' + inc + '"' + '><' + '/script>'; document.writeln(script); } function _GetBrowser(){ var ua=navigator.userAgent.toLowerCase(); if(ua.indexOf('opera')!=-1)return'opera'; else ...
JavaScript