code
stringlengths
1
2.08M
language
stringclasses
1 value
require(['order!../slide_config', 'order!modernizr.custom.45394', 'order!prettify/prettify', 'order!hammer', 'order!slide-controller', 'order!slide-deck'], function(someModule) { });
JavaScript
var SLIDE_CONFIG = { // Slide settings settings: { title: 'Building Web Applications that use Google APIs and the JavaScript Client for Google APIs', subtitle: '', useBuilds: true, // Default: true. False will turn off slide animation builds. usePrettify: true, // Default: true enableSlideAreas:...
JavaScript
/* * Copyright 2011 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
/* * jsTree 1.0-rc3 * http://jstree.com/ * * Copyright (c) 2010 Ivan Bozhanov (vakata.com) * * Licensed same as jquery - under the terms of either the MIT License or the GPL Version 2 License * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * $Date: 2...
JavaScript
/* * Copyright 2011 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
/* * Copyright 2011 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
/* * Copyright 2011 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
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript
try { var pageTracker = _gat._getTracker("UA-18761191-1"); pageTracker._trackPageview(); } catch(err) {}
JavaScript
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
JavaScript
function Scene(context, player) { this.player = player; this.waves = []; this.horizonY = -300; this.oceanGradient = context.createLinearGradient(0, this.horizonY, 0, 500); this.oceanGradient.addColorStop(0, 'rgb(0, 0, 255)'); this.oceanGradient.addColorStop(1, 'rgb(0, 0, 128)'); } Scene...
JavaScript
var canvas, context, stats; var time = 0; var windowHalfX = window.innerWidth / 2; var windowHalfY = window.innerHeight / 2; var controls; var scene; var planes = []; var bullets = []; var missiles = []; var player; requestAnimFrame = (function() { return window.requestAnimationFrame || windo...
JavaScript
function Bullet(image, x, y, speed, angle) { this.image = image; this.x = x; this.y = y; this.speed = speed; this.angle = angle; this.life = 0; this.lifetime = 1; } Bullet.prototype.update = function(dt) { this.life += dt; if (this.life > this.lifetime) { return 0; } this.x += ...
JavaScript
function Trail() { this.x = 0; this.y = 0; this.trail = []; this.timer = 0; } Trail.prototype.update = function(x, y, dt) { this.x = x; this.y = y; this.timer += dt; if (this.timer > 0.02) { this.timer = 0; this.trail.push({x: x, y: y}); if (this.trail.length > 20) { th...
JavaScript
function Missile(image, x, y, speed, angle, player) { this.image = image; this.x = x; this.y = y; this.vY = 0; this.speed = speed; this.angle = angle; this.player = player; this.life = 0; this.lifetime = 3; this.arm_time = 0.25 + Math.random() * 0.1 - 0.05; this.max_speed = 3000; t...
JavaScript
function Plane(image, shadowImage, x, y, bullets, missiles) { this.image = image; this.shadowImage = shadowImage; this.x = x; this.y = y; this.speed = 0; this.angle = 0; this.speedChange = false; //this.trail = [{x: this.x, y: this.y}]; //this.trailTimer = 0; this.trail1 = new Trail(); ...
JavaScript
/* @最初版本开发日期: 2009年07月08日 @著作权所有: Lou Barnes ( http://www.loubarnes.com ) 报告漏洞,意见或建议, 请联系 Lou Barnes(iua1024@gmail.com) 或登陆 http://www.loubarnes.com */ var win = { m_sType : "dialog", // 可取值: dialog 对话框 / warning 警告 / error 错误 m_iWidth : 400, m_iHeight : 120, m_iTop : 0, m_iLeft : 0, m_oDat...
JavaScript
function heartbeat() { jQuery.ajax({type: "GET",url: "./?controller=user&task=ajax_heartbeat"}); setTimeout(heartbeat, 600000); } $(heartbeat);
JavaScript
// 加载时动画 var g_sLoadingImage = '<img src="images/loading.gif" align="absmiddle" /> ';
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
/* @最初版本开发日期: 2009年08月26日 @著作权所有: Lou Barnes ( http://www.loubarnes.com ) 报告漏洞,意见或建议, 请联系 Lou Barnes(iua1024@gmail.com) 或登陆 http://www.loubarnes.com */ var pagination = { m_iTotal : 0, m_iPageNo : 0, m_iMaxPageNo : 0, m_iOffset : 0, m_iLimit : 20, m_oData : [], m_sNavURL : '', m_sDataUR...
JavaScript
$(function(){ $('.user-avatar, .user-status').each(function(){ var e = $(this); if(e.attr("title")=="") return; e.bt(e.attr("title"), { width: 300, fill: 'white', strokeStyle: '#999', shrinkToFit: true, hoverIntentOpts: {interval: 0,timeout: 0} }); }); });
JavaScript
$(function(){ $("#form-forget_password_reset").validate({ rules: { password: { required: true, minlength: 6 }, confirm_password: { required: true, equalTo: "#password" } }, messages: { password: { required: "请输入新密码", minlength: "密码最少输入6个字符" }, confi...
JavaScript
$(function(){ $("#form-reset_password").validate({ rules: { password: { required: true, minlength: 6 }, confirm_password: { required: true, equalTo: "#password" } }, messages: { password: { required: "请输入新密码", minlength: "密码最少输入6个字符" }, confirm_pass...
JavaScript
$(function(){ $("#form-register").validate({ rules: { username: { required: true, minlength: 4, maxlength: 40 }, email: { required: true, email: true }, password: { required: true, minlength: 6 }, confirm_password: { required: true, equalTo...
JavaScript
$(function(){ $("#form-login").validate({ rules: { username: { required: true }, password: { required: true } }, messages: { username: { required: "请输入用户名" }, password: { required: "请输入密码" } }, submitHandler: function(form){ var e...
JavaScript
$(function(){ $("#email").hide(); $("#type-1").click(function(){ $("#username").show(); $("#email").hide(); }); $("#type-2").click(function(){ $("#email").show(); $("#username").hide(); }); $("#submit").click(function(){ var sType = "username"; var sValue = ""; if($("#type-1")....
JavaScript
var g_sKey = ''; var g_iCategoryID = 0; var g_iTotal = 0; var g_iPageNo = 0; var g_iMaxPageNo = 0; var g_iOffset = 0; var g_iLimit = 30; $(function(){ $("#form-search").validate({ rules: { key: { required: true } }, messages: { key: { required: "" } }, submitH...
JavaScript
$(function(){ $('.image').each(function(){ var e = $(this); e.bt('<img src="'+e.attr("title")+'" width="200" height="200" />', { width: 200, height: 200, fill: 'white', strokeStyle: '#999', shrinkToFit: true, hoverIntentOpts: {interval: 0,timeout: 0} }); }); });
JavaScript
$(function(){ $('.avatar, .help').each(function(){ var e = $(this); if(e.attr("title")=="") return; e.bt(e.attr("title"), { width: 300, fill: 'white', strokeStyle: '#999', shrinkToFit: true, hoverIntentOpts: {interval: 0,timeout: 0} }); }); });
JavaScript
$(function(){ $("#form-pricing").validate({ rules: { name: { required: true }, customer_email: { email: true }, captcha: { required: true, minlength: 4, maxlength: 4 } }, messages: { name: { required: "请输入项目名" }, customer_email: { email...
JavaScript
$(function(){ $("#form-message").validate({ rules: { name: { required: true }, title: { required: true, maxlength: 500 }, email: { email: true }, captcha: { required: true, minlength: 4, maxlength: 4 } }, messages: { name: { re...
JavaScript
// 加载时动画 var g_sLoadingImage = '<img src="../images/loading.gif" alt="处理中..." align="absmiddle" /> '; $(function(){ $.ajaxSetup({cache: false}); var ajaxLoader = $('<div id="ajax-loader">'+g_sLoadingImage+' 处理中...</div>').appendTo("body").hide(); $('#ajax-loader').ajaxStart(function(){ajaxLoader.fadeIn(200)...
JavaScript
/* @最初版本开发日期: 2010年08月19日 @著作权所有: Lou Barnes ( http://www.loubarnes.com ) 报告漏洞,意见或建议, 请联系 Lou Barnes(iua1024@gmail.com) 或登陆 http://www.loubarnes.com */ // 为新添加的节点分配临时ID var g_iNewMenuID = 0; $(function(){ updateOrderIcon(); }); // 添加菜单 function addSubMenu(iMenuID) { if(g_iNewMenuID==0) { ...
JavaScript
function chkForm(n) { var e; e = document.getElementById("username"); if(e.value=="") { alert("请输入用户名"); e.focus(); return false; } e = document.getElementById("email"); if(e.value=="") { alert("请输入邮箱"); e.focus(); return false; } e = document.getElementById("password1")...
JavaScript
$(function(){ pagination.setNavUrl('./?controller=user&task=ajax_listing'); pagination.setDataUrl('./?controller=user&task=ajax_listing_data'); pagination.setLimit(20); // 每页显示的记录条数 pagination.setUpdateNavFn(function(){ var s = ''; if(pagination.getTotal()>0) { s += '<div class="pag...
JavaScript
$(function(){ $('#ajax-loader').remove(); $('#input-username,#input-password').keypress(function(e){ if(e.which==13) login(); }); }); function chkForm() { var e; e = document.getElementById("input-username"); if(e.value=="") { $("#login-msg").attr("class", "message-error").html("用户名不能为空...
JavaScript
function selectCategory(iCategoryID) { window.location.href="./?controller=content&task=listing&category_id="+iCategoryID; } function setFrontpage(iContentID) { if(g_iFrontpageID == iContentID) return; $.ajax({ type: "GET", url: "./?controller=content&task=ajax_set_frontpage&content_id="+iContentI...
JavaScript
/* @最初版本开发日期: 2010年08月14日 @著作权所有: Lou Barnes ( http://www.loubarnes.com ) 报告漏洞,意见或建议, 请联系 Lou Barnes(iua1024@gmail.com) 或登陆 http://www.loubarnes.com */ // 为新添加的节点分配临时ID var g_iNewCategoryID = 0; $(function(){ updateOrderIcon(); }); // 添加分类 function addSubCategory(iCategoryID) { if(g_iNewCateg...
JavaScript
function selectCategory(iCategoryID) { window.location.href="./?controller=technic&task=listing&category_id="+iCategoryID; }
JavaScript
function selectCategory(iCategoryID) { window.location.href="./?controller=product&task=listing&category_id="+iCategoryID; }
JavaScript
function toggleWest() { var e =$('.theme-west'); if(e.css("display")=="block") { e.hide(); $(".theme-center").css("margin-left","0"); $("html").css("background-position","-120px 0"); } else { e.show(); $(".theme-center").css("margin-left","120px"); $("html").css("background-position","0 0...
JavaScript
(function( $, undefined ) { //special click handling to make widget work remove after nav changes in 1.4 var href, ele = ""; $( document ).on( "click", "a", function( e ) { href = $( this ).attr( "href" ); var hash = $.mobile.path.parseUrl( href ); if( typeof href !== "undefined" && hash !== "" && href !== h...
JavaScript
(function( $, undefined ) { //special click handling to make widget work remove after nav changes in 1.4 var href, ele = ""; $( document ).on( "click", "a", function( e ) { href = $( this ).attr( "href" ); var hash = $.mobile.path.parseUrl( href ); if( typeof href !== "undefined" && hash !== "" && href !== h...
JavaScript
$.mobile.document.on( "pagecreate", "#demo-page", function(){ var head = $( ".ui-page-active [data-role='header']" ); $.mobile.document.on( "click", "#sorter li", function() { var top, letter = $( this ).text(), divider = $( "#sortedList" ).find( "li.ui-li-divider:contains(" + letter + ")" ); if ( divider...
JavaScript
function Worker(){ this.inProgress = false; this.dataRequest = { dataType: 'json', type: 'POST', async: true, url: "index.php", data: {}, success: function(data){ } }; this.typeRequest = 'POST'; this.url = "index.php?r="; } Worker.prototype.appendData = function (data){ if($.type(this.appendDataId) ...
JavaScript
// View demo source code function attachPopupHandler( popup, sources ) { popup.one( "popupbeforeposition", function() { var collapsibleSet = popup.find( "[data-role='collapsibleset']" ), collapsible, pre; $.each( sources, function( idx, options ) { collapsible = $( "<div data-role='collapsible' data-col...
JavaScript
$(function() { function Report(){ var self = this; self.inProgress = false; self.dataRequest = {}; self.typeRequest = "POST"; self.url = "index.php?r=report/"; self.request = function(callback,dataSend){ self.inProgress = true; dataSend = dataSend || self.dataRequest; if(!!dataSend.ctrl && !!dataS...
JavaScript
var ORGANISATION_INDEX = '?r=organisation/manage/data'; var ORGANISATION_ORGTYPES = '?r=organisation/manage/getOrgTypes'; var ORGANISATION_SEARCH = '?r=organisation/manage/search'; var ORGANISATION_SORT = '?r=organisation/manage/sort'; var ORGANISATION_SEARCH_LETTER = '?r=organisation/manage/searchByLetter'; var ORGANI...
JavaScript
// Turn off Ajax for local file browsing if ( location.protocol.substr(0,4) === 'file' || location.protocol.substr(0,11) === '*-extension' || location.protocol.substr(0,6) === 'widget' ) { // Start with links with only the trailing slash and that aren't external links var fixLinks = function() { $( "a[...
JavaScript
/*! * jQuery Mobile 1.4.2 * Git HEAD hash: 9d9a42a27d0c693e8b5569c3a10d771916af5045 <> Date: Fri Feb 28 2014 17:32:01 UTC * http://jquerymobile.com * * Copyright 2010, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license. * http://jquery.org/license * */ (function ( root, doc, factory ...
JavaScript
/*! * jQuery Mobile 1.4.3 * Git HEAD hash: b9c6473e3d90af26570e6f14e5a0307897ab385c <> Date: Tue Jul 1 2014 15:37:36 UTC * http://jquerymobile.com * * Copyright 2010, 2014 jQuery Foundation, Inc. and othercontributors * Released under the MIT license. * http://jquery.org/license * */ (function ( root, doc, factory ) ...
JavaScript
// Scroll fix on load page $(document).ready(function(){ $(window).scroll(function () {if ($(this).scrollTop() > 0) {$('#scroller').fadeIn();} else {$('#scroller').fadeOut();}}); $('#scroller').click(function () {$('body,html').animate({scrollTop: 0}, 400); return false;}); }); // Подгрузка городов function l...
JavaScript
// root theme js file
JavaScript
// nested theme js file
JavaScript
alert("Test App");
JavaScript
alert('I am a root level file!');
JavaScript
alert('win sauce');
JavaScript
alert('plugin one nested js file');
JavaScript
/** * Debug Toolbar Javascript. * * Creates the DEBUGKIT namespace and provides methods for extending * and enhancing the Html toolbar. Includes library agnostic Event, Element, * Cookie and Request wrappers. * * * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright 2005-2010, Cake Softw...
JavaScript
// root theme js file
JavaScript
// nested theme js file
JavaScript
alert("Test App");
JavaScript
alert('I am a root level file!');
JavaScript
alert('win sauce');
JavaScript
alert('plugin one nested js file');
JavaScript
/* Holder - 1.6 - client side image placeholders (c) 2012 Ivan Malopinsky / http://imsky.co Provided under the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0 Commercial use requires attribution. */ var Holder = Holder || {}; (function (app, win) { var preempted = false, fallback = false, canvas = d...
JavaScript
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT // IT'S ALL JUST JUNK FOR OUR DOCS! // ++++++++++++++++++++++++++++++++++++++++++ !function ($) { $(function(){ var $window = $(window) // Disable certain links in docs $('section [href^=#]').click(function (e) { e.preventDefault() }) // sid...
JavaScript
/* * jQuery Color Animations * Copyright 2007 John Resig * Released under the MIT and GPL licenses. */ (function(jQuery){ // We override the animation for all of these color styles jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColo...
JavaScript
/* Copyright 2010 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
JavaScript
/* Copyright 2010 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript
/* * Copyright 2011 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
/* * Copyright 2011 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
/* * Copyright 2011 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
/* * jsTree 1.0-rc3 * http://jstree.com/ * * Copyright (c) 2010 Ivan Bozhanov (vakata.com) * * Licensed same as jquery - under the terms of either the MIT License or the GPL Version 2 License * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * $Date: 2...
JavaScript
/* * Copyright 2011 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
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript
/** * @authors TODO * @fileoverview TODO */ document.cancelFullScreen = document.webkitCancelFullScreen || document.mozCancelFullScreen; /** * @constructor */ function SlideDeck(el) { this.curSlide_ = 0; this.prevSlide_ = 0; this.config_ = null; this.container = el || document....
JavaScript
(function(window) { var ORIGIN_ = location.protocol + '//' + location.host; function SlideController() { this.popup = null; this.isPopup = window.opener; if (this.setupDone()) { window.addEventListener('message', this.onMessage_.bind(this), false); // Close popups if we reload the main window. win...
JavaScript
/* Copyright (C) 2011 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwa...
JavaScript
/* * Hammer.JS * version 0.4 * author: Eight Media * https://github.com/EightMedia/hammer.js */ function Hammer(element, options, undefined) { var self = this; var defaults = { // prevent the default event or not... might be buggy when false prevent_default : false, css_hacks ...
JavaScript
require(['order!../slide_config', 'order!modernizr.custom.45394', 'order!prettify/prettify', 'order!hammer', 'order!slide-controller', 'order!slide-deck'], function(someModule) { });
JavaScript
var SLIDE_CONFIG = { // Slide settings settings: { title: 'Building Web Applications that use Google APIs and the JavaScript Client for Google APIs', subtitle: '', useBuilds: true, // Default: true. False will turn off slide animation builds. usePrettify: true, // Default: true enableSlideAreas:...
JavaScript
require('./builder.js').build({ "baseUrl": "../src/", "main": "dat/gui/GUI", "out": "../build/dat.gui.js", "minify": false, "shortcut": "dat.GUI", "paths": {} });
JavaScript
/** * dat-gui JavaScript Controller Library * http://code.google.com/p/dat-gui * * Copyright 2011 Data Arts Team, Google Creative Lab * * 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 ...
JavaScript
/// # Google Closure Compiler Service # /// https://github.com/weaver/scribbles/blob/master/node/google-closure/lib/closure.js /// Compress javascript with Node.js using the Closure Compiler /// Service. var sys = require('sys'); exports.compile = compile; // Use the Google Closure Compiler Service to compress Javas...
JavaScript
require('./builder.js').build({ "baseUrl": "../src/", "main": "dat/color/Color", "out": "../build/dat.color.js", "minify": false, "shortcut": "dat.Color", "paths": {} });
JavaScript
/** * QUnit 1.2.0pre - A JavaScript Unit Testing Framework * * http://docs.jquery.com/QUnit * * Copyright (c) 2011 John Resig, Jörn Zaefferer * Dual licensed under the MIT (MIT-LICENSE.txt) * or GPL (GPL-LICENSE.txt) licenses. */ (function(window) { var defined = { setTimeout: typeof window.setTimeout !== "u...
JavaScript
/** * dat-gui JavaScript Controller Library * http://code.google.com/p/dat-gui * * Copyright 2011 Data Arts Team, Google Creative Lab * * 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 ...
JavaScript
/** * dat-gui JavaScript Controller Library * http://code.google.com/p/dat-gui * * Copyright 2011 Data Arts Team, Google Creative Lab * * 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 ...
JavaScript
/** * dat-gui JavaScript Controller Library * http://code.google.com/p/dat-gui * * Copyright 2011 Data Arts Team, Google Creative Lab * * 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 ...
JavaScript
/** * dat-gui JavaScript Controller Library * http://code.google.com/p/dat-gui * * Copyright 2011 Data Arts Team, Google Creative Lab * * 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 ...
JavaScript
/** * dat-gui JavaScript Controller Library * http://code.google.com/p/dat-gui * * Copyright 2011 Data Arts Team, Google Creative Lab * * 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 ...
JavaScript
/** * dat-gui JavaScript Controller Library * http://code.google.com/p/dat-gui * * Copyright 2011 Data Arts Team, Google Creative Lab * * 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 ...
JavaScript