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
/* ***** 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/ * ...
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
define('ace/mode/groovy', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/javascript', 'ace/tokenizer', 'ace/mode/groovy_highlight_rules'], function(require, exports, module) { var oop = require("../lib/oop"); var JavaScriptMode = require("./javascript").Mode; var Tokenizer = require("../tokenizer").Tokeni...
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 ***** * The Original Code is Ajax.org Code Editor (ACE). * * Contributor(s): * Jonathan Camile <jonathan.camile AT gmail DOT com> * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the...
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
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
/******************** *System js Chinese Language Pack ********************/ var lang = { 'delnotice':'Are you sure you want to delete the data?', 'auditnotice':'Determine audit through?', 'unnotice':'You cancelled the operation!', 'nocolor':'No color', 'add':'Add', 'edit':'Edit', 'login':'L...
JavaScript
/******************** *系统js中文语言包 ********************/ var lang = { 'delnotice':'确定要删除数据吗?', 'auditnotice':'确定审核通过吗?', 'unnotice':'您取消了操作!', 'nocolor':'无颜色', 'add':'添加', 'edit':'编辑', 'login':'登录', 'audit':'审核', 'grant':'授权', 'pselect':'请选择记录', 'submit':'提交', 'opersuccess':'操作成...
JavaScript
// BigInt, a suite of routines for performing multiple-precision arithmetic in // JavaScript. // // Copyright 1998-2005 David Shapiro. // // You may use, re-use, abuse, // copy, and modify this code to your liking, but please keep this header. // Thanks! // // Dave Shapiro // dave@ohdave.com // IMPORTANT T...
JavaScript
var $lang={ errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?", aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00...
JavaScript
var $lang={ errAlertMsg: "Invalid date or the date out of range,redo or not?", aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"], aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Se...
JavaScript
var $lang={ errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?", aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @site http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php ************************...
JavaScript
/*! * artDialog 4.1.6 * Date: 2012-07-16 22:57 * http://code.google.com/p/artdialog/ * (c) 2009-2012 TangBin, http://www.planeArt.cn * * This is licensed under the GNU LGPL, version 2.1 or later. * For details, see: http://creativecommons.org/licenses/LGPL/2.1/ */ ;(function ($, window, undefined) { $.noop = ...
JavaScript
var isdebugging = false;//是否调试JS var dataType = isdebugging?'text':'json'; function setLang(t){ var lang = $(t).val(); var win = $.dialog.top; var myDialog = win.$.dialog({fixed:true,lock:true,drag:false}); $.ajax({type: "POST",dataType:dataType,url: win.siteaurl+'/main/setlang',data: 'lang='+lang, success...
JavaScript
$(document).ready(function(){ $(".keful").mouseover(function(){ $(".keful").hide(); $(".kefur").show(); }); $(".kefucolose").click(function(){ $(".kefur").hide(); $(".keful").show(); }); }); function subGuestBook(url){ if($("#guestbook").validform('validall')){ $("#guestbook").attr('action'...
JavaScript
/* * FeatureList - simple and easy creation of an interactive "Featured Items" widget * Examples and documentation at: http://jqueryglobe.com/article/feature_list/ * Version: 1.0.0 (01/09/2009) * Copyright (c) 2009 jQueryGlobe * Licensed under the MIT License: http://en.wikipedia.org/wiki/MIT_License * Requires: ...
JavaScript
function emptyValidate(form){ var list_1=form.getElementsByTagName('input'); for(var i=0;i< list_1.length;i++){ if(list_1[i].getAttribute('type')=="text"|| list_1[i].getAttribute('type')=="password"){ if(list_1[i].getAttribute('class')=="require"){ var result...
JavaScript
// JavaScript Document function onMap(){ //经纬度,全局变量 var latLng; $('body').append('<div id="dialog"></div>'); $('#dialog').append('<div class="item gradient ui-corner-all"><div id="map_canvas">map can not show!</div></div>'); openDialog(); $('#map_canvas').gmap( { 'cen...
JavaScript
function loadImage(sender){ var objPreview = document.getElementById( 'preview' ).cloneNode(false); var objPreviewFake = document.getElementById( 'preview_fake' ).cloneNode(false); objPreviewFake.appendChild(objPreview); var list=sender.parentNode.getElementsByTagName('div'); sender.parentNode...
JavaScript
/* * * jQuery Timer plugin v0.1 * Matt Schmidt [http://www.mattptr.net] * * Licensed under the BSD License: * http://mattptr.net/license/license.txt * */ jQuery.timer = function (interval, callback) { /** * * timer() provides a cleaner way to handle intervals * * @usage * $.timer(interval, c...
JavaScript
(function(){ window.shSetup = window.shSetup || {}; shSetup.userCSS = shSetup.userCSS || ""; shSetup.libs = shSetup.libs || ['shBrushGroovy.js', 'shBrushXml.js','shBrushJScript.js', 'shBrushBash.js', 'shBrushDiff.js', 'shBrushPython.js', 'shBrushSql.js', 'shBrushCpp.js', 'shBrushCss.js', 'shBrushJava.js'...
JavaScript
(function(){ if (!shSetup.jQuery) jQuery.noConflict(); jQuery(document).ready(function(){ jQuery("blockquote").each( function() { var temp = jQuery(this).html(); var starter = "###"; if (starter.substring(0, starter.length) == starter) { temp = temp.replace(/\n/gi, ""); ...
JavaScript
/* * Thickbox 3.1 - One Box To Rule Them All. * By Cody Lindley (http://www.codylindley.com) * Copyright (c) 2007 cody lindley * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php * * Patched Version by Jamie Thompson - Fixes IE7 Positioning Issues * http://jamazon.co.uk/w...
JavaScript
 if(window.addEventListener) window.addEventListener('DOMMouseScroll', handleWheel, false); window.onmousewheel = document.onmousewheel = handleWheel; if (window.attachEvent) window.attachEvent("onmousewheel", handleWheel); function handleWheel(event){ try{ if(!window.document.re...
JavaScript
/* begin Page */ /* */ (function() { // fix ie blinking var m = document.uniqueID && document.compatMode && !window.XMLHttpRequest && document.execCommand; try { if (!!m) { m('BackgroundImageCache', false, true); } } catch (oh) { }; // css helper var u = navigator.userAgent.toLo...
JavaScript
/* begin Page */ /* */ (function() { // fix ie blinking var m = document.uniqueID && document.compatMode && !window.XMLHttpRequest && document.execCommand; try { if (!!m) { m('BackgroundImageCache', false, true); } } catch (oh) { }; // css helper var u = navigator.userAgent.toLo...
JavaScript
/* Form Manager: A simple method of constructing complex dynamic forms. Written by Twey, http://www.twey.co.uk/. Use, copying, and modification allowed, so long as credit remains intact, under the terms of the GNU General Public License, version 2 or later. See http://www.gnu.org/copyleft/gpl.html for details. */ ...
JavaScript
/*! * jQuery Form Plugin * version: 2.84 (12-AUG-2011) * @requires jQuery v1.3.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 */ ;(functi...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ tinyMCE.init({ mode : "textareas", // =========================================== // !!! [DO NOT FORGET TO SET THEME TO ADVANCED] // =========================================== theme : "advanced", sk...
JavaScript
/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:true, undef:true, curly:false, browser:true, jquery:false */ /*global jQuery BackgroundHelper */ // css helper (function ($) { 'use strict'; var data = [ { str: navigator.userAgent, sub: 'Chrome', ver: 'Chrome', n...
JavaScript
/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:true, undef:true, curly:false, browser:true, jquery:false */ /*global jQuery */ var responsiveDesign = { isResponsive: false, isDesktop: false, isTablet: false, isPhone: false, windowWidth: 0, responsive...
JavaScript
/* Copyright 2010 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,...
JavaScript
/* Copyright 2010 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,...
JavaScript
function polling_task() { check_message(); } function check_message() { console.log("check_message"); data = loadFile('http://127.0.0.1/~yishii/kobe_hackathon/test.txt'); // data = loadFile('http://192.168.254.101/~yishii/kobe_hackathon/test.txt'); console.log(data); } function loadFile(fil...
JavaScript
/* Copyright(c) 2010 Sencha Inc. licensing@sencha.com http://www.sencha.com/touchlicense */ if (typeof Ext === "undefined") { Ext = {}; } Ext.apply = (function() { for(var key in {valueOf:1}) { return function(object, config, defaults) { if (defaults) { ...
JavaScript
/* * jTweetsAnywhere V1.2.1 * http://thomasbillenstein.com/jTweetsAnywhere/ * * Copyright 2010, Thomas Billenstein * Licensed under the MIT license. * http://thomasbillenstein.com/jTweetsAnywhere/license.txt */ (function($) { $.fn.jTweetsAnywhere = function(options) { // setup the default options...
JavaScript
// ここにメインエンジン /* グローバル変数 */ // Twitter関連 var consumerKey = "uVQoMFwJuwSNJ7s4IECwA"; var consumerSecret = "Q6puiy2c3PLjQVs7qCrR0CahHcESXqzeTjgHl4E"; var accessToken = undefined; var accessTokenSecret = undefined; var T = undefined; function init() { twttr.anywhere(onAnywhereLoad); function...
JavaScript
(function(root) { var $ = root.jQuery; var BlockCookieName = 'azk-blocks'; var VoteEvent = { upvote: 10, downvote: 11, uninteresting: 12, misleading: 13, offensive: 14, repetitive: 15, other: 16, close: 17 }; var VotingMode = { downU...
JavaScript
(function(root) { var $ = root.jQuery; var BlockCookieName = 'azk-blocks'; var VoteEvent = { upvote: 10, downvote: 11, uninteresting: 12, misleading: 13, offensive: 14, repetitive: 15, other: 16, close: 17 }; var VotingMode = { downU...
JavaScript
(function(root) { var $ = root.jQuery; var BlockCookieName = 'azk-blocks'; var VoteEvent = { upvote: 10, downvote: 11, uninteresting: 12, misleading: 13, offensive: 14, repetitive: 15, other: 16, close: 17 }; var VotingMode = { downU...
JavaScript
/*! AutoResize v1.18.4 - 2014-01-11 Automatically adjust textarea height based on user input. (c) 2014 Jack Moore - http://www.jacklmoore.com/autosize Originally altered by mdawaffe. Current version altered by pento. license: http://www.opensource.org/licenses/mit-license.php */ (function ($) { var defaults = {...
JavaScript
var wpcom_mobile_user_agent_info = { PLATFORM_WINDOWS : 'windows', PLATFORM_IPHONE : 'iphone', PLATFORM_IPOD : 'ipod', PLATFORM_IPAD : 'ipad', PLATFORM_BLACKBERRY : 'blackberry', PLATFORM_BLACKBERRY_10 : 'blackberry_10', PLATFORM_SYMBIAN : 'symbian_series60', PLATFORM_SYMBIAN_S40 : 'symbian_series40'...
JavaScript
/* Detect-zoom * ----------- * Cross Browser Zoom and Pixel Ratio Detector * Version 1.0.4 | Apr 1 2013 * dual-licensed under the WTFPL and MIT license * Maintained by https://github/tombigel * Original developer https://github.com/yonran */ //AMD and CommonJS initialization copied from https://github.com/zohar...
JavaScript
/** The MIT License Copyright (c) 2010 Daniel Park (http://metaweb.com, http://postmessage.freebaseapps.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...
JavaScript
window['___jsl'] = window['___jsl'] || {};(window['___jsl']['ci'] = (window['___jsl']['ci'] || [])).push({"rpc":{"commSwf":"//xpc.googleusercontent.com/gadgets/xpc.swf","passReferrer":"p2c:query","parentRelayUrl":"/rpc_relay.html"},"core.io":{"jsonProxyUrl":"//%host%/gadgets/makeRequest","proxyUrl":"//www.gmodules.com/...
JavaScript
var Community = { init: function() { cur.Rpc = new fastXDM.Client({ onInit: function() { setTimeout(function () { Community.resizeWidget(); }, 500); }, authorised: function (args) { var href = location.href; if (href.indexOf('fieldText=') != -1) href = href.replace(/fieldT...
JavaScript
(function(w) { if (w.fastXDM) return; var handlers = {}; var onEnvLoad = []; var env = {}; // Key generation function genKey() { var key = ''; for (i=0;i<5;i++) key += Math.ceil(Math.random()*15).toString(16); return key; } function waitFor(obj, prop, func, self, count) { if (obj[prop]) { func.apply(sel...
JavaScript
(function(w) { if (w.fastXDM) return; var handlers = {}; var onEnvLoad = []; var env = {}; // Key generation function genKey() { var key = ''; for (i=0;i<5;i++) key += Math.ceil(Math.random()*15).toString(16); return key; } function waitFor(obj, prop, func, self, count) { if (obj[prop]) { func.apply(sel...
JavaScript
function fireNetSeerTrigger() { window.netseer_fire_on_trigger = null; netseerMainFunction(window); } function netseerMainFunction (lw) { var netseer_ap = "netseer_carrier_id netseer_lat netseer_long netseer_country netseer_city netseer_zip netseer_region netseer_dma netseer_device_type netseer_plat...
JavaScript
(function(root) { var $ = root.jQuery; var BlockCookieName = 'azk-blocks'; var VoteEvent = { upvote: 10, downvote: 11, uninteresting: 12, misleading: 13, offensive: 14, repetitive: 15 }; root.azRegisterExtension('adFeedback', function(divName, pixels) { if ...
JavaScript
window['___jsl'] = window['___jsl'] || {};(window['___jsl']['ci'] = (window['___jsl']['ci'] || [])).push({"rpc":{"commSwf":"//xpc.googleusercontent.com/gadgets/xpc.swf","passReferrer":"p2c:query","parentRelayUrl":"/rpc_relay.html"},"core.io":{"jsonProxyUrl":"//%host%/gadgets/makeRequest","proxyUrl":"//www.gmodules.com/...
JavaScript
(function () { var host = window.location.hostname; var port = window.location.port; var videoPlugin; var videoStream; var audioPlugin; var audioStream; var error; var volume; function stream(object,type,done) { var state = "idle"; return { restart:...
JavaScript
(function () { var translations = { en: { 1:"About", 2:"Return", 3:"Change quality settings", 4:"Flash/Vibrator", 5:"Click on the torch to enable or disable the flash", 6:"Play a prerecorded sound", 7:"Connect !!", 8:"...
JavaScript
document.createElement('header'); document.createElement('nav'); document.createElement('section'); document.createElement('article'); document.createElement('aside'); document.createElement('footer'); document.createElement('hgroup'); $(document).ready(function () { $('.section-content,#status-container').addClas...
JavaScript
// validate search form to make sure keyword is not empty function validateSearch(form){ // return false if search query is empty if(form.txtKeyword.value == ""){ alert("Search keyword is required"); return false; } return true; } // validate the quantity entered by user function validat...
JavaScript
/* * This javascript can be used within Firebug to extract values from the weekly pages on www.hundredpushups.com * Requires jQuery on the page. Can be "installed" via bookmarklet @ http://www.learningjquery.com/2009/04/better-stronger-safer-jquerify-bookmarklet */ var workout = {'easy':[],'mid':[],'hard':[]}; var...
JavaScript
/* * jQuery Mobile Framework 1.0 * http://jquerymobile.com * * Copyright 2011 (c) jQuery Project * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * */ /*! * jQuery UI Widget @VERSION * * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL ...
JavaScript