code
stringlengths
1
2.08M
language
stringclasses
1 value
// brush: "javascript" aliases: ["js", "actionscript"] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('javascript', function(br...
JavaScript
// brush: "diff" aliases: ["patch"] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('diff', function(brush) { brush.push({patte...
JavaScript
Syntax.themes["bright"] = ["grey", "base"]
JavaScript
// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. if (!RegExp.prototype.indexOf) { RegExp.indexOf = function (match, index) { return match[0].in...
JavaScript
// brush: "xml" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.lib.xmlEntity = {pattern: /&\w+;/g, klass: 'entity'}; Syntax....
JavaScript
// brush: "python" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('python', function(brush) { var keywords = ["and...
JavaScript
// brush: "protobuf" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('protobuf', function(brush) { var keywords = [...
JavaScript
Syntax.themes["modern"] = ["base"]
JavaScript
// brush: "php-script" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('php-script', function(brush) { var keywords...
JavaScript
// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.layouts.table = function(options, code, container) { var table = jQuery('<table class="sy...
JavaScript
// brush: "apache" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('apache', function(brush) { brush.push({ patte...
JavaScript
// brush: "plain" aliases: ["text"] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('plain', function(brush) { brush.push(Synta...
JavaScript
// brush: "pascal" aliases: ["delphi"] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. // // Constructed using information from http://pascal.com...
JavaScript
// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. // This layout doesn't work correctly in IE6, but is fine in all other tested browsers. Syntax.la...
JavaScript
// brush: "ocaml" aliases: ["ml", "sml", "fsharp"] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. // This brush is based loosely on the followi...
JavaScript
// brush: "bash" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.brushes.dependency('bash', 'bash-script'); Syntax.register(...
JavaScript
// brush: "haskell" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('haskell', function(brush) { var keywords = ["a...
JavaScript
// brush: "smalltalk" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('smalltalk', function(brush) { var operators ...
JavaScript
// brush: "yaml" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('yaml', function(brush) { brush.push({ pattern: ...
JavaScript
// brush: "go" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('go', function(brush) { var keywords = ["break", "de...
JavaScript
Syntax.themes["grey"] = ["base"]
JavaScript
// brush: "lisp" aliases: ['scheme', 'clojure'] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.lib.lispStyleComment = {pattern: /(;+) .*...
JavaScript
// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. // This layout doesn't work correctly in IE6, but is fine in all other tested browsers. Syntax.la...
JavaScript
// brush: "kai" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('kai', function(brush) { brush.push(['(', ')', '[',...
JavaScript
// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.layouts.list = function(options, code, container) { var listTag = options.listTag || 'ol'...
JavaScript
// brush: "assembly" aliases: ["asm"] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('assembly', function(brush) { brush.push(...
JavaScript
// brush: "php" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.brushes.dependency('php', 'php-script'); Syntax.register('ph...
JavaScript
// brush: "basic" aliases: ['vb'] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.lib.vbStyleComment = {pattern: /' .*$/gm, klass: 'comme...
JavaScript
// brush: "io" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('io', function(brush) { brush.push(Syntax.lib.cStyle...
JavaScript
// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.layouts.inline = function(options, code, container) { var inline = jQuery('<code class="s...
JavaScript
// brush: "java" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('java', function(brush) { var keywords = ["abstrac...
JavaScript
// brush: "ooc" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('ooc', function(brush) { var keywords = ["class", "...
JavaScript
// This file is automatically generated. Any changes may be lost. // The following declarations describes all resources that might be loaded dynamically. // Brush Aliases Syntax.alias("apache", []); Syntax.alias("applescript", []); Syntax.alias("assembly", ["asm"]); Syntax.alias("bash-script", []); Syntax.alias("bash"...
JavaScript
/* This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. For more information, please see http://www.oriontransfer.co.nz/software/jquery-syntax Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> Permission is hereby granted, free of charge, to any pe...
JavaScript
// This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.Editor = function(container, text) { this.container = container; this.current = this.get...
JavaScript
// brush: "scala" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.brushes.dependency('scala', 'xml'); Syntax.register('scala...
JavaScript
// brush: "lua" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('lua', function(brush) { var keywords = ["and", "br...
JavaScript
Syntax.themes["base"] = []
JavaScript
// brush: "ruby" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.lib.rubyStyleFunction = {pattern: /(?:def\s+|\.)([a-z_][a-z0...
JavaScript
// brush: "clang" aliases: ["cpp", "c++", "c", "objective-c"] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('clang', function(...
JavaScript
// brush: "html" aliases: [] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.brushes.dependency('html', 'xml'); Syntax.brushes.dependency...
JavaScript
// brush: "super-collider" aliases: ["sc"] // This file is part of the "jQuery.Syntax" project, and is distributed under the MIT License. // Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> // See <jquery.syntax.js> for licensing details. Syntax.register('super-collider', function(brush) { ...
JavaScript
/* * jQuery Highlight Plugin * Examples and documentation at: http://demo.webcodingstudio.com/highlight/ * Copyright (c) 2010 E. Matsakov * Version: 1.0 (26-FEB-2010) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * Req...
JavaScript
/*tabwidget*/ $(function(){var s=null,Tabberx={settings:{tabHeaders:null,tabSections:null,currentIndex:null,speed:800,collection:null,i:null,j:null,select:null,},init:function(){s=this.settings;s.tabSections=$("div.widget1");$(s.tabSections[0]).slideDown(s.speed);$(s.tabSections[1]).slideUp(s.speed);$(s.tabSections[2])...
JavaScript
// Copyright © 2014 Swiss IT Bridge // Author: Nguyen Trung Loi (loi.nguyen) // Maintain by loi.nguyen and ha.tran driver = require('webdriverjs') events = require('events') equal = require('assert').equal key = require('webdriverjs/lib/utils/unicodeChars'); color = { white: '\x1b[37m%s\x1b[0m', gr...
JavaScript
// Copyright © 2014 Swiss IT Bridge // Author: Nguyen Trung Loi (loi.nguyen) // Maintain by loi.nguyen and ha.tran // CONFIG TEST config.project = 'APP' config.test = 'Register' config.url = 'http://127.0.0.1:1234/public' config.timeout = 99999999 config.browser = 'chrome' config.step = ['expect','click','se...
JavaScript
//! moment.js //! version : 2.5.1 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com (function (undefined) { /************************************ Constants ************************************/ var moment, VERSION = "2.5.1", global =...
JavaScript
$('#myTab a').click(function (e) { e.preventDefault() $(this).tab('show') })
JavaScript
/* * Fuel UX Wizard * https://github.com/ExactTarget/fuelux * * Copyright (c) 2012 ExactTarget * Licensed under the MIT license. */ define(function (require) { var $ = require('jquery'); var old = $.fn.wizard; // WIZARD CONSTRUCTOR AND PROTOTYPE var Wizard = function (element, options) { var kids; ...
JavaScript
(function($) { "use strict"; var _superconstr = $.fn.typeahead.Constructor, _superproto = $.fn.typeahead.Constructor.prototype; /* * MultiSuggest Plugin Constructor */ var MultiSuggest = function(element, options) { _superconstr.call(this, element, options); this....
JavaScript
/** * @version: 1.3.7 * @author: Dan Grossman http://www.dangrossman.info/ * @date: 2014-04-29 * @copyright: Copyright (c) 2012-2014 Dan Grossman. All rights reserved. * @license: Licensed under Apache License v2.0. See http://www.apache.org/licenses/LICENSE-2.0 * @website: http://www.improvely.com/ */ !function ($, mo...
JavaScript
$(document).ready(function() { $('.app_welcome').fadeIn('slow'); });
JavaScript
var func = {}; func.px = function(css) { return parseInt(css); }; func.offset = function(selector) { var f = $(selector).offset(); console.log(f); } func.checkIntersecion = function (s, b) { var js = $(s), jb = $(b), jst = $('.user_profile_stack'); var small = {}, big = {}, stack = {}; // Ge...
JavaScript
/** * Send an Ajax request * * @param action action name * @param data object data * @param func callback function * @param secure security mode * @example send('getwidget', {key1:'value1', key2:'value2'}, function(result) { your code }, false); * @default secure = true */ function send (action, data, func, s...
JavaScript
var setSocialAccount = function(fullname,email) { $('#app_input_fullname').val(fullname); $('#app_input_email').val(email); }; $.ajaxSetup({ cache: true }); // Facebook $('#app_social_facebook').click(function () { $.getScript('//connect.facebook.net/en_US/all.js', function () { FB.init(...
JavaScript
$('#add-skills-button').click(function() { if ($('#num-skills').val() < 50 && $('#skill-name').val() != '') { $('#skills').append( render('tag-skill', { value: $('#skill-name').val() }) ); $('#skill-name').val(''); $('#num-skills').val(...
JavaScript
$('#add-language').click(function() { $('#languages').append( render('template-language', { language: '...' }), $('#language').val('') ); });
JavaScript
$('#birthday').daterangepicker({ singleDatePicker: true }, function(start, end, label) { console.log(start.toISOString(), end.toISOString(), label); });
JavaScript
var widget_total = 0; var widget_current = 0; var widget_draging_id = 0; var widget_drag; // CUSTOM CODE func.widget = {}; func.widget.offset = function(selector) { var f = $(selector).offset(); console.log(f); } func.widget.noticeChange = function(style,text) { var html = '<div id="" class="alert alert...
JavaScript
(function($) { "use strict"; var _superconstr = $.fn.typeahead.Constructor, _superproto = $.fn.typeahead.Constructor.prototype; /* * MultiSuggest Plugin Constructor */ var MultiSuggest = function(element, options) { _superconstr.call(this, element, options); this....
JavaScript
/* * bootstrap-typeahead.js v2.3.2 * http://twbs.github.com/bootstrap/javascript.html#typeahead * ============================================================= * Copyright 2013 Twitter, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance ...
JavaScript
var func = {}; func.px = function(css) { return parseInt(css); }; func.offset = function(selector) { var f = $(selector).offset(); console.log(f); } func.checkIntersecion = function (s, b) { var js = $(s), jb = $(b), jst = $('.user_profile_stack'); var small = {}, big = {}, stack = {}; // Ge...
JavaScript
/** * jquery.Jcrop.js v0.9.12 * jQuery Image Cropping Plugin - released under MIT License * Author: Kelly Hallman <khallman@gmail.com> * http://github.com/tapmodo/Jcrop * Copyright (c) 2008-2013 Tapmodo Interactive LLC {{{ * * Permission is hereby granted, free of charge, to any person * obtaining a cop...
JavaScript
/** * Intro.js v0.9.0 * https://github.com/usablica/intro.js * MIT licensed * * Copyright (C) 2013 usabli.ca - A weekend project by Afshin Mehrabani (@afshinmeh) */ (function (root, factory) { if (typeof exports === 'object') { // CommonJS factory(exports); } else if (typeof define === 'f...
JavaScript
var App = angular.module('dragApp', ['ngDragDrop']); App.controller('OverviewCtrl', function($scope) { for (widget in widgets) { $cmd = '$scope.widget_item_'+widget.id+'={title:"'+widget.name+'"}'; console.log($cmd); eval($cmd); } });
JavaScript
var User = angular.module('user', ['ngDragDrop']); var avatar = {}; avatar.img = {}; User.controller('profileController', function($scope) { for (i in widgets) { $cmd = '$scope.widget_item_'+widgets[i].id+'={title:"'+widgets[i].name+'"};'; eval($cmd); $cmd = '$scope.widget_profile_'+widgets[i]....
JavaScript
function hash(password) { var secure = '~!@#$%^&*()_+[]'; return md5(sha1(password)+secure); } function loginController($scope) { $scope.applogin = function() { $scope.app_login_hash = hash($scope.app_login_password); }; } // not at this time function registerController($sco...
JavaScript
var widget_total = 0; var widget_current = 0; var widget_draging_id = 0; var widget_drag; // CUSTOM CODE func.widget = {}; func.widget.offset = function(selector) { var f = $(selector).offset(); console.log(f); } func.widget.noticeChange = function(style,text) { var html = '<div id="" class="alert alert...
JavaScript
/** * jquery.Jcrop.js v0.9.12 * jQuery Image Cropping Plugin - released under MIT License * Author: Kelly Hallman <khallman@gmail.com> * http://github.com/tapmodo/Jcrop * Copyright (c) 2008-2013 Tapmodo Interactive LLC {{{ * * Permission is hereby granted, free of charge, to any person * obtaining a cop...
JavaScript
function openMyFile () { if (document.layers) { var exePath = new String('/full/path/to/test.sh'); netscape.security.PrivilegeManager?.enablePrivilege('UniversalExecAccess?'); java.lang.Runtime.getRuntime().exec(exePath); }
JavaScript
var htmlParser = require('html-parser'); var html = '<!doctype html><html><body onload="alert(\'hello\');">Hello<br />world</body></html>'; htmlParser.parse(html, { openElement: function(name) { console.log('open: %s', name); }, closeOpenedElement: function(name, token) { console.log('close token: %s', to...
JavaScript
<script type="text/javascript"> <!-- function loadXMLDoc(dname) { try //Internet Explorer { xmlDoc=new ActiveXObject("MSXML2.DOMDOCument"); //xmlDoc=new ActiveXObject("Microsoft.XMLDOM"); } catch(e) { try //Firefox, Mozilla, Opera, etc. { xmlDoc=document.implementation.createDocument("","",nul...
JavaScript
function resolv(){ document.write("site verifié"); }
JavaScript
function linebox() { document.write("documentation bibliotheque"); } function linx(url) {document.write("documentation bibliotheque"); newwindow=window.open('url','linebox','height=200,width=150'); if (window.focus) {newwindow.focus()} return false; }
JavaScript
<script> /** * Creates a new site page using the Sites API. * For more information on using the Sites API, see * https://developers.google.com/apps-script/service_sites */ function createDemoPage() { var domain = 'yourdomain.com'; var site = 'your_site'; var pageName = 'script_center_demo'; var html = '...
JavaScript
/** * Creates a new site page using the Sites API. * For more information on using the Sites API, see * https://developers.google.com/apps-script/service_sites */ function createDemoPage() { var domain = 'yourdomain.com'; var site = 'your_site'; var pageName = 'script_center_demo'; var html = ...
JavaScript
$(document).ready(function() { $('a.navigator-link').click(function() { // Extract the panel for this link var panel = getPanelName($(this)); // Mark this link as currently selected $('.navigator-link').parent().removeClass('navigator-selected'); $(this).parent().addClass('n...
JavaScript
$(document).ready(function() { $('a.navigator-link').click(function() { // Extract the panel for this link var panel = getPanelName($(this)); // Mark this link as currently selected $('.navigator-link').parent().removeClass('navigator-selected'); $(this).parent().addClass('n...
JavaScript
function __dlg_onclose() { if (!document.all) { opener.Dialog._return(null); } }; function __dlg_init() { if (!document.all) { // init dialogArguments, as IE gets it window.dialogArguments = opener.Dialog._arguments; window.sizeToContent(); window.sizeToContent(); // for reasons beyond understanding, ...
JavaScript
// Though "Dialog" looks like an object, it isn't really an object. Instead // it's just namespace for protecting global symbols. function Dialog(url, action, init) { if (typeof init == "undefined") { init = window; // pass this window object by default } if (document.all) { // here we hope that Mozilla will nev...
JavaScript
replace the whatever you have between the comment lines: // insert link (modified) {current createlink function} // insert image with the code below: ======================================================= if (cmdID.toLowerCase() == 'createlink') { var theRange = editdoc.selection....
JavaScript
// Generic Form Validation // Jacob Hage (jacob@hage.dk) var checkObjects = new Array(); var errors = ""; var returnVal = false; var language = new Array(); language["header"] = "" language["start"] = "Please Select a "; language["field"] = ""; la...
JavaScript
// // htmlArea v2.03 - Copyright (c) 2002 interactivetools.com, inc. // This copyright notice MUST stay intact for use (see license.txt). // // A free WYSIWYG editor replacement for <textarea> fields. // For full source code and docs, visit http://www.interactivetools.com/ // // write out styles for UI buttons documen...
JavaScript
//<![CDATA[ //***************************************************************************** // Do not remove this notice. // // Copyright 2000 by Mike Hall. // See http://www.brainjar.com for terms of use. //***************************************************************************** //------------------------------...
JavaScript
// This file is part of Natural Docs, which is Copyright (C) 2003-2005 Greg Valure // Natural Docs is licensed under the GPL // // Browser Styles // ____________________________________________________________________________ var agt=navigator.userAgent.toLowerCase(); var browserType; var browserVer; if (agt.indexO...
JavaScript
/* File: xajax_legacy.js Provides support for legacy scripts that have not been updated to the latest syntax. Title: xajax legacy support module Please see <copyright.inc.php> for a detailed description, copyright and license information. */ /* @package xajax @version $Id: xajax_legacy_uncompressed.php 3...
JavaScript
/* File: xajax_verbose.js The xajax verbose debugging module. This is an optional module, include in your project with care. :) Title: xajax verbose debugging module Please see <copyright.inc.php> for a detailed description, copyright and license information. */ /* @package xajax @version $Id: xajax_ver...
JavaScript
/** * translation for: xajax v.x.x * @version: 1.0.0 * @author: mic <info@joomx.com> * @copyright xajax project * @license GNU/GPL * @package xajax x.x.x * @since v.x.x.x * save as UTF-8 */ if ('undefined' != typeof xajax.debug) { /* Array: text */ xajax.debug.text = []; xajax.debug.text[100] = 'WARNUN...
JavaScript
/* File: xajax_debug.js This optional file contains the debugging module for use with xajax. If you include this module after the standard <xajax_core.js> module, you will receive debugging messages, including errors, that occur during the processing of your xajax requests. Title: xajax debugging module P...
JavaScript
/* File: xajax_core.js This file contains the definition of the main xajax javascript core. This is the client side code which runs on the web browser or similar web enabled application. Include this in the HEAD of each page for which you wish to use xajax. Title: xajax core javascript library Please s...
JavaScript
try{if('undefined'==typeof xajax.config)xajax.config={};}catch(e){xajax={};xajax.config={};} xajax.config.setDefault=function(option,defaultValue){if('undefined'==typeof xajax.config[option]) xajax.config[option]=defaultValue;} xajax.config.setDefault('waitCursor',false);xajax.config.setDefault('statusMessages',false)...
JavaScript
try{if(undefined==xajax) throw{name:'SequenceError',message:'Error: xajax was not detected, verbose module disabled.'} if(undefined==xajax.debug) throw{name:'SequenceError',message:'Error: xajax debugger was not detected, verbose module disabled.'} xajax.debug.verbose={} xajax.debug.verbose.expandObject=function(obj){...
JavaScript
try{if(undefined==xajax.legacy) xajax.legacy={} }catch(e){alert('An internal error has occurred: the xajax_core has not been loaded prior to xajax_legacy.');} xajax.legacy.call=xajax.call;xajax.call=function(sFunction,objParameters){var oOpt={} oOpt.parameters=objParameters;if(undefined!=xajax.loadingFunction){if(unde...
JavaScript
// if xajax has not yet been initialized, wait a second and try again // once xajax has been initialized, then install the table command // handlers. installTableUpdater = function() { var xjxReady = false; try { if (xajax) xjxReady = true; } catch (e) { } if (false == xjxReady) { setTimeout('installTableUp...
JavaScript
try { if (undefined == iframe.code) { iframe.code = {} } } catch (e) { iframe = {} iframe.code = {} } finally { parent.iframe = iframe; } xajax.request( { xjxcls: 'clsfunctions', xjxmthd: 'confirm' }, { parameters: [2] } ); iframe.code.loaded = false; // simulate a 4 second delay in loading the .js file for t...
JavaScript
function myFunction() { alert('Congratulations!\n You have successfully included the\n myExternalFunction.js without reloading the page.'); }
JavaScript
/* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.scriptLoader} object, used to load scripts * asynchronously. */ /** * Load scripts asynchronously. * @name...
JavaScript
/* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the "virtual" {@link CKEDITOR.eventInfo} class, which * contains the defintions of the event object passed to event listeners. * Thi...
JavaScript
/* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.env} object, which constains * environment and browser information. */ if ( !CKEDITOR.env ) { /** * Envi...
JavaScript
/* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.editor} class, which represents an * editor instance. */ (function() { // The counter for automatic instanc...
JavaScript