code
stringlengths
1
2.08M
language
stringclasses
1 value
/* Copyright (c) Business Objects 2006. All rights reserved. */ if (typeof bobj == 'undefined') { bobj = {}; } bobj.encodeUTF8 = function(string) { var arr = []; var strLen = string.length; for(var i = 0; i < strLen; i++) { var c = string.charCodeAt(i); if(c < 0x80) { ...
JavaScript
/** * * @param name [String] Name of itme * @param img [String] uri location of icon image * @param title [String] tooltip */ bobj.crv.PanelNavigatorItem = function(name, img, title, topOffset) { this._name = name; this._img = img; this._isSelected = false; this._title = title; thi...
JavaScript
/** * GroupTreeNode constructor. * * @param kwArgs.id [String] DOM node id * @param kwArgs.groupName [String] Name of the group * @param kwArgs.groupPath [String] Path of the group */ bobj.crv.newGroupTreeNode = function(kwArgs) { var UPDATE = MochiKit.Base.update; kwArgs = UPDATE ( { ...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "P\u00E4\u00E4raportti"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "Siirry ensimm\u00E4iselle sivulle"; var L_bobj_crv_PrevPage = "Siirry edelliselle sivulle"; var L_bobj_crv_NextPage = "Siirry seuraavalle siv...
JavaScript
/** * LeftPanel is a container class managing PanelNavigator and ToolPanel classes */ bobj.crv.newLeftPanel = function(kwArgs) { kwArgs = MochiKit.Base.update ( { id : bobj.uniqueId () + "_leftPanel", hasToggleGroupTreeButton : true, hasToggleParameterPanelButton : true, ...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "\u4E3B\u5831\u8868"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "\u79FB\u81F3\u7B2C\u4E00\u9801"; var L_bobj_crv_PrevPage = "\u79FB\u81F3\u4E0A\u4E00\u9801"; var L_bobj_crv_NextPage = "\u79FB\u81F3\u4E0B\u4E00...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ /* ================================================================================ ParameterUI Widget for displaying and editing parameter values. Contains one or many ParameterValueRows and, optionally, UI that allows rows to be added. ======...
JavaScript
/* ================================================================================ ParameterValueRow Internal class for use by ParameterUI. Darws a UI for a single parameter value. ================================================================================ */ bobj.crv.params.newParameterValueRow = func...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "Hovedrapport"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "G\u00E5 til f\u00F8rste side"; var L_bobj_crv_PrevPage = "G\u00E5 til forrige side"; var L_bobj_crv_NextPage = "G\u00E5 til neste side"; var L_bobj_c...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ if (bobj.crv.config.isDebug) { // DHTML Lib makes some errors hard to debug by setting window.onerror // (esp with mozilla and the customcombo widget) localErrHandler = null; } //we do not include style.css for viewer in dhtmllib in...
JavaScript
bobj.crv.GroupTreeListener = function(groupTree) { this._groupTree = groupTree; this._groupTreePrevState = this.getTreeState (); this._lastNodeRendererd = this.getNumberOfNodesRendered () - 1; this._nodeHeight = -1; this._futreNodesPlaceHolder = null; this.actionIDs = []; this.addFutu...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ if (typeof(bobj.crv.StackedPanel) == 'undefined') { bobj.crv.StackedPanel = {}; } /** * Constructor. * * @param id [String] DHTML id * @param width [int] Width of the panel in pixels * @param height [int] Height of t...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ /** * ReportView Constructor */ bobj.crv.newReportView = function(kwArgs) { kwArgs = MochiKit.Base.update({ id: bobj.uniqueId(), viewStateId: null, isMainReport: false }, kwArgs); var o = newWidget(kwArgs.i...
JavaScript
/** * Publish/Subscribe event system for anonymous message passing * */ if (typeof bobj == 'undefined') { bobj = {}; } if (typeof bobj.event == 'undefined') { bobj.event = {}; bobj.event._topicSubscriptions = {}; bobj.event._globalSubscriptions = []; } /** * Publish an event for ...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "\uC8FC \uBCF4\uACE0\uC11C"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "\uCCAB \uD398\uC774\uC9C0\uB85C \uC774\uB3D9"; var L_bobj_crv_PrevPage = "\uC774\uC804 \uD398\uC774\uC9C0\uB85C \uC774\uB3D9"; var L_bobj...
JavaScript
////////////////////////////// // FOR DEBUGGING ONLY var debug = false; function dumpFormFields(formName) { theForm = document.forms[formName]; for ( idx = 0; idx < theForm.elements.length; ++idx ) alert ( theForm.elements[idx].name + " - " + theForm.elements[idx].value ); } /////////////////...
JavaScript
////////////////////////////// // FOR DEBUGGING ONLY var debug = false; function dumpFormFields(formName) { theForm = document.forms[formName]; for ( idx = 0; idx < theForm.elements.length; ++idx ) alert ( theForm.elements[idx].name + " - " + theForm.elements[idx].value ); } ///////////////...
JavaScript
// crviewerinclude.js // Includes functions that should be written out for all javascript enabled clients function crv_createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var exp...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "P\u00E4\u00E4raportti"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "Siirry ensimm\u00E4iselle sivulle"; var L_bobj_crv_PrevPage = "Siirry edelliselle sivulle"; var L_bobj_crv_NextPage = "Siirry seuraavalle siv...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "Raport g\u0142\u00F3wny"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "Id\u017A do pierwszej strony"; var L_bobj_crv_PrevPage = "Id\u017A do poprzedniej strony"; var L_bobj_crv_NextPage = "Id\u017A do nast\u011...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "\uC8FC \uBCF4\uACE0\uC11C"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "\uCCAB \uD398\uC774\uC9C0\uB85C \uC774\uB3D9"; var L_bobj_crv_PrevPage = "\uC774\uC804 \uD398\uC774\uC9C0\uB85C \uC774\uB3D9"; var L_bobj...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "Ana Rapor"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "\u0130lk Sayfaya Git"; var L_bobj_crv_PrevPage = "\u00D6nceki Sayfaya Git"; var L_bobj_crv_NextPage = "Sonraki Sayfaya Git"; var L_bobj_crv_LastPage = "...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "Informe principal"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "Ir a primera p\u00E1gina"; var L_bobj_crv_PrevPage = "Ir a p\u00E1gina anterior"; var L_bobj_crv_NextPage = "Ir a p\u00E1gina siguiente"; var L_...
JavaScript
function getArchiveParameters(lang) { var resultParameters = "ReportViewer.jar"; if (!(lang in ["de", "en", "es", "fr", "it", "ja", "ko", "nl", "pt", "sv", "zh_CN", "zh_TW"])) { resultParameters += ",ReportViewer_" + lang + ".jar"; } return resultParameters; } function writeJavaViewe...
JavaScript
function writeActxViewer(sViewerVer, sProductLang, sPreferredViewingLang, bDrillDown, bExport, bDisplayGroupTree, bGroupTree, bAnimation, bPrint, bRefresh, bSearch, bZoom, bSearchExpert, bSelectExpert, sParamVer) { document.write("<OBJECT ID=\"CRViewer\""); document.write("CLASSID=\"CLSID:C0A870C3...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "Huvudrapport"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "G\u00E5 till f\u00F6rsta sidan"; var L_bobj_crv_PrevPage = "G\u00E5 till f\u00F6reg\u00E5ende sida"; var L_bobj_crv_NextPage = "G\u00E5 till n\u00E4st...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "\u4E3B\u5831\u8868"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "\u79FB\u81F3\u7B2C\u4E00\u9801"; var L_bobj_crv_PrevPage = "\u79FB\u81F3\u4E0A\u4E00\u9801"; var L_bobj_crv_NextPage = "\u79FB\u81F3\u4E0B\u4E00...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "Main Report"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "Go to First Page"; var L_bobj_crv_PrevPage = "Go to Previous Page"; var L_bobj_crv_NextPage = "Go to Next Page"; var L_bobj_crv_LastPage = "Go to Last...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "\u30E1\u30A4\u30F3\u30EC\u30DD\u30FC\u30C8"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "\u6700\u521D\u306E\u30DA\u30FC\u30B8\u3078"; var L_bobj_crv_PrevPage = "\u524D\u306E\u30DA\u30FC\u30B8\u3078"; var L_bob...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "Relat\u00F3rio Principal"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "Ir para a Primeira P\u00E1gina"; var L_bobj_crv_PrevPage = "Ir para a P\u00E1gina Anterior"; var L_bobj_crv_NextPage = "Ir para a Pr\u00F3...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "\u0E23\u0E32\u0E22\u0E07\u0E32\u0E19\u0E2B\u0E25\u0E31\u0E01"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "\u0E44\u0E1B\u0E17\u0E35\u0E48\u0E2B\u0E19\u0E49\u0E32\u0E41\u0E23\u0E01"; var L_bobj_crv_PrevPage = "\...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "Hauptbericht"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "Zur ersten Seite"; var L_bobj_crv_PrevPage = "Zur vorherigen Seite"; var L_bobj_crv_NextPage = "Zur n\u00E4chsten Seite"; var L_bobj_crv_LastPage = "...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "Rapport principal"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "Aller \u00E0 la premi\u00E8re page"; var L_bobj_crv_PrevPage = "Aller \u00E0 la page pr\u00E9c\u00E9dente"; var L_bobj_crv_NextPage = "Aller \u00...
JavaScript
/* Copyright (c) Business Objects 2006. All rights reserved. */ var L_bobj_crv_MainReport = "\u0413\u043B\u0430\u0432\u043D\u044B\u0439 \u043E\u0442\u0447\u0435\u0442"; // Viewer Toolbar tooltips var L_bobj_crv_FirstPage = "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0435\u0440\u0432\u043E\u0439 \u04...
JavaScript
/*$(document).ready(function(){ //custom select box if( $('.selectOption').length > 0 ) $('.selectOption').selectbox(); $("#topNav li").hover( function(){$(this).find('ul').slideDown("fast");}, function (){$(this).find('ul').slideUp("fast");} ); $(".eventList dt").parent().find("dd:even").addClass("even");...
JavaScript
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(beginReq); Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endReq); function beginReq(sender, args) { // shows the Popup $find(ModalProgress).show(); } function endReq(sender, args) { // shows the Popup $find(ModalProgress)....
JavaScript
$(document).ready(function () { //custom select box if ($('.selectOption').length > 0) $('.selectOption').selectbox(); $("#data>iframe").css("overflow-y", "hidden"); $("#topNav li").hover( function () { $(this).find('ul').slideDown("fast"); }, function () { $(this).find('ul').slideUp...
JavaScript
/**//** * @author jemry */ $(document).ready(function(){ /**//* 设置默认属性 */ $.validator.setDefaults({ submitHandler: function(form) { form.submit(); } }); // 字符验证 jQuery.validator.addMethod("stringCheck", function(value, element...
JavaScript
/*jqueryzoom&&jcarousel*/ (function($){ $.fn.jqueryzoom=function(options){ var settings={ xzoom:200, yzoom:200, offset:10, position:"right", lens:1, preload:1}; if(options){ $.extend(settings,options);} var noalt=''; $(this).hover(function(){ var imageLeft=$(this).offset().left; var imageTo...
JavaScript
/* * Facebox (for jQuery) * version: 1.2 (05/05/2008) * @requires jQuery v1.2 or later * * Examples at http://famspam.com/facebox/ * * Licensed under the MIT: * http://www.opensource.org/licenses/mit-license.php * * Copyright 2007, 2008 Chris Wanstrath [ chris@ozmm.org ] * * Usage: * * ...
JavaScript
$(document).ready(function(){ //Sidebar Accordion Menu: $("#main-nav li ul").hide(); // Hide all sub menus $("#main-nav li a.current").parent().find("ul").slideToggle("slow"); // Slide down the current menu item's sub menu $("#main-nav li a.nav-top-item").click( // When a top menu item is clicked....
JavaScript
/* * Facebox (for jQuery) * version: 1.2 (05/05/2008) * @requires jQuery v1.2 or later * * Examples at http://famspam.com/facebox/ * * Licensed under the MIT: * http://www.opensource.org/licenses/mit-license.php * * Copyright 2007, 2008 Chris Wanstrath [ chris@ozmm.org ] * * Usage: * * ...
JavaScript
jQuery.extend({ createUploadIframe: function(id, uri) { //create frame var frameId = 'jUploadFrame' + id; var iframeHtml = '<iframe id="' + frameId + '" name="' + frameId + '" style="position:absolute; top:-9999px; left:-9999px"'; if(window.ActiveXObject) { ...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
var isCommonJS = typeof window == "undefined"; /** * Top level namespace for Jasmine, a lightweight JavaScript BDD/spec/testing framework. * * @namespace */ var jasmine = {}; if (isCommonJS) exports.jasmine = jasmine; /** * @private */ jasmine.unimplementedMethod_ = function() { throw new Error("unimplemented ...
JavaScript
jasmine.HtmlReporterHelpers = {}; jasmine.HtmlReporterHelpers.createDom = function(type, attrs, childrenVarArgs) { var el = document.createElement(type); for (var i = 2; i < arguments.length; i++) { var child = arguments[i]; if (typeof child === 'string') { el.appendChild(document.createTextNode(ch...
JavaScript
jasmine.HtmlReporter.SpecView = function(spec, dom, views) { this.spec = spec; this.dom = dom; this.views = views; this.symbol = this.createDom('li', { className: 'pending' }); this.dom.symbolSummary.appendChild(this.symbol); this.summary = this.createDom('div', { className: 'specSummary' }, this.cr...
JavaScript
/* @deprecated Use jasmine.HtmlReporter instead */ jasmine.TrivialReporter = function(doc) { this.document = doc || document; this.suiteDivs = {}; this.logRunningSpecs = false; }; jasmine.TrivialReporter.prototype.createDom = function(type, attrs, childrenVarArgs) { var el = document.createElement(type); f...
JavaScript
jasmine.HtmlReporter.SuiteView = function(suite, dom, views) { this.suite = suite; this.dom = dom; this.views = views; this.element = this.createDom('div', { className: 'suite' }, this.createDom('a', { className: 'description', href: '?spec=' + encodeURIComponent(this.suite.getFullName()) }, this.suite.d...
JavaScript
jasmine.HtmlReporter.ReporterView = function(dom) { this.startedAt = new Date(); this.runningSpecCount = 0; this.completeSpecCount = 0; this.passedCount = 0; this.failedCount = 0; this.skippedCount = 0; this.createResultsMenu = function() { this.resultsMenu = this.createDom('span', {className: 'resul...
JavaScript
jasmine.HtmlReporter = function(_doc) { var self = this; var doc = _doc || window.document; var reporterView; var dom = {}; // Jasmine Reporter Public Interface self.logRunningSpecs = false; self.reportRunnerStarting = function(runner) { var specs = runner.specs() || []; if (specs.length == 0...
JavaScript
module.exports = { setSandbox : function (success, fail, args, env) { require("lib/webview").setSandbox(JSON.parse(decodeURIComponent(args[0]))); new PluginResult(args, env).ok(); }, isSandboxed : function (success, fail, args, env) { new PluginResult(args, env).ok(require("lib/webv...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); ...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
JavaScript
/** * Listens for the app launching then creates the window * * @see http://developer.chrome.com/trunk/apps/app.runtime.html * @see http://developer.chrome.com/trunk/apps/app.window.html */ chrome.app.runtime.onLaunched.addListener(function() { // Center window on screen. var screenWidth = screen.availWidth; ...
JavaScript
define( [], function(){ return { pick:function(arg, def) { return (typeof arg == 'undefined' ? def : arg); }, get_type:function(obj){ Object.prototype.toString.call(obj).replace(/^\[object (.+)\]$/,"$1"...
JavaScript
/** vim: et:ts=4:sw=4:sts=4 * @license RequireJS 2.1.8 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/requirejs for details */ //Not using strict: uneven strict support in browsers, #392, and causes //problems with requi...
JavaScript
require(['uitouch', 'dict'], function(uitouch, dict){ console.log("app.js loads"); var ongoingTouches = new Array; var ws = null; var dreq = null; var timer = null; var sxG = 0; var syG = 0; var reb = /k\>/g; var retr = /\<\/?tr\>/g; var ren = /[\f\n\r\v]{3}/g; var moveflag =...
JavaScript
define( ['stuff'], function(stuff){ var resp = ''; var got_def_ev = new Event('got_def'); var gsocketid = 0; var datas = { google_base_url: 'http://translate.google.com/translate_a/t?client=Firefox&', local_base_url: "http://192.168.0.2:8082/?",//?text=+"value"+"&dict="+"!"+"&host="+...
JavaScript
define( [], function(){ var opts_brd = document.getElementById('options'); var datas = { Dict_srv: ['google', 'local'], local_ip: '', local_port: '' }; opts_brd.textContent = ''; var type; function create_select(obj, name, elements){ var sel = document.createE...
JavaScript
define( ['options'], function(options){ var moveflag = 0; var hold = 0; var timer = null; var sxG = 0; var syG = 0; var selected_word = ''; var got_sel_ev = new Event('got_selection'); function sign(x) { return x && x / Math.abs(x); } function handleTouch(evt,...
JavaScript
/** * Listens for the app launching then creates the window * * @see http://developer.chrome.com/trunk/apps/app.runtime.html * @see http://developer.chrome.com/trunk/apps/app.window.html */ chrome.app.runtime.onLaunched.addListener(function() { // Center window on screen. var screenWidth = screen.availWidth; ...
JavaScript
/** * JavaScript code to detect available availability of a * particular font in a browser using JavaScript and CSS. * * Author : Lalit Patel * Website: http://www.lalit.org/lab/javascript-css-font-detect/ * License: Apache Software License 2.0 * http://www.apache.org/licenses/LICENSE-2.0 * Version: 0....
JavaScript
define( ['require', 'sharedf'], function(require, sharedf){ var options = null; var err = ''; var filere = /.*fb2|.*epub|.*txt/i; var badtext = "No any book on your SD card. You may try pick it by button above, or put books on SD card and reopen app."; var named_entries = {}; function parse_...
JavaScript