code
stringlengths
1
2.08M
language
stringclasses
1 value
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-11-02 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
function convertCurrency(currencyDigits) { // Constants: var MAXIMUM_NUMBER = 99999999999.99; // Predefine the radix characters and currency symbols for output: var CN_ZERO = "零"; var CN_ONE = "壹"; var CN_TWO = "贰"; var CN_THREE = "叁"; var CN_FOUR = "肆"; var CN_FIVE = "伍"; var CN_SIX = "陆"; var CN...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-10-02 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-10-02 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-10-02 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-10-02 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-10-08 * http://code.google.com/p/anewssystem/ */ /** * 继承JsonTree,自定义树形. * * @param container 被渲染的html元素的id,<div id="lighttree"></div> * @par...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-10-08 * http://code.google.com/p/anewssystem/ */ /** * 继承JsonGrid,自定义表格. * * @param container 被渲染的html元素的id,<div id="lightgrid"></div> * @par...
JavaScript
Tracker = { // 初始化 init : function() { // 开启提示功能 Ext.QuickTips.init(); this.buildLayout(); this.buildTree(); this.buildGrid(); } // 布局 , buildLayout : function() { var layout = new Ext.BorderLayout(document.body, { hideOnL...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-09-25 * http://code.google.com/p/anewssystem/ */ var index = function() { var layout; return { init : function() { th...
JavaScript
var menuManage = function(){ //建立DataGrid 对象 //@dlgContentDiv: 弹出框内容 //@dlgWidth: 弹出框宽度 //@dlgHeight: 弹出框高度 //@dlgTitle: 弹出框标题 //@initPaging: Grid分页数据读取路径 //@paging: 是否分页 //@pageSize: 每页数据条数 //@exec: 业务对象,对应dwr.xml var grid = new Ext.DataGrid({ gridDiv: 'data...
JavaScript
/** * Copyright(c) 2006-2007, FeyaSoft Inc. * * This JS is mainly used to handle action in the list * and create, edit, delete. * There includes Search function, paging function etc * Create/update is using pop-up dialog * Delete can select multiple line */ Ext.onReady(function(){ var myPageSize =...
JavaScript
Ext.data.DWRProxy = function(dwrCall, pagingAndSort) { Ext.data.DWRProxy.superclass.constructor.call(this); this.dwrCall = dwrCall; //this.args = args; this.pagingAndSort = (pagingAndSort!=undefined ? pagingAndSort : true); }; Ext.extend(Ext.data.DWRProxy, Ext.data.DataProxy, { load : function(params, reader...
JavaScript
// JavaScript Document Ext.onReady (function() { function formatBoolean(value){ return value ? 'Yes' : 'No'; }; function formatDate(value){ return value ? value.dateFormat('M, d, Y') : ''; }; deleteRow = function(){ if (confirm('确定要删除?')) { var sm = grid.getSelectionModel(); ...
JavaScript
Ext.namespace('Ext.ux'); // --- Ext.ux.CheckRowSelectionGrid --- // Ext.ux.CheckRowSelectionGrid = function(container, config) { var id = this.root_cb_id = Ext.id(null, 'cbsm-'); var cb_html = String.format("<input type='checkbox' id='{0}'/>", this.root_cb_id); var grid = this; var cm = config.cm; // ...
JavaScript
/* * Ext JS Library 1.0.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license */ var Example = { init : function(){ // some data yanked off the web var myData = [ ['3m Co',71.72,0.02,0.03,'9/1 12:00am'], ['Alcoa Inc',29.01,0.42,1.47,'9/1 12:00am'], ...
JavaScript
Ext.tree.DWRTreeLoader = function(config) { Ext.tree.DWRTreeLoader.superclass.constructor.call(this, config); }; Ext.extend(Ext.tree.DWRTreeLoader, Ext.tree.TreeLoader, { requestData : function(node, callback) { if (this.fireEvent("beforeload", this, node, callback) !== false) { //todo //...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-11-11 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-11-12 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-10-02 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-10-02 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-10-02 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-10-02 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-10-02 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-10-02 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-09-06 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 打开提示功能 Ext.QuickTips.init(); // ========================...
JavaScript
Ext.data.DWRProxy = function(dwrCall, pagingAndSort) { Ext.data.DWRProxy.superclass.constructor.call(this); this.dwrCall = dwrCall; //this.args = args; this.pagingAndSort = (pagingAndSort!=undefined ? pagingAndSort : true); }; Ext.extend(Ext.data.DWRProxy, Ext.data.DataProxy, { load : function(params, reader...
JavaScript
Ext.namespace('Ext.ux'); // --- Ext.ux.CheckRowSelectionGrid --- // Ext.ux.CheckRowSelectionGrid = function(container, config) { var id = this.root_cb_id = Ext.id(null, 'cbsm-'); var cb_html = String.format("<input type='checkbox' id='{0}'/>", this.root_cb_id); var grid = this; var cm = config.cm; // ...
JavaScript
/* * Ext JS Library 1.0.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license */ var Example = { init : function(){ // some data yanked off the web var myData = [ ['3m Co',71.72,0.02,0.03,'9/1 12:00am'], ['Alcoa Inc',29.01,0.42,1.47,'9/1 12:00am'], ...
JavaScript
// JavaScript Document Ext.onReady (function() { function formatBoolean(value){ return value ? 'Yes' : 'No'; }; function formatDate(value){ return value ? value.dateFormat('M, d, Y') : ''; }; var cm = new Ext.grid.ColumnModel([{ header: "姓名", dataIndex: "name", width: ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-09-06 * http://code.google.com/p/anewssystem/ */ function checkRoleForUser(id){ UserHelper.getRolesForUser(id,function(roles){ if(id==n...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-09-20 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-09-21 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-09-13 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-09-06 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 新节点的后缀 var cseed = 0, oseed = 0; var myPageSize = 20; ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-09-06 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 打开提示功能 Ext.QuickTips.init(); // ========================...
JavaScript
var Index = function() { var layout, center; var classClicked = function(e, target){ Index.loadDoc(target.href); }; return { init : function() { Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); layout = new Ext.BorderLayout(document.body,...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-09-13 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-09-13 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-09-13 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 开启提示功能 Ext.QuickTips.init(); // 使用cookies保持状态 // ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-09-06 * http://code.google.com/p/anewssystem/ */ Ext.onReady(function(){ // 新节点的后缀 var cseed = 0, oseed = 0; var myPageSize = 20; ...
JavaScript
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license * * @author Lingo * @since 2007-09-21 * http://code.google.com/p/anewssystem/ */ UserGridPanel = function(container, config) { UserGridPanel.superclass.constructor.call(thi...
JavaScript
/** * Modify the details of the employee. * @param {object} employee The employee. * @param {integer} newDetails * @config {string} [title] The new job title. * @config {number} [salary] The new salary. */ function modify(employee, newDetails) { if (newDetails.title != undefined) employee.title = new...
JavaScript
document.write("<script src='test.js'></script>"); function testAdd() { assertEquals(add(1, 1), 2); }
JavaScript
/** * @param a 第一个加数 * @param b 第二个加数 * @returns 两个数的和 * @type Integer */ function add(a, b) { return a + b; alert('a'); }
JavaScript
/** * @param conf 初始化配置 */ Night = function(conf) { }; /** * @param a first * @param b second * @returns add result */ Night.prototype.add = function(a, b) { return a + b; };
JavaScript
// Author: Ilija Studen for the purposes of Uni–Form // Modified by Aris Karageorgos to use the parents function // Modified by Toni Karlheinz to support input fields' text // coloring and removal of their initial values on focus jQuery.fn.uniform = function(settings) { settings = jQuery.extend({ valid_class ...
JavaScript
/** * jQuery jqGalScroll Plugin * Examples and documentation at: http://benjaminsterling.com/jquery-jqgalscroll-photo-gallery/ * * @author: Benjamin Sterling * @version: 2.1 * @copyright (c) 2007 Benjamin Sterling, KenzoMedia * @extendThanks Koesmanto Bong http://www.koesbong.com/ * Koes put a fire und...
JavaScript
/** * Loads the special study into an iframe */ (function() { var specialStudyLoginPage = '/specialStudyLogin'; var pageUrl, sessId, specialStudyLoc; var listener; function loadSpecialStudy(specialStudyLocation, sessionId, pageToView, theListener) { pageUrl = pageToView; sessId = sessionId; spe...
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
try { var pageTracker = _gat._getTracker("UA-18761191-1"); pageTracker._trackPageview(); } catch(err) {}
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.editorConfig = function(config) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','he',{placeholder:{title:'מאפייני שומר מקום',toolbar:'צור שומר מקום',text:'תוכן שומר המקום',edit:'ערוך שומר מקום',textMissing:'שו...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','en',{placeholder:{title:'Placeholder Properties',toolbar:'Create Placeholder',text:'Placeholder Text',edit:'Edit Placeholder',te...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','he',{uicolor:{title:'בחירת צבע ממשק משתמש',preview:'תצוגה מקדימה',config:'הדבק את הטקסט הבא לתוך הקובץ config.js',predefined:'קבוצות...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','en',{uicolor:{title:'UI Color Picker',preview:'Live preview',config:'Paste this string into your config.js file',predefined:'Predefi...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */
JavaScript
/*! * MultiUpload for xheditor * @requires xhEditor * * @author Yanis.Wang<yanis.wang@gmail.com> * @site http://xheditor.com/ * @licence LGPL(http://www.opensource.org/licenses/lgpl-license.php) * * @Version: 0.9.2 (build 100505) */ var swfu,selQueue=[],selectID,arrMsg=[],allSize=0,uploadSize=0; f...
JavaScript
/* * jQuery UI Accordion 1.6 * * Copyright (c) 2007 Jörn Zaefferer * * http://docs.jquery.com/UI/Accordion * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Revision: $Id: jquery.accordion.js 4876 2008-03-08 ...
JavaScript
/* * jQuery Easing v1.1.1 - http://gsgd.co.uk/sandbox/jquery.easing.php * * Uses the built in easing capabilities added in jQuery 1.1 * to offer multiple easing options * * Copyright (c) 2007 George Smith * Licensed under the MIT License: * http://www.opensource.org/licenses/mit-license.php */ jQ...
JavaScript
/* Copyright (c) 2007 Paul Bakaus (paul.bakaus@googlemail.com) and Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * $LastChangedDate: 2007...
JavaScript
 //表格的高亮显示效果 //此数组储存需要添加效果的Table.Id function trHightLight(tablesId) { for (i = 0; i < tablesId.length; i++) { $("#" + tablesId[i] + " tr").mouseover(function() { $(this).addClass("trHightLight"); }); $("#" + tablesId[i] + " tr").mouseout(function() { $(thi...
JavaScript
jQuery().ready(function() { jQuery('#navigation').accordion({ header: '.head', navigation1: true, event: 'click', fillSpace: true, animated: 'bounceslide' }); }); //设置选择的菜单 function menuChange(activeid) { var obj = activeid var links = $("#navigatio...
JavaScript
var mapWidth = 512; var mapHeight = 320; var mapType; var center_lat = 0; var center_lng = 0; var marker_lat = 0; var marker_lng = 0; var setZoom = 3; var map,marker; function initMap(zoom) { var mapOptions={zoom: 3,streetViewControl: false,scaleControl: true,mapTypeId: google.maps.MapTypeId.ROADMAP}; m...
JavaScript
/** * password_strength_plugin.js * Copyright (c) 2009 myPocket technologies (www.mypocket-technologies.com) * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the ...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
JavaScript
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of...
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
(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
/* * 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
/** * @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
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