code
stringlengths
1
2.08M
language
stringclasses
1 value
$(document).ready(function(){ // fadeout flash messages on click $('.cancel').click(function(){ $(this).parent().fadeOut(); return false; }); // fade out good flash messages after 3 seconds $('.flash_good').animate({opacity: 1.0}, 3000).fadeOut(); });
JavaScript
var objUser = { objData: {}, checkAuth: function(callback) { var _self = this; objApi.get({ url: "/user/status", success: function(data) { console.log(data); _self.objData = data.data; callback(true); }, error: function(data){ callback(false); } }); }, login:...
JavaScript
var objFs = { newFolder: function(){ }, uploadFile: function(params){ var objFormData = new FormData($('#upload-dialog form')[0]); console.log(params); for(var key in params.data) { console.log(key + " " + params.data[key]); objFormData.append(key, params.data[key]); } $.ajax({ ...
JavaScript
var obj = { test: "value", //a test value /* function header * with descritpion */ func: function() { //blabal } }; console.log(obj);
JavaScript
var strPath = "{/literal}{$strPath}{literal}"; var strCurrentId = 0; objUser.checkAuth(function(loggedin){ if(loggedin == false) { document.location = "/login"; } else { jQuery("#blocker").hide(); } }); jQuery(function(){ var strHtml = '<a href="/main">Hauptverzeichniss</a>'; var aryPathPart...
JavaScript
jQuery(function(){ //if the user was logged in log out objUser.logout(false); //hide the blocker div jQuery('#blocker').hide(); jQuery('#login-button').click(function(){ //remove all errors jQuery('.error').removeClass("error"); //check all inputs and set errors jQuery('input').each(function...
JavaScript
var objApi = { get: function(data){ data.type = "GET"; this._makeRequest(data); }, post: function(data){ data.type = "POST"; this._makeRequest(data); }, _makeRequest: function(data){ data.url = "/api" + data.url; data.error = data.error || this._handleError; if(typeof(data.success) ==...
JavaScript
//<script> ////////////////// // Helper Stuff // ////////////////// // used to find the Automation server name function getDomDocumentPrefix() { if (getDomDocumentPrefix.prefix) return getDomDocumentPrefix.prefix; var prefixes = ["MSXML2", "Microsoft", "MSXML", "MSXML3"]; var o; for (var i = 0; i < prefixes.le...
JavaScript
/* This notice must be untouched at all times. wz_jsgraphics.js v. 2.3 The latest version is available at http://www.walterzorn.com or http://www.devira.com or http://www.walterzorn.de Copyright (c) 2002-2004 Walter Zorn. All rights reserved. Created 3. 11. 2002 by Walter Zorn (Web: http://www.walterzorn.com ) Las...
JavaScript
/* http://www.JSON.org/json2.js 2009-09-29 Public Domain. NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. See http://www.JSON.org/js.html This file creates a global JSON object containing two methods: stringify and parse. JSON.stringify(value, replacer, space) ...
JavaScript
function search(){ var url=urlpart+"?panelName=searchPanel&screenName="+screenName; if(document.getElementById("sempid")) url=url+'&sempid='+document.getElementById("sempid").value; if(document.getElementById("sempname")) url=url+'&sempname='+document.getElementById("sempname").value; if(document....
JavaScript
function populate() { //alert("This alert box was called with the onload event"); if((!(whereClause == ""))){ var url=retriveurlpart+"?panelName=searchPanel&screenName="+screenName; url=url+"&whereClause="+ whereClause; //alert("In message: whereClause=" + whereClause); // prompt("url",url); ...
JavaScript
var xmlHttpReq = false; function xmlhttpPost() { if(xmlHttpReq)return; xmlHttpReq = false; var self = this; // Mozilla/Safari if (window.XMLHttpRequest) { self.xmlHttpReq = new XMLHttpRequest(); } // IE else if (window.ActiveXObject) { self.xmlHttpReq = new Active...
JavaScript
/* * Copyright (c) 2012 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
/* ***** 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
/* * Copyright (c) 2012 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
/* ***** 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
/* * Copyright (c) 2012 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
/* ***** 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
/* * Copyright 2012 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
/* ***** 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
/* * Copyright (c) 2012 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
/* ***** 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
window.org_indp_vaadinace_SourceCodeField = function () { var element = this.getElement(); var rpcProxy = this.getRpcProxy(); var editor = ace.edit(element); editor.setValue(' '); var self = this; // todo uncomment after they fix http://dev.vaadin.com/ticket/10946 // editor.getSession().on('cha...
JavaScript
/*! * Galleria v 1.1.95 2010-08-06 * http://galleria.aino.se * * Copyright (c) 2010, Aino * Licensed under the MIT license. */ (function() { var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b__super\b/ : /.*/, Class = function(){}, window = this; Class.extend = function(prop) { ...
JavaScript
/*! * Galleria History Plugin v 1.0 * http://galleria.aino.se * * Original Copyright (c) 2009-2010 Rostislav Hristov * Modified by Aino (c) 2010 * * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * */ (function($) { var G = window.Galleria; if (typeof G == 'un...
JavaScript
/*! * Galleria SlideShowPro Plugin v 1.1 * http://galleria.aino.se * * Copyright 2010, Aino * Licensed under the MIT license. */ (function() { var G = window.Galleria; if (typeof G == 'undefined') { return; } var S = G.SSP = function(url) { var query = "select * from xml where url='" + url + "' lim...
JavaScript
/*! * Galleria Flickr Plugin v 1.1 * http://galleria.aino.se * * Copyright 2010, Aino * Licensed under the MIT license. */ (function() { var G = window.Galleria; if (typeof G == 'undefined') { return; } var F = G.Flickr = function(api_key) { if (!api_key) { G.raise('No API key found'); ...
JavaScript
/*! * Galleria Classic Theme * http://galleria.aino.se * * Copyright (c) 2010, Aino * Licensed under the MIT license. */ (function($) { Galleria.addTheme({ name: 'classic', author: 'Galleria', version: '1.2', css: 'galleria.classic.css', defaults: { transition: 'slide', show_...
JavaScript
/*! * Galleria Fullscreen Theme * http://galleria.aino.se * * Copyright (c) 2010, Aino * Licensed under the MIT license. */ (function($) { Galleria.addTheme({ name: 'fullscreen', author: 'Galleria', version: '2.0', css: 'galleria.fullscreen.css', defaults: { transition: 'none', ...
JavaScript
/*! * Galleria Dots Theme * http://galleria.aino.se * * Copyright (c) 2010, Aino * Licensed under the MIT license. */ (function($) { Galleria.addTheme({ name: 'dots', author: 'Galleria', version: '1.1', css: 'galleria.dots.css', defaults: { transition: 'slide', transition_spe...
JavaScript
function toggle_private() { // Search for any private/public links on this page. Store // their old text in "cmd," so we will know what action to // take; and change their text to the opposite action. var cmd = "?"; var elts = document.getElementsByTagName("a"); fo...
JavaScript
function toggle_private() { // Search for any private/public links on this page. Store // their old text in "cmd," so we will know what action to // take; and change their text to the opposite action. var cmd = "?"; var elts = document.getElementsByTagName("a"); fo...
JavaScript
(function($){ function qstring(name) { name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(location.search); return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));...
JavaScript
/** * Script para transformar texto em Input, para atualizar sem sair da pagina */ $('#tipodespesa').click(function(){ $this = $(this) $this.replaceWith( $('<input />').val( $this.text()) ) })
JavaScript
(function(){ var DataTable = $.fn.dataTable; var sort_prefix = 'css_right ui-icon ui-icon-'; var toolbar_prefix = 'fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix ui-corner-'; /* Set the defaults for DataTables initialisation */ $.extend( true, DataTable.defaults, { dom: '<"'+toolbar_prefix+'tl ui-corne...
JavaScript
/** * autoNumeric.js * @author: Bob Knothe * @author: Sokolov Yura * @version: 1.9.22 - 2014-04-20 GMT 7:00 PM * * Created by Robert J. Knothe on 2010-10-25. Please report any bugs to https://github.com/BobKnothe/autoNumeric * Created by Sokolov Yura on 2010-11-07 * * Copyright (c) 2011 Robert J. Knothe http://www.dec...
JavaScript
/** This is a JavaScript library that will allow you to easily add some basic DHTML drop-down datepicker functionality to your Notes forms. This script is not as full-featured as others you may find on the Internet, but it's free, it's easy to understand, and it's easy to change. You'll also want to include a ...
JavaScript
var imageUrl = "/public-domain-images/trees.png" var numIterations = 3 var iterationReward = 0.02 var minVotes = 2 var text = "" var blockWorkers = new Set() for (var i = 0; i < numIterations; i++) { // improve text var newText = improveText(imageUrl, text, iterationReward, blockWorkers ) pri...
JavaScript
print("Hello World") print("Your balance is: " + mturkBase.getAccountBalance()) print("MTurk says:") print(mturk.prompt("enter a short greeting message"))
JavaScript
/** * Prints s to the output buffer. */ function print(s) { __java.print(s) } /** * Prints s if props.verbose is true. */ function verbosePrint(s) { if (props.verbose) { print(s) } } /** * Makes a REST request to MTurk, and returns the result as an XML object. */ function mTurkRestRequ...
JavaScript
/** * This module contains wrappers around webpageBase functions using once. * You probably want this, so that your webpages are only created once, * even though your script will probably crash and rerun many times. */ webpage = {} /** Wraps {@link webpageBase.create} in a call to {@link once}. You...
JavaScript
(function () { function initFrame(frame) { if (frame.nextFrame) frame.nextFrame = 0 if (frame.forks) frame.forks = 0 return frame } var frameStack = [] frameStack.push(initFrame(ensure(__db, ["crashAndRerun"]))) getCrashAndRerunFrame = function () { return last(frameStack) } functio...
JavaScript
/** * This module contains wrappers around mturkBase functions using once. * You probably want this, so that your HITs are only created once, * even though your script will probably crash and rerun many times. * */ mturk = {} /** * Calls {@link mturkBase.createHIT} inside of {@link once}. */ mturk...
JavaScript
/** * Resets the database. */ function resetDatabase(){ print("deleting HITs created in this TurKit script...") foreach(ensure(__db, ["hits"]), function(hitRecord, hitId){ props.mode = hitRecord.mode mturkBase.deleteHIT(hitId) }) print("clearing db...") db = {} ...
JavaScript
(function () { /** * This module contains helper functions for making REST requests to Mechanical Turk. * * Note that it uses the AWS access keys supplied in props, * as well as the mode (either "real" or "sandbox"). */ mturkBase = {} mturkBase.assertWeCanSpend = function(money, hits, callbac...
JavaScript
/** * This module contains functions for creating and communicating with webpages * that will be servered from the TurKit server. */ webpageBase = {} /** Creates a publicly accessible webpage with the given contents. Returns the URL to the webpage. You can block one or more turkers from doing this ...
JavaScript
ensure(null, 'hits', {}) foreach(mturkBase.getReviewableHITs(), function (hit) { hits[hit] = true })
JavaScript
print("Hello World") print("Your balance is: " + mturkBase.getAccountBalance()) print("MTurk says:") print(mturk.prompt("enter a short greeting message"))
JavaScript
// adapted: http://snippets.dzone.com/posts/show/4349 function getXPath(node) { return "/" + getXPathHelper(node, []).join("/") } function getXPathHelper(node, path) { path = path || []; if(node.parentNode) { path = getXPathHelper(node.parentNode, path); } if(n...
JavaScript
// from: http://ajaxian.com/archives/handling-tabs-in-textareas // // use: <textarea onkeypress="checkTab(event)">hello world</textarea> // Set desired tab- defaults to four space softtab var tab = " "; function checkTab(evt) { var t = evt.target; var ss = t.selectionStart; var se = t.sel...
JavaScript
// this file has been modified by Greg Little // documentation: http://xmljs.sourceforge.net/website/documentation-classicdom.html // ========================================================================= // // xmldom.js - an XML DOM parser in JavaScript. // // This is the classic DOM that has shipped with XML...
JavaScript
// the original file comes from http://ejohn.org/files/jsdiff.js, // but I have modified it /* * Javascript Diff Algorithm * By John Resig (http://ejohn.org/) * Modified by Chu Alan "sprite" * * More Info: * http://ejohn.org/projects/javascript-diff-algorithm/ */ (function () { function escape(s)...
JavaScript
// unless otherwise stated (above a function definition) // these functions were written by myself, Greg Little, // and I release them into the public domain. function pairs(a) { var b = [] foreach(a, function (v, k) { b.push([k, v]) }) return b } function sortedPairs(a, func) { ...
JavaScript
// =================================================================== // Author: Matt Kruse <matt@mattkruse.com> // WWW: http://www.mattkruse.com/ // // NOTICE: You may use this code for any purpose, commercial or // private, without any further permission from the author. You may // remove this notice from your...
JavaScript
// from: http://snippets.dzone.com/posts/show/4349 function getXPath(node, path) { path = path || []; if(node.parentNode) { path = getXPath(node.parentNode, path); } if(node.previousSibling) { var count = 1; var sibling = node.previousSibling ...
JavaScript
// ========================================================================= // // xmlsax.js - an XML SAX parser in JavaScript. // // version 3.1 // // ========================================================================= // // Copyright (C) 2001 - 2002 David Joham (djoham@yahoo.com) and Scott Severtson // // This ...
JavaScript
/* http://www.JSON.org/json2.js 2008-03-24 Public Domain. NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. See http://www.JSON.org/js.html This file creates a global JSON object containing three methods: stringify, parse, and quote. JSON.stringify(value, re...
JavaScript
// from: http://ajaxian.com/archives/handling-tabs-in-textareas // // use: <textarea onkeypress="checkTab(event)">hello world</textarea> // Set desired tab- defaults to four space softtab var tab = " "; function checkTab(evt) { var t = evt.target; var ss = t.selectionStart; var se = t.sel...
JavaScript
/* * Treeview 1.4 - jQuery plugin to hide and show branches of a tree * * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ * http://docs.jquery.com/Plugins/Treeview * * Copyright (c) 2007 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-li...
JavaScript
// unless otherwise stated (above a function definition) // these functions were written by myself, Greg Little, // and I release them into the public domain. function pairs(a) { var b = [] foreach(a, function (v, k) { b.push([k, v]) }) return b } function sortedPairs(a, func) { ...
JavaScript
// jQuery Context Menu Plugin // // Version 1.01 // // Cory S.N. LaViska // A Beautiful Site (http://abeautifulsite.net/) // // More info: http://abeautifulsite.net/2008/09/jquery-context-menu-plugin/ // // Terms of Use // // This plugin is dual-licensed under the GNU General Public License // and the MIT...
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
// // Version File name Description // ------- --------- ----------- // 2004-12-03 hr$mersennetwister.js original version will stay available, // but is no longer maintained by Henk Reints // // 2005-11-02 hr$mersennetwister2.js o renamed constructor from "MersenneTwister" // to "Mersenne...
JavaScript
$(".sg_tabs span").click(function(){ $(".sg_tabs span").each(function(i){ $(this).removeClass("tab_hover"); $(this).addClass("tab"); }); $(this).addClass("tab_hover"); $(this).removeClass("tab"); c=$(this).attr("for"); html=$("#"+c).html(); $("#sg_cont").html(html); }); $('#save')...
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 * Arabic Translation By ...
JavaScript
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2011 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @website http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php * @version 4.0.4 (201...
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
function SDMenu(id) { if (!document.getElementById || !document.getElementsByTagName) return false; this.menu = document.getElementById(id); this.submenus = this.menu.getElementsByTagName("div"); this.remember = true; this.speed = 3; this.markCurrent = true; this.oneSmOnly = false; } SDMenu.prototype...
JavaScript
var fan_page_url='https://www.facebook.com/amthuc24g' var opacity=0;var time=60000;
JavaScript
'use strict'; var EditorState = { CLEAN:0, // NO CHANGES DIRTY:1, // UNSAVED CHANGES SAVE:2, // SAVE IN PROGRESS LOAD:3, // LOADING READONLY:4 }; google.load('picker', '1'); //gapi.load('drive-share'); angular.module('app', ['app.filters', 'app.services', 'app.directives']) .constant('saveInt...
JavaScript
/** * @license AngularJS v1.0.0 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) { 'use strict'; var directive = {}; var service = { value: {} }; var DEPENDENCIES = { 'angular.js': 'http://code.angularjs.org/angular-' + angular.version.full + '.min.js', ...
JavaScript
/** * Configuration for jstd scenario adapter */ var jstdScenarioAdapter = { relativeUrlPrefix: '/build/docs/' };
JavaScript