code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Softw... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* The Original Code is Ajax.org Code Editor (ACE).
*
* Contributor(s):
* Jonathan Camile <jonathan.camile AT gmail DOT com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Softw... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
define('ace/mode/java', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/javascript', 'ace/tokenizer', 'ace/mode/java_highlight_rules'], function(require, exports, module) {
var oop = require("../lib/oop");
var JavaScriptMode = require("./javascript").Mode;
var Tokenizer = require("../tokenizer").Tokenizer;... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Softw... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* The Original Code is Ajax.org Code Editor (ACE).
*
* Contributor(s):
* Meg Sharkey <megshark AT gmail DOT com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MP... | JavaScript |
define('ace/mode/powershell', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/powershell_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) {
var oop = require("../lib/oop");
var ... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
"no use strict";
var console = {
log: function(msg) {
postMessage({type: "log", data: msg});
}
};
var window = {
console: console
};
var normalizeModule = function(parentId, moduleName) {
// normalize plugin requires
if (moduleName.indexOf("!") !== -1) {
var chunks = moduleName.spl... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
define('ace/mode/scala', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/javascript', 'ace/tokenizer', 'ace/mode/scala_highlight_rules'], function(require, exports, module) {
var oop = require("../lib/oop");
var JavaScriptMode = require("./javascript").Mode;
var Tokenizer = require("../tokenizer").Tokenize... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
define('ace/mode/csharp', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/csharp_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) {
var oop = require("../lib/oop");
var TextMode... | JavaScript |
"no use strict";
var console = {
log: function(msg) {
postMessage({type: "log", data: msg});
}
};
var window = {
console: console
};
var normalizeModule = function(parentId, moduleName) {
// normalize plugin requires
if (moduleName.indexOf("!") !== -1) {
var chunks = moduleName.spl... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
define('ace/mode/groovy', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/javascript', 'ace/tokenizer', 'ace/mode/groovy_highlight_rules'], function(require, exports, module) {
var oop = require("../lib/oop");
var JavaScriptMode = require("./javascript").Mode;
var Tokenizer = require("../tokenizer").Tokeni... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* The Original Code is Ajax.org Code Editor (ACE).
*
* Contributor(s):
* Jonathan Camile <jonathan.camile AT gmail DOT com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
define('ace/mode/golang', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/golang_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) {
var oop = require("../lib/oop");
var T... | JavaScript |
define('ace/mode/haxe', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/haxe_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) {
var oop = require("../lib/oop");
var TextMode = r... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Softw... | JavaScript |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | JavaScript |
(function($) { // Compliant with jquery.noConflict()
$.fn.jCarouselLite = function(o) {
o = $.extend({
btnPrev: null,
btnNext: null,
btnGo: null,
mouseWheel: false,
auto: null,
speed: 200,
easing: null,
vertical... | JavaScript |
// Copyright 2011 Google Inc. All Rights Reserved.
/**
* @fileoverview This script posts to the data servlet with a request for data
* to display until either the servlet responds with data or responds that it
* failed. The servlet responds to each post with a message, which the script
* displays to the user and d... | JavaScript |
var result = {success: false};
var preferences = null;
var widgetUrl = 'https://moscowsg.megafon.ru/WIDGET_INFO/GET_INFO?X_Username=%LOGIN%&X_Password=%PASSWORD%&CHANNEL=WYANDEX&LANG_ID=1&P_RATE_PLAN_POS=1&P_PAYMENT_POS=2&P_ADD_SERV_POS=4&P_DISCOUNT_POS=3';
var dataElement = null;
var bonuses =
{
'megafon_mosc... | JavaScript |
var ec2ui_endpointsTreeView = {
COLNAMES: ['endpoint.name','endpoint.type','endpoint.url'],
treeBox: null,
selection: null,
endpointlist : new Array(),
get rowCount() { return this.endpointlist.length; },
setTree : function(treeBox) { this.treeBox = treeBox; },
ge... | JavaScript |
// "Classes" representing objects like AMIs, Instances etc.
function Credential(name, accessKey, secretKey, regionPref) {
this.name = name;
this.accessKey = accessKey;
this.secretKey = secretKey;
this.regionPref = regionPref;
}
function AccountIdName(id, name) {
this.accountid = id;
this.displa... | JavaScript |
var ec2_SecurityGroupDetails = {
init : function() {
var group = window.arguments[0];
document.getElementById("ec2ui.secgroup.name").value = group.name;
document.getElementById("ec2ui.secgroup.ownerid").value = group.ownerId;
document.getElementById("ec2ui.secgroup.description").valu... | JavaScript |
var ec2ui_RegisterInstances = {
ec2ui_session : null,
retVal : null,
loadbalancer : null,
launch : function() {
this.retVal.LoadBalancerName = document.getElementById("ec2ui.registerlb.LoadBalancerName").value.trim();
var listBox = document.getElementById('Register_Instances');
var idx = 0;
v... | JavaScript |
// controller: slightly higher level of abstraction over the EC2 API
var ec2ui_controller = {
getNsResolver : function() {
return ec2_httpclient.getNsResolver();
},
registerImageInRegion : function(manifestPath, region, callback) {
region = region.toLowerCase();
// Determine the cu... | JavaScript |
var ec2_VolumeDetails = {
init : function() {
var volume = window.arguments[0];
document.getElementById("ec2ui.volume.id").value = volume.id;
document.getElementById("ec2ui.volume.size").value = volume.size;
document.getElementById("ec2ui.volume.snapshotId").value = volume.snapshotId... | JavaScript |
var ec2_InstanceConsole = {
init : function() {
document.getElementById("ec2ui.console.instanceid").value = window.arguments[0];
document.getElementById("ec2ui.console.timestamp").value = window.arguments[1];
var output = "<no output available>";
if (window.arguments[2] != null) {
... | JavaScript |
var ec2ui_InstanceEventsTreeView = {
COLNAMES : ['instanceevent.instanceId','instanceevent.availabilityZone','instanceevent.event',
'instanceevent.description','instanceevent.startTime','instanceevent.endTime'],
treeBox : null,
selection : null,
arrLocalFiles : new Array(),
eventList... | JavaScript |
var ec2ui_S3_KeyCopier = {
session : null,
srcKeys : null,
params : null,
fContinue : true,
// The Total number of copy requests issued.
// This can be different from the total # keys
// to be copied if the user hit CANCEL
// The total # of keys to be migrated
totalKeys : 0,
//... | JavaScript |
var ec2_VolumeAttacher = {
ec2ui_session : null,
retVal : null,
volumeId : null,
attach : function() {
if (!this.validateDevice()) return false;
this.retVal.instanceId = document.getElementById("ec2ui.newattachment.instanceId").value.split(":")[0];
this.retVal.volumeId = this.volumeId;
this.re... | JavaScript |
/*
*
* Base64 encode / decode
* http://www.webtoolkit.info/javascript-base64.html
*
*/
// I'm using this even though there's a base64 implementation in sha1.js
// because it doesn't seem to deal with strings of odd-length and the 5 minutes
// I've spent looking at it doesn't suggest anything obvious. I have no ... | JavaScript |
var ec2ui_credentialManager = {
REALM : "chrome://ec2ui/",
HOST : "chrome://ec2ui/",
credentials : new Array(),
endpointmap : null,
initDialog : function() {
ec2ui_prefs.init();
document.getElementById("ec2ui.credentials.view").view = ec2ui_credentialsTreeView;
this.credentials = thi... | JavaScript |
var ec2_EBSVolumeAttacher = {
ec2ui_session : null,
retVal : null,
instanceId : null,
volList : null,
attach : function() {
if (!this.validateDevice()) return false;
this.retVal.device = document.getElementById("ec2ui.attachebsvolume.device").value;
var idxSel = document.ge... | JavaScript |
var ec2ui_SnapshotTreeView = {
COLNAMES: ['snap.id', 'snap.volumeId', 'snap.volumeSize', 'snap.status', 'snap.startTime',
'snap.progress','snap.publictag', 'snap.tag'],
imageIdRegex : new RegExp("^snap-"),
getSearchText : function() {
return document.getElementById('ec2ui.snapshots.se... | JavaScript |
var ec2_VolumeCreator = {
ec2ui_session : null,
retVal : null,
create : function() {
this.retVal.size = document.getElementById("ec2ui.newvolume.size").value.trim();
if (this.retVal.size.length == 0) this.retVal.size = null;
this.retVal.snapshotId = document.getElementById("ec2ui.n... | JavaScript |
function encodeJSONMap(map) {
var pairs = new Array();
for (k in map) {
if (map.hasOwnProperty(k)) {
var v = map[k];
if (v != null) {
if (typeof v === 'object') {
pairs.push("'"+k+"':"+encodeJSONMap(v));
} else if (typeof v != '... | JavaScript |
var ec2_SecGroupCreator = {
ec2ui_session : null,
retVal : null,
createGroup : function() {
if (!this.validateGroupName()) return false;
if (!this.validateGroupDesc()) return false;
this.retVal.name = document.getElementById("ec2ui.newsecgroup.name").value.trim();
this.retVa... | JavaScript |
var ec2ui_ReservedInstancesTreeView = {
COLNAMES: ['rsvdInst.id',
'rsvdInst.instanceType',
'rsvdInst.azone',
'rsvdInst.start',
'rsvdInst.duration',
'rsvdInst.fixedPrice',
'rsvdInst.usagePrice',
'rsvdInst.count',... | JavaScript |
var ec2_Authorizer = {
group : null,
unusedSecGroupsList : null,
usedSecGroupsList : null,
unused : new Array(),
used : new Array(),
ec2ui_session : null,
retval : null,
authorize : function() {
// Get the group's name
var newPerm = new Object();
newPerm.groupName = this.group.name;
//... | JavaScript |
var ec2_InstanceDetails = {
init : function() {
var session = window.arguments[0];
var instance = window.arguments[1];
document.getElementById("ec2ui.instance.resid").value = instance.resId;
document.getElementById("ec2ui.instance.instanceid").value = instance.id;
var amiLab... | JavaScript |
function getEC2WindowsDeviceList() {
var devlist = new Array();
devlist["xvdg"] = "xvdg";
devlist["xvdh"] = "xvdh";
devlist["xvdi"] = "xvdi";
devlist["xvdj"] = "xvdj";
devlist["xvdk"] = "xvdk";
devlist["xvdl"] = "xvdl";
devlist["xvdm"] = "xvdm";
devlist["xvdn"] = "xvdn";
devlist[... | JavaScript |
var ec2_LoadbalancerDetails = {
init : function() {
var loadbalancer = window.arguments[0];
document.getElementById("ec2ui.loadbalancer.LoadBalancerName").value = loadbalancer.LoadBalancerName;
document.getElementById("ec2ui.loadbalancer.CreatedTime").value = loadbalancer.CreatedTime;
... | JavaScript |
/////////////////////////////////////////////////
/////////////////////////////////////////////////
//
// Basic JavaScript File and Directory IO module
// By: MonkeeSage, v0.1
//
/////////////////////////////////////////////////
/////////////////////////////////////////////////
if (typeof(JSIO) != 'boolean') {
var ... | JavaScript |
var ec2ui_InstanceHealthTreeView = {
COLNAMES : ['InstanceHealth.Description','InstanceHealth.State','InstanceHealth.InstanceId','InstanceHealth.ReasonCode'],
treeBox : null,
selection : null,
arrLocalFiles : new Array(),
InstanceHealthList : new Array(),
registered : false,
get rowCount() ... | JavaScript |
var ec2ui_EnableAzone = {
ec2ui_session : null,
retVal : null,
loadbalancer : null,
launch : function() {
this.retVal.LoadBalancerName = document.getElementById("ec2ui.enableazone.Name").value.trim();
var listBox = document.getElementById('Enable_Azone');
var idx = 0;
var nRowCount = listBox.... | JavaScript |
// Depends on jsbn.js and rng.js
// convert a (hex) string to a bignum object
function parseBigInt(str,r) {
return new BigInteger(str,r);
}
function linebrk(s,n) {
var ret = "";
var i = 0;
while(i + n < s.length) {
ret += s.substring(i,i+n) + "\n";
i += n;
}
return ret + s.substring(i,s.length);
}... | JavaScript |
var ec2_ReservedInstancesDetails = {
init : function() {
var image = window.arguments[0];
document.getElementById("ec2ui.rsvdInst.id").value = image.id;
document.getElementById("ec2ui.rsvdInst.instType").value = image.instanceType;
document.getElementById("ec2ui.rsvdInst.azone").valu... | JavaScript |
function generateCSVForObject(obj) {
var pairs = new Array();
for (k in obj) {
if (obj.hasOwnProperty(k)) {
var v = obj[k];
if (v != null) {
if (typeof v === 'object') {
pairs.push(generateCSVForObject(v));
} else if (typeof v !... | JavaScript |
var ec2ui_endpointManager = {
endpointmap : null,
initDialog : function() {
this.endpointmap = window.arguments[0];
document.getElementById("ec2ui.endpoints.view").view = ec2ui_endpointsTreeView;
ec2ui_endpointsTreeView.setMapping(this.endpointmap);
var lastEndpointName = ec2u... | JavaScript |
/*
* A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined
* in FIPS 180-2
* Version 2.2 Copyright Angel Marin, Paul Johnston 2000 - 2009.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for details.
... | JavaScript |
function empty() { } ;
var ec2_httpclient = {
handler : null,
ec2ui_session : null,
uri : null,
auxObj : null,
serviceURL : null,
regions : null,
elbURL : null,
iamURL : null,
accessCode : null,
secretKey : null,
timers : {},
// Change the name since Eucalyptus 1.6.2 h... | JavaScript |
var ec2ui_AMIsTreeView = {
COLNAMES: ['ami.id',
'ami.location',
'ami.state',
'ami.owner',
'ami.isPublic',
'ami.arch',
'ami.platform',
'ami.rootDeviceType',
'ami.tag'],
launchPermissionList : n... | JavaScript |
var ec2ui_AvailZoneTreeView = {
COLNAMES : ['azone.name','azone.state'],
treeBox : null,
selection : null,
arrLocalFiles : new Array(),
zoneList : new Array(),
registered : false,
get rowCount() { return this.zoneList.length; },
setTree : function(treeBox) { this.treeBo... | JavaScript |
var ec2_Createlb = {
ec2ui_session : null,
retVal : null,
reginstanceid : new Array(),
selectedprotocol : function() {
var valueselected = document.getElementById("ec2ui.createlb.Protocol").value;
if(valueselected == "HTTPS"){
document.getElementById("httpsrow").style.display = "block";
}else{
... | JavaScript |
// parseUri 1.2.2
// (c) Steven Levithan <stevenlevithan.com>
// MIT License
function parseUri (str) {
var o = parseUri.options,
m = o.parser[o.strictMode ? "strict" : "loose"].exec(str),
uri = {},
i = 14;
while (i--) uri[o.key[i]] = m[i] || "";
uri[o.q.name] = {};
uri[o.key[12]].replace(o.q.parser, ... | JavaScript |
/*
* A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
* in FIPS PUB 180-1
* Version 2.1a Copyright Paul Johnston 2000 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for details.
*/
/*
*... | JavaScript |
var ec2_uploadCertificate = {
ec2ui_session : null,
retVal : null,
launch : function() {
this.retVal.ServerCertificateName = document.getElementById("ec2ui.uploadcretificate.ServerCertificateName").value.trim();
this.retVal.CertificateBody = document.getElementById("ec2ui.uploadcretific... | JavaScript |
var ec2_ImageRegistrar = {
ec2ui_session : null,
retVal : null,
getTextBox : function() {
return document.getElementById("ec2ui.newimage.manifest");
},
registerImage : function() {
if (!this.validateManifest()) return false;
this.retVal.manifestPath = this.getTextBox().valu... | JavaScript |
var ec2ui_toolsManager = {
tools : new Array(),
initDialog : function() {
ec2ui_prefs.init();
document.getElementById("ec2ui.tools.ssh.command").value = ec2ui_prefs.getSSHCommand();
document.getElementById("ec2ui.tools.ssh.args").value = ec2ui_prefs.getSSHArgs();
document.getElementById("... | JavaScript |
// Copyright (c) 2005 Tom Wu
// All Rights Reserved.
// See "LICENSE" for details.
// Extended JavaScript BN functions, required for RSA private ops.
// (public)
function bnClone() { var r = nbi(); this.copyTo(r); return r; }
// (public) return value as integer
function bnIntValue() {
if(this.s < 0) {
if(this... | JavaScript |
var ec2ui_ServerCertificateTreeView = {
COLNAMES : ['ServerCertificate.ServerCertificateName','ServerCertificate.ServerCertificateId','ServerCertificate.Arn',
'ServerCertificate.Path','ServerCertificate.UploadDate'],
treeBox : null,
selection : null,
arrLocalFiles : new Array(),
Serv... | JavaScript |
var ec2ui_accountIdsTreeView = {
COLNAMES : ['accountids.accountid','accountids.displayname'],
treeBox: null,
selection: null,
accountidlist : new Array(),
get rowCount() { return this.accountidlist.length; },
setTree : function(treeBox) { this.treeBox = treeBox; },
getCellText : fun... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.