code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
(function($){
var oldLoadDataMethod = $.fn.datagrid.methods.loadData;
$.fn.datagrid.methods.loadData = function(jq, data){
jq.each(function(){
$.data(this, 'datagrid').filterSource = null;
});
return oldLoadDataMethod.call($.fn.datagrid.methods, jq, data);
};
$.extend($.fn.datagrid.defaults, {
... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
var detailview = $.extend({}, $.fn.datagrid.defaults.view, {
render: function(target, container, frozen){
var state = $.data(target, 'datagrid');
var opts = state.options;
if (frozen){
if (!(opts.rownumbers || (opts.frozenColumns && opts.frozenColumns.length))){
return;
}
}
var rows = ... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
var groupview = $.extend({}, $.fn.datagrid.defaults.view, {
render: function(target, container, frozen){
var table = [];
var groups = this.groups;
for(var i=0; i<groups.length; i++){
table.push(this.renderGroup.call(this, target, i, groups[i], frozen));
}
$(container).html(table.join(''));
},
... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
/**
* jQuery EasyUI 1.3.5
*
* Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL or commercial licenses
* To use it on other terms please contact us: info@jeasyui.com
* http://www.gnu.org/licenses/gpl.txt
* http://www.jeasyui.com/license_commercial.php
*
*/
(... | JavaScript |
// This is Auto-Redirect 4Fun.tw to Currect Web Address Add-on
var pageMod = require("page-mod");
exports.main = function(options, callbacks) {
var init = pageMod.PageMod({
include: ["http://4fun.tw/*", "https://4fun.tw/*"],
contentScript:
'var currentAddress = document.getElementById("target_... | JavaScript |
// ==UserScript==
// @name 4funRedirect
// @namespace 4funRedirect
// @description Direct Goto Current web address
// @version 0.01
// @include http*://4fun.tw/*
// ==/UserScript==
var thisVersion = "0.01";
currentAddress = document.getElementById('target_url').value;
window.l... | JavaScript |
var json = { id: "Traceability",
name: "Traceability",
data: {"$color": "#009999"},
children: []}; | JavaScript |
function tile(x, y) {
this.x = x;
this.y = y;
this.passable = true;
this.occupiedBy = null;
}
| JavaScript |
function map(width, height) {
this.width = width;
this.height = height;
this.tileSize = 32;
this.pixelWidth = this.width * this.tileSize;
this.pixelHeight = this.height * this.tileSize;
this.tiles = [];
for(var x = 0; x < width; x++) {
this.tiles[x] = [];
for(var y = 0; y < height; y++) {
this.tiles[x][... | JavaScript |
function gameEngine(mode) {
this.gameMode = mode;
this.gameObjects = {};
this.selected = [];
this.fps = 60;
this.newGoId = 0;
this.player = null;
this.players = {};
this.creditsTime = 5;
this.creditsTimer = this.creditsTime;
this.frameCounter = 0;
this.awaitingOrders = false;
this.networkFramesPerSeco... | JavaScript |
//global
var game = null;
/*function switchMenus(fromMenu, toMenu, callback) {
$(fromMenu).animate({
"margin-left": "-=1500px"
}, 400, function () {
//$(fromMenu).attr('visibility', 'hidden');
//$(toMenu).show();
$(toMenu).css("margin-left", "-1500px");
$(toMenu).animate... | JavaScript |
Array.prototype.remove = function(obj) {
for(var i = 0; i < this.length; i++) {
if(this[i] === obj) {
this.splice(i, 1);
break;
}
}
}
| JavaScript |
function imageLoader(gameObjectTypes) {
//maps
this.desertMap = new Image();
this.desertMap.src = 'content/maps/desertMap.png';
//minimap
for(var i = 0; i < 2; i++) {
this['dot' + i] = new Image();
this['dot' + i].src = 'content/sprites/dot' + i + '.png';
}
//sprites
for(var goName in gameObjectTypes){
... | JavaScript |
function player(id, credits, faction) {
this.id = id;
this.credits = credits;
this.faction = faction;
}
| JavaScript |
var ip = "127.0.0.1";
function networkingEngine() {
this.ws = null;
if(typeof MozWebSocket !== "undefined") {
this.ws = new MozWebSocket('ws://'+ip+':8181/4911-game', 'post');
}
else {
this.ws = new WebSocket('ws://'+ip+':8181/4911-game', 'post');
... | JavaScript |
function collisionEngine() {
this.collidables = [];
}
collisionEngine.prototype.addGameObject = function(go) {
this.collidables.push(go);
}
collisionEngine.prototype.removeGameObject = function(go) {
this.collidables.splice(this.findGameObjectIndex(go), 1);
}
collisionEngine.prototype.findGameObjectIndex = fun... | JavaScript |
function graphicsEngine(map, gameObjectFactory) {
this.canvas = $('#main')[0];
this.context = this.canvas.getContext('2d');
this.miniMap = $('#miniMap')[0];
this.miniMapContext = this.miniMap.getContext('2d');
this.images = new imageLoader(gameObjectTypes);
this.background = this.images['desertMap'];
this.ma... | JavaScript |
var gameObjectTypes = {
lizardTemple: 0,
pit: 1,
lizardMan: 2,
snakeMan: 3,
croc: 4,
bioSphere: 5,
barracks: 6,
humanWorker: 7,
soldier: 8,
flamer: 9
};
var factions = {
lizards: 0,
humans: 1
};
function gameObjectFactory() {
}
gameObjectFactory.prototype.findGameObjectNameById = function(id) {
for(var... | JavaScript |
function gameObject(id, player, tileX, tileY, images, goName, template, map) {
this.id = id;
this.player = player;
this.x = tileX * map.tileSize;
this.y = tileY * map.tileSize;
this.xDir = 0;
this.yDir = 0;
this.idleImage = images[goName+'Idle'+player.id];
this.attackImage = images[goName+'Attack'+player.id];
... | JavaScript |
var ip = "98.251.48.203";
var ws;
var derp = $('#chat_entry')[0];
if(typeof MozWebSocket !== "undefined") {
ws = new MozWebSocket('ws://'+ip+':8181/4911-game', 'post');
}
else {
ws = new WebSocket('ws://'+ip+':8181/4911-game', 'post');
}
ws.onopen = function () {
document.getElementById('status').innerHTML = "Con... | JavaScript |
window.addEventListener('load', eventWindowLoaded, false);
function eventWindowLoaded() {
canvasApp();
}
function canvasSupport () {
return Modernizr.canvas;
}
function canvasApp(){
if (!canvasSupport()) {
return;
}else{
var theCanvas = document.getElementById("canva... | JavaScript |
$(document).ready(canvasApp);
function canvasSupport () {
return Modernizr.canvas;
}
function canvasApp() {
if (!canvasSupport()) {
return;
}else{
var theCanvas = document.getElementById("canvas");
var context = theCanvas.getContext("2d");
var guiCanvas = do... | JavaScript |
function unit(xpos,ypos,img,hp,id,playerId,type,dmg,range,spells,atkspeed,speed)
{
this.x=xpos;
this.y=ypos;
this.img = img;
this.hp=hp;
this.maxhp=hp;
this.id=id;
this.playerId=playerId;
this.type=type;
this.dmg=dmg;
this.range=range;
this.spells=spells;
this.atkspeed=atkspeed;
this.speed=sp... | JavaScript |
window.addEventListener('load', eventWindowLoaded, false);
function eventWindowLoaded() {
canvasApp();
}
function canvasSupport () {
return Modernizr.canvas;
}
function canvasApp(){
if (!canvasSupport()) {
return;
}else{
var theCanvas = document.getElementById("canva... | JavaScript |
function tile(x,y,passable,occupied)
{
this.x=x;
this.y=y;
this.passable=passable;
this.occupied=occupied;
} | JavaScript |
/**
* @license
* jQuery Tools 1.2.5 Tabs- The basics of UI design.
*
* NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE.
*
* http://flowplayer.org/tools/tabs/
*
* Since: November 2008
* Date: Wed Sep 22 06:02:10 2010 +0000
*/
(function($) {
// static constructs
$.tools = $.tools || {version: '1.2.5'}... | JavaScript |
(function($){
/* hoverIntent by Brian Cherne */
$.fn.hoverIntent = function(f,g) {
// default configuration options
var cfg = {
sensitivity: 7,
interval: 100,
timeout: 0
};
// override configuration options with user supplied object
cfg = $.extend(cfg, g ? { over: f, out: g } : f );
// instantia... | JavaScript |
/*
* Supersubs v0.2b - jQuery plugin
* Copyright (c) 2008 Joel Birch
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*
* This plugin automatically adjusts submenu widths of suckerfish-style menus to that of
* th... | JavaScript |
/*
* Superfish v1.4.8 - jQuery menu widget
* Copyright (c) 2008 Joel Birch
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt
*/
;(functi... | JavaScript |
/*
less grid v4.0 - For Less Framework 4.
(c) Arnau March http://arnaumarch.com/en/lessgrid.html, freely distributable under the terms of the MIT license.
*/
$(document).ready(function() {
createSwitch();
});
function createGrid () {
$('body').append('<div id="less-grid"></div>');
var pageWidth = $('body').widt... | JavaScript |
/*!
* jQuery imagesLoaded plugin v1.0.4
* http://github.com/desandro/imagesloaded
*
* MIT License. by Paul Irish et al.
*/
(function($, undefined) {
// $('#my-container').imagesLoaded(myFunction)
// or
// $('img').imagesLoaded(myFunction)
// execute a callback when all images have loaded.
// needed be... | JavaScript |
/*
* Poshy Tip jQuery plugin v1.1
* http://vadikom.com/tools/poshy-tip-jquery-plugin-for-stylish-tooltips/
* Copyright 2010-2011, Vasil Dinkov, http://vadikom.com/
*/
(function($) {
var tips = [],
reBgImage = /^url\(["']?([^"'\)]*)["']?\);?$/i,
rePNG = /\.png$/i,
ie6 = $.browser.msie && $.browser.version =... | JavaScript |
$(function(){
// =================================
// init SHJS (syntax highlither)
// =================================
window.sh_highlightDocument();
$('pre.sh_sourceCode').parent()
.hover(function(){
var $div = $(this);
if ($div.data('hideTimeout')) {
clearTimeout($div.data('hideTimeout'));
$di... | JavaScript |
jQuery(document).ready(function($){
// hide messages
$("#error").hide();
$("#sent-form-msg").hide();
// on submit...
$("#contactForm #submit").click(function() {
$("#error").hide();
//required:
//name
var name = $("input#name").val();
if(name == ""){
$("#error").fadeIn().text("Name required.... | JavaScript |
// Jquery with no conflict
jQuery(document).ready(function($) {
//##########################################
// Superfish
//##########################################
$("ul.sf-menu").superfish({
animation: {height:'show'}, // slide-down effect without fade-in
delay: 400 , //... | JavaScript |
if(typeof Object.create!=="function"){
Object.create=function(o){
function F(){
};
F.prototype=o;
return new F();
};
}
var ua={toString:function(){
return navigator.userAgent;
},test:function(s){
return this.toString().toLowerCase().indexOf(s.toLowerCase())>-1;
}};
ua.version=(ua.toString().toLowerCase().match(/[\s\S]+... | JavaScript |
(function($) {
$.fn.tweet = function(o){
var s = $.extend({
username: ["ansimuz"], // [string] required, unless you want to display our tweets. :) it can be an array, just do ["username1","username2","etc"]
list: null, // [string] optional name of list... | JavaScript |
function jqGridInclude()
{
var pathtojsfiles = BASIC_URL + '/scripts/jquery/jqgrid/js/'; // need to be ajusted
// set include to false if you do not want some modules to be included
var combineIntoOne = false;
var combinedInclude = new Array();
var combinedIncludeURL = "combine.php?type=javasc... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
Ext.namespace('Ext.air', 'Ext.sql');
Ext.Template.prototype.compile = function() {
var fm = Ext.util.Format;
var useF = this.disableFormats !== true;
var prevOffset = 0;
v... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
/*
* This file corrects air eval issues and other issues found in the AIR application sandbox
*/
Ext.namespace('Ext.air', 'Ext.sql');
Ext.Template.prototype.compile = function()... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
/**
* @class Ext.air.NativeObservable
* @extends Ext.util.Observable
*
* Adds ability for Ext Observable functionality to proxy events for native (AIR) object wrappers
*
* ... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
/**
* @class Ext.air.NativeWindow
* @extends Ext.air.NativeObservable
*
* Wraps the AIR NativeWindow class to give an Ext friendly API. <br/><br/>This class also adds
* autom... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
/**
* @class Ext.air.DragType
*
* Drag drop type constants
*
* @singleton
*/
Ext.air.DragType = {
/**
* Constant for text data
*/
TEXT : 'text/plain',
/**
... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
/**
* @class Ext.air.FileProvider
* @extends Ext.state.Provider
*
* An Ext state provider implementation for Adobe AIR that stores state in the application
* storage director... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
Ext.air.SystemTray = function(){
var app = air.NativeApplication.nativeApplication;
var icon, isWindows = false, bitmaps;
// windows
if(air.NativeApplication.supportsSystemTra... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
Ext.sql.Table = function(conn, name, keyName){
this.conn = conn;
this.name = name;
this.keyName = keyName;
};
Ext.sql.Table.prototype = {
update : function(o){
var clause ... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
Ext.sql.AirConnection = Ext.extend(Ext.sql.Connection, {
// abstract methods
open : function(db){
this.conn = new air.SQLConnection();
var file = air.File.application... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
// Asbtract base class for Connection classes
Ext.sql.Connection = function(config){
Ext.apply(this, config);
Ext.sql.Connection.superclass.constructor.call(this);
this.addEvent... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
Ext.sql.Proxy = function(conn, table, keyName, store, readonly){
Ext.sql.Proxy.superclass.constructor.call(this);
this.conn = conn;
this.table = this.conn.getTable(table, ... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
/**
* @class Ext.air.Sound
*
* @singleton
*/
Ext.air.Sound = {
/**
* Play a sound.
* @param {String} file The file to be played. The path is resolved against applicatio... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
/**
* @class Ext.air.SystemMenu
*
* Provides platform independent handling of adding item to the application menu, creating the menu or
* items as needed. <br/><br/>
*
* T... | JavaScript |
<?xml version="1.0" encoding="utf-8"?>
<project path="" name="Ext - JS Lib" author="Ext JS, LLC" version="2.0.2" copyright="Ext JS Library $version
Copyright(c) 2006-2008, $author.
licensing@extjs.com

http://extjs.com/license" output="$project\..\samples\tasks\ext-air\" source="Fa... | JavaScript |
<?xml version="1.0" encoding="utf-8"?>
<project path="" name="Ext - JS Lib" author="Ext JS, LLC" version="2.0.2" copyright="Ext JS Library $version
Copyright(c) 2006-2008, $author.
licensing@extjs.com

http://extjs.com/license" output="$project\..\samples\tasks\ext-air\resources\" ... | JavaScript |
<?xml version="1.0" encoding="utf-8"?>
<project path="" name="Ext AIR Support Library" author="Ext JS, LLC" version="0.20" copyright="Ext JS Library $version
Copyright(c) 2006-2008, $author.
licensing@extjs.com

http://extjs.com/license" output="C:\apps\www\deploy\ext-2.1\air\" sou... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
/*
* Ext JS Library 2.0.1
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
Ext = {version: '2.0.1'};
window["undefined"]... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
/*
* Ext JS Library 2.0.2
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
Ext.DomHelper = function(){
var tempTableEl ... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
tx.ReminderManager = function(){
var table;
var run = function(){
var rs = table.selectBy('where completed = 0 AND reminder <> \'\' AND reminder <= ?', [new Date()]);
for(va... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
// In AIR, XTemplates must be created at load time
Templates = {
categoryCombo: new Ext.XTemplate(
'<tpl for="."><div class="x-combo-list-item">{listName}</div></tpl>'
),
timeF... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
// Unique task ids, if the time isn't unique enough, the addition
// of random chars should be
Ext.uniqueId = function(){
var t = String(new Date().getTime()).substr(4);
var s = '... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
TaskGrid = function(){
// custom columns
var completeColumn = new CompleteColumn();
var reminderColumn = new ReminderColumn();
TaskGrid.superclass.constructor.call(this, {
... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
Ext.air.NativeWindowManager.getTaskWindow = function(taskId){
var win, winId = 'task' + taskId;
if(win = this.get(winId)) {
win.instance.orderToFront();
} else {
win = new Ex... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
Ext.BLANK_IMAGE_URL = 'images/s.gif';
tx = {data:{}, ui: {}};
// work around for broken cross frame Dates in Safari
function fixDate(d){
return d ? new Date(d.getTime()) : d;
}... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
tx.Importer = function(){
function chooseFile(callback){
var file = new air.File(air.File.documentsDirectory.nativePath);
var filter = new air.FileFilter("Tasks XML File", "*.xml... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
// Implementation class for created the tree powered form field
ListSelector = Ext.extend(Ext.ux.TreeSelector, {
maxHeight:200,
listenForLoad: false,
initComponent : function()... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
Ext.namespace('Ext.ux.form');
/**
* Ext.ux.form.DateTime Extension Class for Ext 2.x Library
*
* @author Ing. Jozef Sakalos
* @copyright (c) 2008, Ing. Jozef Sakalos
... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
ListTree = function(config){
ListTree.superclass.constructor.call(this, Ext.apply({
id:'list-tree',
animate:false,
//rootVisible:false,
region:'west',
width:200,
spli... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
tx.data.TaskStore = Ext.extend(Ext.data.GroupingStore, {
constructor: function(){
tx.data.TaskStore.superclass.constructor.call(this, {
sortInfo:{field: 'dueDate', direc... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
ListLoader = function(config){
Ext.apply(this, config);
};
Ext.extend(ListLoader, Ext.util.Observable, {
keyAttribute: 'id',
keyField: 'parentId',
load: function(node, cal... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
// custom menu item to contain Ext trees
Ext.menu.TreeItem = Ext.extend(Ext.menu.Adapter, {
constructor : function(config){
Ext.menu.TreeItem.superclass.constructor.call(this... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.