code
stringlengths
1
2.08M
language
stringclasses
1 value
var ec2_KeyPairDetails = { init : function() { var keypair = window.arguments[0]; document.getElementById("ec2ui.keypair.name").value = keypair.name; document.getElementById("ec2ui.keypair.fingerprint").value = keypair.fingerprint; } }
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 ec2_SnapshotDetails = { init : function() { var snapshot = window.arguments[0]; document.getElementById("ec2ui.snapshot.id").value = snapshot.id; document.getElementById("ec2ui.snapshot.volumeId").value = snapshot.volumeId; document.getElementById("ec2ui.snapshot.status").value =...
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 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_EIPSelector = { ec2ui_session : null, instanceId : null, retVal : null, eipList : null, attach : function() { var eipMenu = document.getElementById("ec2ui.selectEIP.eip"); var selected = eipMenu.selectedIndex; var eipSel = this.eipList[selected]; if (eipSel.instanceid != null && eip...
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
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
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
var ec2_AMIDetails = { init : function() { var image = window.arguments[0]; document.getElementById("ec2ui.ami.id").value = image.id; document.getElementById("ec2ui.ami.location").value = image.location; document.getElementById("ec2ui.ami.aki").value = image.aki; document.get...
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 ec2ui_InstancesTreeView = { COLNAMES : [ 'instance.resId', 'instance.ownerId', 'instance.id', 'instance.imageId', 'instance.kernelId', 'instance.ramdiskId', 'instance.state', 'instance.publicDnsName', 'instance.privateDnsName', 'instance.priv...
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_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
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_ElasticIPDetails = { init : function() { var eip = window.arguments[0]; document.getElementById("ec2ui.eip.address").value = eip.address; document.getElementById("ec2ui.eip.instanceid").value = eip.instanceid; document.getElementById("ec2ui.eip.tag").value = eip.tag || ""; } }
JavaScript
var ec2_OfferingPurchaser = { offering : null, retVal : null, purchase : function() { if (!this.validateInstanceCount()) return false; this.retVal.count = document.getElementById("ec2ui.purchase.offering.count").value.trim(); this.retVal.ok = true; return true; }, ...
JavaScript
var ec2ui_ElasticIPTreeView = { COLNAMES : ['eip.address','eip.instanceid'], treeBox : null, selection : null, arrLocalFiles : new Array(), eipList : new Array(), registered : false, imageIdRegex : new RegExp("^\\d+\\.\\d+\\.\\d+\\.\\d+"), get rowCount() { return this.eipList.length; },...
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
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
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
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 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_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
/* * * 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 ec2_LeaseOfferingDetails = { init : function() { var image = window.arguments[0]; document.getElementById("ec2ui.offering.id").value = image.id; document.getElementById("ec2ui.offering.instType").value = image.instanceType; document.getElementById("ec2ui.offering.azone").value = ...
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_accountIdManager = { accountidmap : null, initDialog : function() { this.accountidmap = window.arguments[0]; document.getElementById("ec2ui.accountids.view").view = ec2ui_accountIdsTreeView; ec2ui_accountIdsTreeView.setMapping(this.accountidmap); document.getElementBy...
JavaScript
var ec2_BundleTaskDetails = { init : function() { var task = window.arguments[0]; document.getElementById("ec2ui.bundleTask.id").value = task.id; document.getElementById("ec2ui.bundleTask.state").value = task.state; document.getElementById("ec2ui.bundleTask.startTime").value = task.startTime;...
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
// 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 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
var ec2_InstanceLauncher = { image : null, ec2ui_session : null, retVal : null, unusedSecGroupsList : null, usedSecGroupsList : null, unused : new Array(), used : new Array(), launch : function() { if (!this.validateMin()) return false; if (!this.validateMax()) return fa...
JavaScript
var ec2ui_ReservedInstancesTreeView = { COLNAMES: ['rsvdInst.id', 'rsvdInst.instanceType', 'rsvdInst.azone', 'rsvdInst.start', 'rsvdInst.duration', 'rsvdInst.fixedPrice', 'rsvdInst.usagePrice', 'rsvdInst.count',...
JavaScript
var ec2ui_AMIDeleter = { session : null, imageLoc : null, getProgressMeter : function() { if (document) return document.getElementById("ec2ui.delete.ami.progress"); }, getCurrentOperation : function() { if (document) return document.getElementById("ec2ui.del...
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 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
var ec2ui_PermissionsTreeView = { COLNAMES : ['permission.protocol','permission.fromPort','permission.toPort','permission.groups','permission.cidrs'], treeBox : null, selection : null, permissionList : new Array(), get rowCount() { return this.permissionList.length; }, setTree : function(t...
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_EventDetails = { init : function() { var instanceevent = window.arguments[0]; document.getElementById("ec2ui.instanceevent.id").value = instanceevent.instanceId; document.getElementById("ec2ui.instanceevent.event").value = instanceevent.event; document.getElementById("ec2ui.i...
JavaScript
var ec2_ServerCertificateDetails = { init : function() { var servercertificate = window.arguments[0]; document.getElementById("ec2ui.servercert.servercertname").value = servercertificate.ServerCertificateName; document.getElementById("ec2ui.servercert.servercertid").value = servercertificate...
JavaScript
var ec2ui_SecurityGroupsTreeView = { COLNAMES : ['securitygroup.ownerId','securitygroup.name','securitygroup.description'], treeBox : null, selection : null, groupList : new Array(), registered : false, get rowCount() { return this.groupList.length; }, setTree : function(treeBox) {...
JavaScript
/* With due thanks to http://whytheluckystiff.net */ /* other support functions -- thanks, ecmanaut! */ var strftime_funks = { zeropad: function( n ){ return n>9 ? n : '0'+n; }, a: function(t) { return ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'][t.getDay()] }, A: function(t) { return ['Sunday','Monday','Tuedsay',...
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
var BaseImagesView = { COLNAMES: [], treeBox: null, selection: null, selectedImageId: null, // for preserving selection across filters and refreshes imageList : new Array(), registered : false, get rowCount() { return this.imageList.length; }, setTree : function(treeBox) { thi...
JavaScript
var ec2ui_LoadbalancerTreeView = { COLNAMES : ['loadbalancer.LoadBalancerName','loadbalancer.CreatedTime','loadbalancer.DNSName','loadbalancer.InstanceId', 'loadbalancer.Protocol','loadbalancer.LoadBalancerPort','loadbalancer.InstancePort', 'loadbalancer.Interval','loadbalancer.Timeo...
JavaScript
var ec2_InstanceBundler = { id : null, ec2ui_session : null, retVal : null, getBucketName : function() { return document.getElementById("ec2ui.bundleInstance.bucketName"); }, getPrefix : function() { return document.getElementById("ec2ui.bundleInstance.prefix"); }, bun...
JavaScript
// Depends on rsa.js and jsbn2.js // Undo PKCS#1 (type 2, random) padding and, if valid, return the plaintext function pkcs1unpad2(d,n) { var b = d.toByteArray(); var i = 0; while(i < b.length && b[i] == 0) ++i; if(b.length-i != n-1 || b[i] != 2) return null; ++i; while(b[i] != 0) if(++i >= b.lengt...
JavaScript
var ec2ui_DeregisterInstances = { ec2ui_session : null, retVal : null, loadbalancer : null, launch : function() { this.retVal.LoadBalancerName = document.getElementById("ec2ui.deregisterlb.LoadBalancerName").value.trim(); var listBox = document.getElementById('Deregister_Instances'); var idx =...
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_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
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_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 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_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
var ec2ui_DisableAzone = { ec2ui_session : null, retVal : null, loadbalancer : null, launch : function() { this.retVal.LoadBalancerName = document.getElementById("ec2ui.disableazone.Name").value.trim(); var listBox = document.getElementById('Disable_Azone'); var idx = 0; var nRowCount = listB...
JavaScript
//main object that holds the current session information var ec2ui_session = { accessCode : "", secretKey : "", initialized : false, controller : null, model : null, credentials : null, accountidmap : null, endpointmap : null, instanceTags ...
JavaScript
var ec2ui_credentialsTreeView = { COLNAMES: ['credential.name','credential.accessKey'], treeBox: null, selection: null, credentials : new Array(), get rowCount() { return this.credentials.length; }, setTree : function(treeBox) { this.treeBox = treeBox; }, getCellText : function(idx, col...
JavaScript
var ec2_PermissionDetails = { init : function() { var perm = window.arguments[0]; document.getElementById("ec2ui.permission.protocol").value = perm.protocol; document.getElementById("ec2ui.permission.fromport").value = perm.fromPort; document.getElementById("ec2ui.permission.toport")...
JavaScript
var ec2ui_KeypairTreeView = { COLNAMES : ['keypair.name','keypair.fingerprint'], treeBox : null, selection : null, arrLocalFiles : new Array(), keypairList : new Array(), registered : false, get rowCount() { return this.keypairList.length; }, setTree : function(treeBox) { t...
JavaScript
var ec2_AMIMigrator = { image : null, session : null, retVal : null, manifest : null, regionSelected : null, getSourceBucketName : function() { return document.getElementById("ec2ui.migrateAMI.bucketName.source"); }, getDestBucketName : function() { return document.getE...
JavaScript
// Functions to parse the EC2 RSA Private Key // A BER object has 3 pieces // type: (Numeric) // Array: (Byte array) // Value (Defined for integer) // Expects a byte array, returns the values in hex function parseRSAKey(bytes) { var location = 0; var key = new Object() // Step 1 is to remove the wrapper ...
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
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_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 ec2ui_SnapshotTreeView = { COLNAMES: ['snap.id', 'snap.volumeId', 'snap.volumeSize', 'snap.status', 'snap.startTime', 'snap.progress', 'snap.tag'], imageIdRegex : new RegExp("^snap-"), getSearchText : function() { return document.getElementById('ec2ui.snapshots.search').value; ...
JavaScript
// XpiInstaller // By Pike (Heavily inspired by code from Henrik Gemal and Stephen Clavering) var XpiInstaller = { // --- Editable items begin --- extFullName: 'Hybridfox', // The name displayed to the user (don't include the version) extShortName: 'ec2ui', // The leafname of the JAR file (without the .ja...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
JavaScript
// ┌────────────────────────────────────────────────────────────────────┐ \\ // │ Raphaël 2.1.0 - JavaScript Vector Library │ \\ // ├────────────────────────────────────────────────────────────────────┤ \\ // │ Copyright © 2008-2012 Dmitry Baranovskiy (http://raphaeljs.com) │ \\ // │ Copyrig...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /** * @fileoverview A simple script to automatically track Facebook and Twitter * buttons using Google Analytics social tracking feature. * @author api.nickm@gmail.com (Nick Mihailovski) * @author api.petef@gmail.com (Pete Frisella) */ /** * Namespace. * @typ...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /** * @fileoverview A javascript library to enable tracking of user activity in an * Android WebView implemented in an Activty using a native Android Google * Analytics implementation using v2.0 or higher of the Google Analytics SDK * for Android. * * This librar...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. import com.google.analytics.tracking.android.GoogleAnalytics; import com.google.analytics.tracking.android.Item; import com.google.analytics.tracking.android.Tracker; import com.google.analytics.tracking.android.Transaction; import android.content.Context; /** * Th...
JavaScript
/** * * Color picker * Author: Stefan Petre www.eyecon.ro * * Dual licensed under the MIT and GPL licenses * */ (function ($) { var ColorPicker = function () { var ids = {}, inAction, charMin = 65, visible, tpl = '<div class="colorpicker"><div class="colorpicker_color"><div><div></div></div><...
JavaScript
// jQuery Alert Dialogs Plugin // // Version 1.1 // // Cory S.N. LaViska // A Beautiful Site (http://abeautifulsite.net/) // 14 May 2009 // // Visit http://abeautifulsite.net/notebook/87 for more information // // Usage: // jAlert( message, [title, callback] ) // jConfirm( message, [title, callback] ) // jPrompt( me...
JavaScript
/*! Copyright (c) 2011 Piotr Rochala (http://rocha.la) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * Version: 0.2.5 * */ (function($) { jQuery.fn.extend({ slimScroll: function(o) { ...
JavaScript
/*! * jQuery Print Previw Plugin v1.0.1 * * Copyright 2011, Tim Connell * Licensed under the GPL Version 2 license * http://www.gnu.org/licenses/gpl-2.0.html * * Date: Wed Jan 25 00:00:00 2012 -000 */ (function($) { // Initialization $.fn.printPreview = function() { this.each(function() { $(this)...
JavaScript
/*jshint eqnull:true */ /*! * jQuery Cookie Plugin v1.1 * https://github.com/carhartl/jquery-cookie * * Copyright 2011, Klaus Hartl * Dual licensed under the MIT or GPL Version 2 licenses. * http://www.opensource.org/licenses/mit-license.php * http://www.opensource.org/licenses/GPL-2.0 */ (function($, document)...
JavaScript
/*! * jQuery Form Plugin * version: 2.84 (12-AUG-2011) * @requires jQuery v1.3.2 or later * * Examples and documentation at: http://malsup.com/jquery/form/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ ;(functi...
JavaScript
/* * Additional function for tables.html * Written by ThemePixels * http://themepixels.com/ * * Copyright (c) 2012 ThemePixels (http://themepixels.com) * * Built for Amanda Premium Responsive Admin Template * http://themeforest.net/category/site-templates/admin-templates */ jQuery(document).ready(function...
JavaScript
/* * Additional function for elements.html * Written by ThemePixels * http://themepixels.com/ * * Copyright (c) 2012 ThemePixels (http://themepixels.com) * * Built for Amanda Premium Responsive Admin Template * http://themeforest.net/category/site-templates/admin-templates */ jQuery(document).ready(functi...
JavaScript
/* * Additional function for this template * Written by ThemePixels * http://themepixels.com/ * * Copyright (c) 2012 ThemePixels (http://themepixels.com) * * Built for Amanda Premium Responsive Admin Template * http://themeforest.net/category/site-templates/admin-templates */ jQuery.noConflict(); jQuery(...
JavaScript
// jQuery Alert Dialogs Plugin // // Version 1.1 // // Cory S.N. LaViska // A Beautiful Site (http://abeautifulsite.net/) // 14 May 2009 // // Visit http://abeautifulsite.net/notebook/87 for more information // // Usage: // jAlert( message, [title, callback] ) // jConfirm( message, [title, callback] ) // jPrompt( me...
JavaScript
jQuery(document).ready(function(){ jQuery('#overviewselect, input:checkbox').uniform(); ///// DATE PICKER ///// jQuery( "#datepickfrom, #datepickto" ).datepicker(); ///// SLIM SCROLL ///// jQuery('#scroll1').slimscroll({ color: '#666', size: '10px', width: 'auto', height: '175px' ...
JavaScript
/** * jGrowl 1.2.6 * * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * Written by Stan Lemon <stosh1985@gmail.com> * Last updated: 2011.03.27 * * jGrowl is a jQuery plugin implementing unobtrusive user...
JavaScript
//Javascript name: My Date Time Picker //Date created: 16-Nov-2003 23:19 //Scripter: TengYong Ng //Website: http://www.rainforestnet.com //Copyright (c) 2003 TengYong Ng //FileName: DateTimePicker.js //Version: 0.8 //Contact: contact@rainforestnet.com // Note: Permission given to use this script in ANY kind of ...
JavaScript
/*jshint eqnull:true */ /*! * jQuery Cookie Plugin v1.1 * https://github.com/carhartl/jquery-cookie * * Copyright 2011, Klaus Hartl * Dual licensed under the MIT or GPL Version 2 licenses. * http://www.opensource.org/licenses/mit-license.php * http://www.opensource.org/licenses/GPL-2.0 */ (function($, document)...
JavaScript
jQuery.noConflict(); jQuery(document).ready(function() { jQuery(":checkbox").click(function(){ var id = jQuery(this).attr('id'); if (jQuery('#'+id).is(':checked')) { jQuery("#idCheck").attr('value',id); }else{ jQuery("#idCheck").attr('value','');...
JavaScript
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v4.0.3 (2014-07-03) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeout...
JavaScript
/* Set the defaults for DataTables initialisation */ $.extend( true, $.fn.dataTable.defaults, { "sDom": "<'row dt-rt'<'col-sm-6'l><'col-sm-6'f>r>t<'row dt-rb'<'col-sm-6'i><'col-sm-6'p>>", "sPaginationType": "bootstrap", "oLanguage": { "sLengthMenu": "_MENU_", "sSearch": "_INPUT_" } } ); /* Default class modif...
JavaScript
/* * Parsley.js allows you to verify your form inputs frontend side, without writing a line of javascript. Or so.. * * Author: Guillaume Potier - @guillaumepotier */ !function ($) { 'use strict'; /** * Validator class stores all constraints functions and associated messages. * Provides public interface to...
JavaScript
/*! * iCheck v0.9.1, http://git.io/uhUPMA * ================================= * Powerful jQuery plugin for checkboxes and radio buttons customization * * (c) 2013 Damir Foy, http://damirfoy.com * MIT Licensed */ (function($) { // Cached vars var _iCheck = 'iCheck', _iCheckHelper = _iCheck + '-helper', ...
JavaScript
/* * jQuery Textarea Characters Counter Plugin v 2.0 * Examples and documentation at: http://roy-jin.appspot.com/jsp/textareaCounter.jsp * Copyright (c) 2010 Roy Jin * Version: 2.0 (11-JUN-2010) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu....
JavaScript
(function ($) { $.howl = function(config) { var defaults, options, container, slot, message, title, inner, close, icon; defaults = { type: '' , title: '' , content: '' , lifetime: 5000 , sticky: false , closeTrigger: true , iconCls: '' }; options = $.extend(defaults, config)...
JavaScript
/* * Very simple jQuery Color Picker * https://github.com/tkrotoff/jquery-simplecolorpicker * * Copyright (C) 2012-2013 Tanguy Krotoff <tkrotoff@gmail.com> * * Licensed under the MIT license */ (function($) { 'use strict'; /** * Constructor. */ var SimpleColorPicker = function(select, options) { ...
JavaScript
/** * Table Checkable * Version: 0.1 * URL: URL * Description: DESCRIPTION * Requires: jQuery 1.9, Likely a version way earlier, * but I haven't testted * Author: Rod Howard (http://rod.me) * Copyright: Copyright 2013 Rod Howard * License: LICENSE_INFO */ ;(function($, document, window, undefined)...
JavaScript