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/ * * 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
// Plugins for JSON Template docs PLUGINS.onDocPush = function(docStack) { if (docStack.get('filename').slice(null, 1) === 'r') { print('FILENAME ' + docStack.get('filename')); print(docStack.debugString()); } var prettyBase = docStack.get('prettify-base-url'); var newEntry = {}; if (docStack.get('pr...
JavaScript
// Standalone tests for the JavaScript version jsUnity.log = print; // From cscript-shell var module = function() { // Data for multiple tests var foo = function(value) { return 'foo'; }; var FunctionsApiTest = { suiteName: 'FunctionsApiTest', testMoreFormattersAsFunction: function () { fo...
JavaScript
// define this because v8 has it function print(msg) { WScript.Stdout.WriteLine(msg); } var lines = []; var files = []; // list of JS files to run if (WScript.Arguments.length > 0) { // program name not included var fs = WScript.CreateObject("Scripting.FileSystemObject"); for (var i=0; i < WScri...
JavaScript
// Copyright (C) 2009 Andy Chu // // 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 i...
JavaScript
function log(msg) { // Multiline message break scraping msg = msg.replace(/\n/g, 'NEWLINE'); print('V8LOG:', msg); } function repr(d) { var result = []; for (var k in d) { result.push('k: ' + k + ' v: ' + d[k] + ' '); } return result.join(''); } function showArray(a) { var result = []; result.p...
JavaScript
//<% /** * jsUnity Universal JavaScript Testing Framework v0.6 * http://jsunity.com/ * * Copyright (c) 2009 Ates Goral * Licensed under the MIT license. * http://www.opensource.org/licenses/mit-license.php */ jsUnity = (function () { function fmt(str) { var a = Array.prototype.slice.call...
JavaScript
/* * * TableSorter 2.0 - Client-side table sorting with ease! * Version 2.0.5b * @requires jQuery v1.2.3 * * Copyright (c) 2007 Christian Bach * Examples and docs at: http://tablesorter.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http:...
JavaScript
$(function() { $("table").tablesorter({debug: true}); });
JavaScript
/* Flot plugin for automatically redrawing plots as the placeholder resizes. Copyright (c) 2007-2013 IOLA and Ole Laursen. Licensed under the MIT license. It works by listening for changes on the placeholder div (through the jQuery resize event plugin) - if the size changes, it will redraw the plot. There ar...
JavaScript
/* Flot plugin for rendering pie charts. The plugin assumes the data is coming is as a single data value for each series, and each of those values is a positive value or zero (negative numbers don't make any sense and will cause strange effects). The data values do NOT need to be passed in as percentage values...
JavaScript
/*! Javascript plotting library for jQuery, v. 0.7. * * Released under the MIT license by IOLA, December 2007. * */ // first an inline dependency, jquery.colorhelpers.js, we inline it here // for convenience /* Plugin for jQuery for working with colors. * * Version 1.1. * * Inspiration from jQu...
JavaScript
// First Chart Example - Area Line Chart Morris.Area({ // ID of the element in which to draw the chart. element: 'morris-chart-area', // Chart data records -- each entry in this array corresponds to a point on // the chart. data: [ { d: '2012-10-01', visits: 802 }, { d: '2012-10-02', visits: 783 }...
JavaScript
module.exports = function( grunt ) { "use strict"; var // files coreFiles = [ "jquery.ui.core.js", "jquery.ui.widget.js", "jquery.ui.mouse.js", "jquery.ui.draggable.js", "jquery.ui.droppable.js", "jquery.ui.resizable.js", "jquery.ui.selectable.js", "jquery.ui.sortable.js", "jquery.ui.effect.js" ]...
JavaScript
/* <unfinished> jQuery Twitter Plugin \Author: Kevin Mesiab Date: May 1, 2009 \Version: .01 Beta Description The TwitterApi class simplifies access to the Twitter.com REST API. JSON Response object format: { "success":false, "url":"http://search.twitter.com/search.j...
JavaScript
/* * Mesiab Labs Adobe Air AJAX component * * Author: Kevin Mesiab * Date: May 15, 2009 * Version: .01 Beta * * Provides a simple interface for performing * ajax operations using the built in adobe air * class members. Also provides status access * via events. * */ $.web = new web(); /* Perform an aj...
JavaScript
/* * jQuery The Final Countdown plugin v1.0.0 beta * http://github.com/hilios/jquery.countdown * * Copyright (c) 2011 Edson Hilios * * 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 Sof...
JavaScript
/*************************************************************************************************** ==================================================================================================== Main javascript file **************************************************************************************...
JavaScript
/*************************************************************************************************** ==================================================================================================== Sunrise - Coming Soon Page v1.0, 21 December 2012 by Alex Shnayder ======================...
JavaScript
/*************************************************************************************************** ==================================================================================================== Sunrise - Coming Soon Page v1.1, 13 November 2013 by Alex Shnayder ======================...
JavaScript
/* * jQuery The Final Countdown plugin v1.0.0 beta * http://github.com/hilios/jquery.countdown * * Copyright (c) 2011 Edson Hilios * * 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 Sof...
JavaScript
/** * $Id: $ * * Javascript code to read and display information about a RDFDatabank dataset in a supplied jQuery object. */ if (typeof DatasetBrowser == "undefined") { DatasetBrowser = {}; } DatasetBrowser.display = function (jelem) { var m = new shuffl.AsyncComputation(); // Read dataset information...
JavaScript
/* * jQuery JSON Plugin * version: 2.1 (2009-08-14) * * This document is licensed as free software under the terms of the * MIT License: http://www.opensource.org/licenses/mit-license.php * * Brantley Harris wrote this plugin. It is based somewhat on the JSON.org * website's http://www.json.org/json2.js, which...
JavaScript
/** * @fileoverview * Shuffl card plug-in for a card graphing tabular data. * * This plugin is initially based on the shuffl-card-datatable plugin, except * that the display area is rendered using 'flot' rather than as an HTML table. * * @author Graham Klyne * @version $Id: shuffl-card-datagraph.js 828 2010-...
JavaScript
/** * @fileoverview * Class for controlling and composing asynchronous computations, inspired * by the monad convept used by Haskell and other functional programming * languages. * * @author Graham Klyne * @version $Id: AsyncComputation.js 545 2009-10-20 01:47:57Z gk-google@ninebynine.org $ * * Coypyright ...
JavaScript
/** * @fileoverview * Shuffl storage access framework. This module defines storage session * class that performs read/write access to data accessed using a WebDAV * service. * * @author Graham Klyne * @version $Id: shuffl-storage-webdav.js 671 2009-11-16 18:02:24Z gk-google@ninebynine.org $ * * Coypyr...
JavaScript
/** * @fileoverview * Shuffl storage access framework. This module defines storage session * discovery and factory methods, and also defines a default storage object * that performs read-only access to the local file system. * * Each storage handler is associated with a hierarchical-form URI. All URIs *...
JavaScript
/** * @fileoverview * Shuffl application Ajax support functions. These are a collection of * helper functions that use the underlying jQuery.ajax call to access * external resources in different ways. * * @author Graham Klyne * @version $Id: shuffl-ajax.js 782 2010-05-07 11:06:10Z gk-google@ninebynine.org ...
JavaScript
/** * @fileoverview * Access and manimpulate Atom feeds via AtomPub * * @author Graham Klyne * @version $Id: AtomPub.js 695 2009-11-20 20:22:24Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the License at: * * ht...
JavaScript
/** * @fileoverview * Test suite for 00-skeleton * * @author Graham Klyne * @version $Id: test-shuffl-card-dataselect.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * ...
JavaScript
/** * @fileoverview * Test suite for imagegallery card functions * * @author Graham Klyne * @version $Id: test-shuffl-card-imagegallery.js 828 2010-06-14 15:26:11Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the licen...
JavaScript
/** * @fileoverview * Test suite for 00-skeleton * * @author Graham Klyne * @version $Id: test-jquery.model.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * http://www...
JavaScript
/** * @fileoverview * Test suite for 00-skeleton * * @author Graham Klyne * @version $Id: test-shuffl-card-dataworksheet.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * ...
JavaScript
/** * @fileoverview * Test suite for 00-skeleton * * @author Graham Klyne * @version $Id: test-jquery.readcsv.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * http://w...
JavaScript
/** * @fileoverview * Test suite for 00-skeleton * * @author Graham Klyne * @version $Id: test-shuffl-cardhandlers.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * htt...
JavaScript
/** * @fileoverview * Test suite for 00-skeleton * * @author Graham Klyne * @version $Id: test-shuffl-card-datatable.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * h...
JavaScript
/** * @fileoverview * Test suite for 00-skeleton * * @author Graham Klyne * @version $Id: test-shuffl-storage-localfile.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * ...
JavaScript
/** * @fileoverview * Test suite for 00-skeleton * * @author Graham Klyne * @version $Id: test-shuffl-assembleworkspace.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * ...
JavaScript
/** * @fileoverview * Test suite for WebDAV-based storage module. * * @author Graham Klyne * @version $Id: test-shuffl-storage-webdav.js 841 2010-06-18 13:44:26Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the licens...
JavaScript
/** * @fileoverview * Test suite for image-and-notes card functions * * @author Graham Klyne * @version $Id: test-shuffl-card-imagenotes.js 828 2010-06-14 15:26:11Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the lice...
JavaScript
/** * @fileoverview * Test suite for 00-skeleton * * @author Graham Klyne * @version $Id: test-async-computation.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * http:...
JavaScript
/** * @fileoverview * Test suite for 00-skeleton * * @author Graham Klyne * @version $Id: test-shuffl-saveworkspace.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * ht...
JavaScript
/** * @fileoverview * Test suite for 00-skeleton * * @author Graham Klyne * @version $Id: test-shuffl-base.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * http://www....
JavaScript
/** * @fileoverview * Test suite for shuffl-data-readwrite * * @author Graham Klyne * @version $Id: test-shuffl-data-readwrite.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: ...
JavaScript
/** * @fileoverview * Test suite for jquery.arraytable * * @author Graham Klyne * @version $Id: test-jquery.arraytable.js 779 2010-05-06 08:25:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the License at: * * ...
JavaScript
/** * @fileoverview * Test suite for shuffl-ajax * * @author Graham Klyne * @version $Id: test-shuffl-ajax.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * http://www....
JavaScript
/** * @fileoverview * Test suite for free text card functions * * @author Graham Klyne * @version $Id: test-shuffl-card-freetext.js 828 2010-06-14 15:26:11Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: ...
JavaScript
/** * @fileoverview * Test suite for shuffl-storage-common * * @author Graham Klyne * @version $Id: test-shuffl-storage-common.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: ...
JavaScript
/** * @fileoverview * Test suite for 00-skeleton * * @author Graham Klyne * @version $Id: test-shuffl-loadworkspace.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * ht...
JavaScript
/** * @fileoverview * Test suite for dropping datatable card on datagraph card * * @author Graham Klyne * @version $Id: test-shuffl-card-datagraph-drop.js 779 2010-05-06 08:25:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a ...
JavaScript
/** * @fileoverview * Test suite for data graphing card functions * * @author Graham Klyne * @version $Id: test-shuffl-card-datagraph.js 828 2010-06-14 15:26:11Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the licens...
JavaScript
/** * @fileoverview * Test suite for AtomPub protocol handler * * @author Graham Klyne * @version $Id: test-atompub.js 689 2009-11-18 17:06:08Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * ht...
JavaScript
/** * @fileoverview * Test suite for AtomPub-based storage module. * * @author Graham Klyne * @version $Id: test-shuffl-storage-existatom.js 813 2010-05-24 13:59:04Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the li...
JavaScript
/** * @fileoverview * Test suite for 00-skeleton * * @author Graham Klyne * @version $Id: test-shuffl-card-selectfile.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * ...
JavaScript
/** * @fileoverview * Test suite for 00-skeleton * * @author Graham Klyne * @version $Id: test-00-skeleton.js 840 2010-06-18 09:50:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the license at: * * http://www....
JavaScript
/** * @fileoverview * Shuffl storage access framework. This module defines storage session * class that performs read-only access to the local file system, and can * also be used for read-only access via HTTP. * * @author Graham Klyne * @version $Id: shuffl-storage-localfile.js 813 2010-05-24 13:59:04Z gk...
JavaScript
/** * @fileoverview * Shuffl code to load cards into the workspace. * * @author Graham Klyne * @version $Id: shuffl-loadworkspace.js 788 2010-05-12 15:55:59Z diana.galletly@gmail.com $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the License at...
JavaScript
/** * @fileoverview * Shuffl zzzzzz * * @author Graham Klyne * @version $Id: 00-shufffl.module.skeleton.js 841 2010-06-18 13:44:26Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the License at: * * http://www.ope...
JavaScript
/** * @fileoverview * Shuffl card plug-in for a card containing a data worksheet. * * This card is based on the "datatable" card, but expects a general * spreadsheet worksheet from which label rows, data rows and data columns * can be selected from arbitrary locations. * * @author Graham Klyne * @version $...
JavaScript
/** * @fileoverview * Shuffl application generic card handloing code. This provides the main * facility for registering and invoking plugin card factories, and for * placing cards on the Shuffl workspace. It also contains logic that * may be used by multiple card plugins. * * @author Graham Klyne * @ve...
JavaScript
/** * @fileoverview * Shuffl card plug-in for simple card containing an image and associated notes * * @author Graham Klyne * @version $Id: shuffl-card-imagenotes.js 828 2010-06-14 15:26:11Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You ma...
JavaScript
/** * @fileoverview * Shuffl storage access framework. This module defines storage session * class that performs read/write access to data accessed using an eXist * AtomPub service module. * * @author Graham Klyne * @version $Id: shuffl-storage-existatom.js 671 2009-11-16 18:02:24Z gk-google@ninebynine.o...
JavaScript
/** * @fileoverview * Shuffl application common code. * * @author Graham Klyne * @version $Id: shuffl-base.js 820 2010-06-07 12:26:38Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the License at: * * http://www....
JavaScript
/** * @fileoverview * Shuffl workspace and card data read and write using various serialization * formats. * * @author Graham Klyne * @version $Id: shuffl-data-readwrite.js 568 2009-10-27 13:08:33Z gk-google@ninebynine.org $ * * Coypyright (C) 2010, University of Oxford * * Licensed under the MIT License...
JavaScript
/** * @fileoverview * Shuffl card plug-in for data upload card. Initially, this card displays * fields for specifying a data file. When a file is selected, the data may * be accessed, and the card changes to a reference to that data that can be * linked to other cards (e.g. visualization). * * (That was...
JavaScript
/** * @fileoverview * Shuffl card plug-in for simple card containing tabular data. * * The original intent was to have a collection card for the table, and * represent each row as a separate card, but on closer examination this * would create problems about when or which cards should be deleted, * e.g., when...
JavaScript
/** * @fileoverview * Test helpers for use with jQuery qunit testing framework. * * @author Graham Klyne * @version $Id: qunit.testhelpers.js 568 2009-10-27 13:08:33Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the L...
JavaScript
/** * @fileoverview * jQuery.csv plugin, parses CSV data from a string * * @author Graham Klyne (derived initially from 'root.node' [1,2]) * @version $Id: jquery.readcsv.js 820 2010-06-07 12:26:38Z gk-google@ninebynine.org $ * * [1] http://plugins.jquery.com/project/csv * [2] http://code.google.com/p/js-tab...
JavaScript
/** * @fileoverview * jQuery plugin to provide model and listener capabilities. * * @author Graham Klyne * @version $Id: jquery.model.js 779 2010-05-06 08:25:42Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the Licens...
JavaScript
/** * @fileoverview * Shuffl card plug-in for wookie widget (illustration). * * @author Graham Klyne * (based on an idea by Scott Wilson: * http://groups.google.com/group/shuffl-discuss/browse_frm/thread/1c236df7e334c233) * @version $Id: shuffl-card-wookie.js 828 2010-06-14 15:26:11Z gk-google@ninebynine....
JavaScript
/** * @fileoverview * Shuffl card plug-in for simple card containing an image and associated notes * * @author Graham Klyne * @version $Id: shuffl-card-imagegallery.js 828 2010-06-14 15:26:11Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You ...
JavaScript
/** * @fileoverview * Shuffl application main code. * * @author Graham Klyne * @version $Id: shuffl.js 825 2010-06-09 16:22:57Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy of the License at: * * http://www.opensou...
JavaScript
/** * @fileoverview * Shuffl card plug-in for simple card containing just free text. * * @author Graham Klyne * @version $Id: shuffl-card-freetext.js 828 2010-06-14 15:26:11Z gk-google@ninebynine.org $ * * Coypyright (C) 2009, University of Oxford * * Licensed under the MIT License. You may obtain a copy ...
JavaScript
/*** MochiKit.DragAndDrop 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) Mochi-ized By Thomas Herve (_firstname_@nimail.org) ***/ MochiKit.Base._module('DragAndDrop', '1.5', ['Base', 'Iter', 'DOM', 'Signal'...
JavaScript
/*** MochiKit.Format 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito. All rights Reserved. ***/ MochiKit.Base._module('Format', '1.5', ['Base']); MochiKit.Format._numberFormatter = function (placeholder, header, footer, locale, isPercent, precision, leadingZeros, ...
JavaScript
/*** MochiKit.Test 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito. All rights Reserved. ***/ MochiKit.Base._module('Test', '1.5', ['Base']); MochiKit.Test.runTests = function (obj) { if (typeof(obj) == "string") { // TODO: Remove this temporary API ch...
JavaScript
/*** MochiKit.Selector 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito and others. All rights Reserved. ***/ MochiKit.Base._module('Selector', '1.5', ['Base', 'DOM', 'Iter']); MochiKit.Selector.Selector = function (expression) { this.params = {classNames: [], ...
JavaScript
/*** MochiKit.Color 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito and others. All rights Reserved. ***/ MochiKit.Base._module('Color', '1.5', ['Base', 'DOM', 'Style']); /** @id MochiKit.Color.Color */ MochiKit.Color.Color = function (red, green, blue, alpha) { ...
JavaScript
/*** MochiKit.Visual 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito and others. All rights Reserved. ***/ MochiKit.Base._module('Visual', '1.5', ['Base', 'DOM', 'Style', 'Color', 'Position']); MochiKit.Visual._RoundCorners = function (e, options) { e = MochiK...
JavaScript
/*** MochiKit.MockDOM 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito. All rights Reserved. ***/ if (typeof(MochiKit) == "undefined") { MochiKit = {}; } if (typeof(MochiKit.MockDOM) == "undefined") { MochiKit.MockDOM = {}; } MochiKit.MockDOM.NAME = "Mochi...
JavaScript
/*** MochiKit.DateTime 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito. All rights Reserved. ***/ MochiKit.Base._module('DateTime', '1.5', ['Base']); /** @id MochiKit.DateTime.isoDate */ MochiKit.DateTime.isoDate = function (str) { str = str + ""; if (type...
JavaScript
/*** Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) Mochi-ized By Thomas Herve (_firstname_@nimail.org) See scriptaculous.js for full license. ***/ MochiKit.Base._module('Sortable', '1.5', ['Base', 'Iter', 'DOM', 'Position', 'DragAndDrop']); MochiKit.Base.update(MochiKit.Sortable,...
JavaScript
/*** MochiKit.Style 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005-2006 Bob Ippolito, Beau Hartshorne. All rights Reserved. ***/ MochiKit.Base._module('Style', '1.5', ['Base', 'DOM']); /** @id MochiKit.Style.Dimensions */ MochiKit.Style.Dimensions = function (w, h) { if ...
JavaScript
/*** MochiKit.Async 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito. All rights Reserved. ***/ MochiKit.Base._module('Async', '1.5', ['Base']); /** @id MochiKit.Async.Deferred */ MochiKit.Async.Deferred = function (/* optional */ canceller) { this.chain = []; ...
JavaScript
/*** MochiKit.LoggingPane 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito. All rights Reserved. ***/ MochiKit.Base._module('LoggingPane', '1.5', ['Base', 'Logging']); /** @id MochiKit.LoggingPane.createLoggingPane */ MochiKit.LoggingPane.createLoggingPane = functi...
JavaScript
/*** MochiKit.Iter 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito. All rights Reserved. ***/ MochiKit.Base._module('Iter', '1.5', ['Base']); MochiKit.Base.update(MochiKit.Iter, { /** @id MochiKit.Iter.registerIteratorFactory */ registerIteratorFactory: fu...
JavaScript
/*** MochiKit.Base 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito. All rights Reserved. ***/ if (typeof(MochiKit) == 'undefined') { MochiKit = {}; } if (typeof(MochiKit.__export__) == "undefined") { MochiKit.__export__ = true; } if (typeof(MochiKit.Base) =...
JavaScript
/*** MochiKit.Signal 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2006 Jonathan Gardner, Beau Hartshorne, Bob Ippolito. All rights Reserved. ***/ MochiKit.Base._module('Signal', '1.5', ['Base', 'DOM', 'Style']); MochiKit.Signal._observers = []; /** @id MochiKit.Signal.Event */ ...
JavaScript
/*** MochiKit.Logging 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito. All rights Reserved. ***/ MochiKit.Base._module('Logging', '1.5', ['Base']); /** @id MochiKit.Logging.LogMessage */ MochiKit.Logging.LogMessage = function (num, level, info) { this.num ...
JavaScript
/*** MochiKit.DOM 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito. All rights Reserved. ***/ MochiKit.Base._module('DOM', '1.5', ['Base']); MochiKit.Base.update(MochiKit.DOM, { /** @id MochiKit.DOM.currentWindow */ currentWindow: function () { ret...
JavaScript
/*** MochiKit.Text 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2008 Per Cederberg. All rights Reserved. ***/ MochiKit.Base._module('Text', '1.5', ['Base', 'Format']); /** * Checks if a text string starts with the specified substring. If * either of the two strings is null, fa...
JavaScript
/*** MochiKit.Position 1.5 See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005-2006 Bob Ippolito and others. All rights Reserved. ***/ MochiKit.Base._module('Position', '1.5', ['Base', 'DOM', 'Style']); MochiKit.Base.update(MochiKit.Position, { // Don't export from this module ...
JavaScript
/* * jQuery RDF @VERSION * * Copyright (c) 2008,2009 Jeni Tennison * Licensed under the MIT (MIT-LICENSE.txt) * * Depends: * jquery.uri.js * jquery.xmlns.js * jquery.datatype.js * jquery.curie.js * jquery.rdf.js * jquery.rdf.json.js * jquery.rdf.xml.js */ /** * @fileOverview jQuery RDF/XML parser ...
JavaScript
/* * jQuery CURIE @VERSION * * Copyright (c) 2008,2009 Jeni Tennison * Licensed under the MIT (MIT-LICENSE.txt) * * Depends: * jquery.uri.js * jquery.xmlns.js */ /** * @fileOverview jQuery CURIE handling * @author <a href="mailto:jeni@jenitennison.com">Jeni Tennison</a> * @copyright (c) 2008,2009 Jeni Te...
JavaScript
/* * jQuery RDF Rules @VERSION * * Copyright (c) 2008 Jeni Tennison * Licensed under the MIT (MIT-LICENSE.txt) * * Depends: * jquery.uri.js * jquery.xmlns.js * jquery.datatype.js * jquery.curie.js * jquery.rdf.js */ /** * @fileOverview jQuery RDF Rules * @author <a href="mailto:jeni@jenitennison.com...
JavaScript