code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
GoogleElectionMap.shapeReady({name:"33_04",type:"state",state:"33_04",bounds:[],centroid:[],shapes:[
{points:[
{x:27.9298114264038,y: 31.0943978930615}
,
{x:27.9343633890609,y: 31.0931780698517}
,
{x:27.942895835414,y: 31.0936027687347}
,
{x:27.9511946391935,y: 31.0914993512078}
,
{x:27.9596073818764,y: 31.090887280658... | JavaScript |
GoogleElectionMap.shapeReady({name:"02_01",type:"state",state:"02_01",bounds:[],centroid:[],shapes:[
{points:[
{x:29.9948509121429,y: 31.2717672491937}
,
{x:29.9948223637105,y: 31.2717010140354}
,
{x:29.9946709861866,y: 31.2717054825866}
,
{x:29.9946003400685,y: 31.2716726393891}
,
{x:29.9945565176332,y: 31.27160926566... | JavaScript |
GoogleElectionMap.shapeReady({name:"35_08",type:"state",state:"35_08",bounds:[],centroid:[],shapes:[
{points:[
{x:34.8556802481399,y: 29.4540779857305}
,
{x:34.856349647803,y: 29.4492459332215}
,
{x:34.8562066196895,y: 29.4433943132079}
,
{x:34.8534585690419,y: 29.4382804273819}
,
{x:34.8468113067817,y: 29.429223323021... | JavaScript |
GoogleElectionMap.shapeReady({name:"01_26",type:"state",state:"01_26",bounds:[],centroid:[],shapes:[
{points:[
{x:31.3349943593098,y: 30.0863446676596}
,
{x:31.3355286573065,y: 30.0861049462336}
,
{x:31.3356451428494,y: 30.0860468863027}
,
{x:31.3362855197742,y: 30.0857434497418}
,
{x:31.336525365025,y: 30.08561894145}... | JavaScript |
GoogleElectionMap.shapeReady({name:"31_01",type:"state",state:"31_01",bounds:[],centroid:[],shapes:[
{points:[
{x:33.8448146753712,y: 27.2295163425025}
,
{x:33.8438136408343,y: 27.2271851941485}
,
{x:33.842782682565,y: 27.2248893242591}
,
{x:33.8420364413355,y: 27.2222906592628}
,
{x:33.8416860425613,y: 27.221070415198... | JavaScript |
GoogleElectionMap.shapeReady({name:"11_02",type:"state",state:"11_02",bounds:[],centroid:[],shapes:[
{points:[
{x:31.7986732048101,y: 31.4573566998445}
,
{x:31.7986415123846,y: 31.4571881292528}
,
{x:31.7986405388711,y: 31.457182279485}
,
{x:31.7986201086854,y: 31.4571884588149}
,
{x:31.7981417860135,y: 31.456479926706... | JavaScript |
GoogleElectionMap.shapeReady({name:"35_",type:"state",state:"35_",bounds:[],centroid:[],shapes:[
{points:[
{x:33.2568178769465,y: 28.5430456649501}
,
{x:33.2565965543202,y: 28.5424599573106}
,
{x:33.2564825949179,y: 28.542532014757}
,
{x:33.2549114044196,y: 28.5438167685654}
,
{x:33.2547092456414,y: 28.5455437044209}
,... | JavaScript |
GoogleElectionMap.shapeReady({name:"03_05",type:"state",state:"03_05",bounds:[],centroid:[],shapes:[
{points:[
{x:32.2759735848304,y: 31.2559237121299}
,
{x:32.2826581639113,y: 31.2518948722004}
,
{x:32.2827945058231,y: 31.2518149152569}
,
{x:32.2845915873408,y: 31.2507357124037}
,
{x:32.2851211515808,y: 31.25044029957... | JavaScript |
GoogleElectionMap.shapeReady({name:"01_04",type:"state",state:"01_04",bounds:[],centroid:[],shapes:[
{points:[
{x:31.2508668557134,y: 29.9695656954846}
,
{x:31.2510595353546,y: 29.9693151681988}
,
{x:31.2511215462287,y: 29.9693224774492}
,
{x:31.2515208356448,y: 29.9693670166516}
,
{x:31.2519754877848,y: 29.96941032847... | JavaScript |
GoogleElectionMap.shapeReady({name:"23_04",type:"state",state:"23_04",bounds:[],centroid:[],shapes:[
{points:[
{x:30.7353424813676,y: 29.3120821683327}
,
{x:30.7340478005548,y: 29.3115397750307}
,
{x:30.732790537286,y: 29.3110303028816}
,
{x:30.7315440095022,y: 29.3105161472131}
,
{x:30.7314423878378,y: 29.310464308127... | JavaScript |
GoogleElectionMap.shapeReady({name:"31_07",type:"state",state:"31_07",bounds:[],centroid:[],shapes:[
{points:[
{x:36.4545918784179,y: 22.3495867319324}
,
{x:36.4599620604268,y: 22.3465216069581}
,
{x:36.4647628507129,y: 22.3461053047776}
,
{x:36.4681812702327,y: 22.3442162991465}
,
{x:36.4713163212672,y: 22.34026719750... | JavaScript |
GoogleElectionMap.shapeReady({name:"03_09",type:"state",state:"03_09",bounds:[],centroid:[],shapes:[
{points:[
{x:32.3236487295916,y: 30.9082328105596}
,
{x:32.3181859131105,y: 30.907030421658}
,
{x:32.317829121171,y: 30.9192613216079}
,
{x:32.3157184176004,y: 30.9732856874384}
,
{x:32.3102402400132,y: 31.0914421445587... | JavaScript |
GoogleElectionMap.shapeReady({name:"14_02",type:"state",state:"14_02",bounds:[],centroid:[],shapes:[
{points:[
{x:31.1568780159037,y: 30.446368004448}
,
{x:31.1564715506033,y: 30.4463508853622}
,
{x:31.1563509124033,y: 30.4464856113123}
,
{x:31.1560752057786,y: 30.4464930807904}
,
{x:31.1557988553377,y: 30.446534648015... | JavaScript |
GoogleElectionMap.shapeReady({name:"14_07",type:"state",state:"14_07",bounds:[],centroid:[],shapes:[
{points:[
{x:31.3004348078513,y: 30.1615444054722}
,
{x:31.3023078586075,y: 30.1609865843155}
,
{x:31.3021395566383,y: 30.1606326926825}
,
{x:31.3018154974428,y: 30.1599406525957}
,
{x:31.3015192183674,y: 30.15931802333... | JavaScript |
GoogleElectionMap.shapeReady({name:"25_04",type:"state",state:"25_04",bounds:[],centroid:[],shapes:[
{points:[
{x:31.1072620446422,y: 27.2708629816226}
,
{x:31.1075892485505,y: 27.2704445587614}
,
{x:31.1077705576393,y: 27.2701485297926}
,
{x:31.1079341572695,y: 27.269802513006}
,
{x:31.1079960628219,y: 27.269368677340... | JavaScript |
GoogleElectionMap.shapeReady({name:"19_05",type:"state",state:"19_05",bounds:[],centroid:[],shapes:[
{points:[
{x:32.0572504457636,y: 30.6148793522218}
,
{x:32.0571936737391,y: 30.6137496557467}
,
{x:32.0571936623933,y: 30.6137494382272}
,
{x:32.0569131053264,y: 30.6081878694825}
,
{x:32.0568352179733,y: 30.60538161599... | JavaScript |
GoogleElectionMap.shapeReady({name:"24_06",type:"state",state:"24_06",bounds:[],centroid:[],shapes:[
{points:[
{x:30.8407571734908,y: 28.4321067679426}
,
{x:30.8407287359626,y: 28.4321049911811}
,
{x:30.8406490545392,y: 28.4321856484632}
,
{x:30.8405398325379,y: 28.4322962071084}
,
{x:30.8405275713354,y: 28.43230861843... | JavaScript |
GoogleElectionMap.shapeReady({name:"13_17",type:"state",state:"13_17",bounds:[],centroid:[],shapes:[
{points:[
{x:31.5282075929397,y: 30.7754613661822}
,
{x:31.5284407166187,y: 30.7746805084307}
,
{x:31.529448993433,y: 30.7749061361215}
,
{x:31.530246295529,y: 30.7748153491975}
,
{x:31.5320308241802,y: 30.7746078140332... | JavaScript |
GoogleElectionMap.shapeReady({name:"01_19",type:"state",state:"01_19",bounds:[],centroid:[],shapes:[
{points:[
{x:31.2556630705435,y: 30.0790179169197}
,
{x:31.2555117099143,y: 30.0785047856973}
,
{x:31.2554863849231,y: 30.0784189277747}
,
{x:31.2548389369135,y: 30.0763831398956}
,
{x:31.254678156774,y: 30.075871548667... | JavaScript |
GoogleElectionMap.shapeReady({name:"29_02",type:"state",state:"29_02",bounds:[],centroid:[],shapes:[
{points:[
{x:32.4862740740904,y: 25.5975120944787}
,
{x:32.4862644771226,y: 25.5973027241702}
,
{x:32.4862386080742,y: 25.5973021544336}
,
{x:32.4860931041498,y: 25.5972989480329}
,
{x:32.4860820197885,y: 25.59728566989... | JavaScript |
GoogleElectionMap.shapeReady({name:"18_02",type:"state",state:"18_02",bounds:[],centroid:[],shapes:[
{points:[
{x:30.4944341570375,y: 31.1294025328637}
,
{x:30.4956402981512,y: 31.1285305671559}
,
{x:30.4958191343081,y: 31.1287127192993}
,
{x:30.4954034892518,y: 31.1282370037359}
,
{x:30.4935653932083,y: 31.12649291456... | JavaScript |
GoogleElectionMap.shapeReady({name:"17_08",type:"state",state:"17_08",bounds:[],centroid:[],shapes:[
{points:[
{x:31.1572940071433,y: 30.6351591805385}
,
{x:31.1596859069052,y: 30.6346423430726}
,
{x:31.1620695177428,y: 30.6338952299912}
,
{x:31.1649964861567,y: 30.6333634172766}
,
{x:31.1667563013797,y: 30.63280649807... | JavaScript |
GoogleElectionMap.shapeReady({name:"17_12",type:"state",state:"17_12",bounds:[],centroid:[],shapes:[
{points:[
{x:30.9209735723148,y: 30.4832315247607}
,
{x:30.9235337156843,y: 30.4814044016724}
,
{x:30.9254985798419,y: 30.4800411996172}
,
{x:30.9279029364471,y: 30.4802092358517}
,
{x:30.9295158399296,y: 30.48062733736... | JavaScript |
GoogleElectionMap.shapeReady({name:"29_01",type:"state",state:"29_01",bounds:[],centroid:[],shapes:[
{points:[
{x:32.6234144046821,y: 25.6690858494429}
,
{x:32.6235361726516,y: 25.6690560916466}
,
{x:32.6237545298324,y: 25.6690926555038}
,
{x:32.6237793946061,y: 25.6690968186246}
,
{x:32.623822850348,y: 25.669347540272... | JavaScript |
GoogleElectionMap.shapeReady({name:"26_14",type:"state",state:"26_14",bounds:[],centroid:[],shapes:[
{points:[
{x:31.5467314961462,y: 26.7686487761631}
,
{x:31.5470191004299,y: 26.7686370122546}
,
{x:31.5475694355345,y: 26.7686648287905}
,
{x:31.548062672173,y: 26.7685814708425}
,
{x:31.5484572951182,y: 26.768504461576... | JavaScript |
GoogleElectionMap.shapeReady({name:"22_04",type:"state",state:"22_04",bounds:[],centroid:[],shapes:[
{points:[
{x:30.9022663383328,y: 28.7458394721643}
,
{x:30.9021666752867,y: 28.745635453728}
,
{x:30.9021508581402,y: 28.7456443959171}
,
{x:30.9020145933805,y: 28.745721435911}
,
{x:30.9020092730163,y: 28.745724443559}... | JavaScript |
GoogleElectionMap.shapeReady({name:"01_40",type:"state",state:"01_40",bounds:[],centroid:[],shapes:[
{points:[
{x:30.2031410322156,y: 30.1576707540135}
,
{x:30.2154579253638,y: 30.109552212561}
,
{x:30.2122380262222,y: 30.1095031371885}
,
{x:30.2106632870128,y: 30.1102873312244}
,
{x:30.20586669706,y: 30.1126757570163}... | JavaScript |
GoogleElectionMap.shapeReady({name:"26_05",type:"state",state:"26_05",bounds:[],centroid:[],shapes:[
{points:[
{x:32.0078469403985,y: 26.2225212477376}
,
{x:32.0077426733418,y: 26.2220947818918}
,
{x:32.0076573511809,y: 26.2217458007217}
,
{x:32.0075796188479,y: 26.2214323034855}
,
{x:32.0075071915612,y: 26.22114019857... | JavaScript |
GoogleElectionMap.shapeReady({name:"18_11",type:"state",state:"18_11",bounds:[],centroid:[],shapes:[
{points:[
{x:30.092940612855,y: 31.1638402478057}
,
{x:30.0965329834929,y: 31.1585006177574}
,
{x:30.0997287438364,y: 31.1593372533251}
,
{x:30.1042662569908,y: 31.1607468375293}
,
{x:30.106775243461,y: 31.1616216517235... | JavaScript |
GoogleElectionMap.shapeReady({name:"16_10",type:"state",state:"16_10",bounds:[],centroid:[],shapes:[
{points:[
{x:31.1596834559042,y: 30.9125863085098}
,
{x:31.1650833712908,y: 30.9141367067076}
,
{x:31.1668733699833,y: 30.9139984446433}
,
{x:31.1679556342394,y: 30.9136387736191}
,
{x:31.1718242221675,y: 30.91451531925... | JavaScript |
GoogleElectionMap.shapeReady({name:"02",type:"state",state:"02",bounds:[],centroid:[],shapes:[
{points:[
{x:30.0842660991011,y: 31.3321366943293}
,
{x:30.0842793680198,y: 31.3317194237745}
,
{x:30.0842300981289,y: 31.3316998298056}
,
{x:30.0841113488122,y: 31.3316780637673}
,
{x:30.0839814176891,y: 31.3317005251109}
,
... | JavaScript |
// voter-info-thanks.js
// By Michael Geary - http://mg.to/
// See UNLICENSE or http://unlicense.org/ for public domain notice.
(function() {
var img = 'http://alimaher-egyptian-elections.googlecode.com/hg/voter-info/images/vote-icon-50.png';
document.write(
'<div style="margin:.5em; font-family:Arial,sans... | JavaScript |
/*
* jQuery - Collapser - Plugin v1.0
* http://www.aakashweb.com/
* Copyright 2010, Aakash Chakravarthy
* Released under the MIT License.
*/
(function($){
$.fn.collapser= function(options, beforeCallback, afterCallback) {
var defaults = {
target: 'next',
targetOnly: null,
... | JavaScript |
loadStrings({
"areYouRegistered": "Are you registered to vote?",
"candidateRandomOrder": "Candidates are listed in random order",
"dateFormat": "{{monthName}} {{dayOfMonth}}",
"dayDateFormat": "{{dayName}}, {{monthName}} {{dayOfMonth}}",
"dayName1": "Sunday",
"dayName2": "Monday",
"dayName3": "Tuesday",
"dayName... | JavaScript |
GoogleElectionMap.leoReady({"state":"ri","localities":{},"cities":{},"counties":{}}) | JavaScript |
GoogleElectionMap.leoReady({"state":"ms","localities":{},"cities":{},"counties":{}}) | JavaScript |
GoogleElectionMap.leoReady({"state":"in","localities":{},"cities":{},"counties":{}}) | JavaScript |
GoogleElectionMap.leoReady({
"state":"hi",
"localities":{},
"cities":{},
"counties":{},
"hiBallot":{
"9407":"001",
"9416":"002",
"9409":"003",
"9410":"003",
"9411":"003",
"9412":"003",
"9413":"003",
"9414":"003",
"9415":"003",
"9417":"004",
"9418":"004",
"9419":"004",
"9420":"005",
"9421":"005",... | JavaScript |
GoogleElectionMap.leoReady({"state":"ma","localities":{},"cities":{},"counties":{}}) | JavaScript |
GoogleElectionMap.leoReady({"state":"mn","localities":{},"cities":{},"counties":{}}) | JavaScript |
GoogleElectionMap.leoReady({"state":"oh","localities":{},"cities":{},"counties":{}}) | JavaScript |
GoogleElectionMap.leoReady({"state":"pr","localities":{},"cities":{},"counties":{}}) | JavaScript |
GoogleElectionMap.leoReady({"state":"wa","localities":{},"cities":{},"counties":{}}) | JavaScript |
GoogleElectionMap.leoReady({"state":"nd","localities":{},"cities":{},"counties":{}}) | JavaScript |
GoogleElectionMap.leoReady({"state":"tx","localities":{},"cities":{},"counties":{}}) | JavaScript |
GoogleElectionMap.leoReady({"state":"nh","localities":{},"cities":{},"counties":{}}) | JavaScript |
// voter-info.js
// By Michael Geary - http://mg.to/
// See UNLICENSE or http://unlicense.org/ for public domain notice.
document.write(
'<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery', opt.debug ? '' : '.min', '.js">',
'</script>'
);
opt.writeScript( opt.localJS || ... | JavaScript |
function main()
{
var urlWebscript = "/mediatheque/chargementMedias";
var params = "?type_media=films";
logger.log("chargementMedias->Début");
var url = urlWebscript + params;
logger.log("chargementMedias->urlWebscript "+urlWebscript);
var connector = remote.connect("alfresco");
// Appel du webscript c... | JavaScript |
$('#series').live('pagebeforecreate', function() {
//$('#series-preview').parent().remove();
var b = $('<a>')
.attr('data-role', 'button')
.attr('href', '#')
.attr('data-icon', 'search')
.attr('data-theme', 'e')
.text('Orthanc Web Viewer');
b.insertBefore($('#series-delete').parent().parent(... | JavaScript |
/**
* Orthanc - A Lightweight, RESTful DICOM Store
* Copyright (C) 2012-2015 Sebastien Jodogne, Medical Physics
* Department, University Hospital of Liege, Belgium
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published... | JavaScript |
/**
* SOURCE: https://github.com/notmasteryet/jpgjs/blob/master/jpg.js
**/
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- /
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
/*
Copyright 2011 notmasteryet
Licensed under the Apache License, Version 2.0 (the "Li... | JavaScript |
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | JavaScript |
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | JavaScript |
/*
* timeago: a jQuery plugin, version: 0.9.1 (2010-08-30)
* @requires jQuery v1.2.3 or later
*
* Timeago is a jQuery plugin that makes it easy to support automatically
* updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").
*
* For usage and examples, visit:
* http://timeago.yarp.com/
*
* Li... | JavaScript |
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | JavaScript |
/**
* Cookie plugin
*
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/
/**
* Create a cookie with the given name and value and other optional parameters.
*
* @examp... | JavaScript |
google.load("maps", "2", {callback: initialize});
function initialize() {
// Initialize default values
var zoom = 3;
var latlng = new google.maps.LatLng(37.4419, -100.1419);
var location = "Showing default location for map.";
// If ClientLocation was filled in by the loader, use that info instead
... | JavaScript |
/* GPL, By Marek Majkowski
Based on orbited.js from the Orbited project.
*/
function comet_log(arg){
if (typeof window.console !== 'undefined') {
console.log(arg);
}
else if (typeof window.opera !== 'undefined') {
opera.postError(arg);
}else if (window['YAHOO'] && YAHOO.log){
... | JavaScript |
/*
* GLOBAL VARS
*/
var last_clicked_at = 0;
/* ----------------------------------------------------------------------- */
// file: pagequery_api.js
// javascript query string parsing utils
// pass location.search to the constructor: var page = new PageQuery(location.search)
// get values like: var myValue = page.getVa... | JavaScript |
/*
* Copyright 2011 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licenced under the New BSD License.
*/
var providers_large = {
yandex : {
name : 'Яндекс',
url : 'http://openid.yandex.ru'
},
rambler : {
name : 'Рамблер',
url : 'http://www.rambler.ru'
},
google : {
name : 'Google',
u... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licensed under the New BSD License.
*/
var providers_large = {
google : {
name : 'Google',
url : 'https://www.google.com/accounts/o8/id'
},
yahoo : {
name : 'Yahoo',
url : 'http://me.yahoo.com/'
},
aol : {
name : 'AOL',
... | JavaScript |
/**
* @fileoverview Implementation of the openid-selector written with
* the Google Closure library
* @author Martin Thoma
*/
goog.provide('moose.openidselector');
goog.require('goog.dom');
goog.require('goog.array');
goog.require('goog.object');
goog.require('goog.style');
goog.require('goog.net.cookies');
/**... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licensed under the New BSD License.
*/
var providers_large = {
google : {
name : 'Google',
url : 'https://www.google.com/accounts/o8/id'
},
yahoo : {
name : 'Yahoo',
url : 'http://me.yahoo.com/'
},
aol : {
name : 'AOL',
... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licensed under the New BSD License.
*/
var providers;
var openid;
(function ($) {
openid = {
version : '1.3', // version constant
demo : false,
demo_text : null,
cookie_expires : 6 * 30, // 6 months.
cookie_name : 'openid_provider... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licensed under the New BSD License.
*/
var providers_large = {
google : {
name : 'Google',
url : 'https://www.google.com/accounts/o8/id'
},
yahoo : {
name : 'Yahoo',
url : 'http://me.yahoo.com/'
},
aol : {
name : 'AOL',
... | JavaScript |
/**
* The MarkerClusterer object.
* @type {MarkerCluster}
*/
var mc = null;
var geocoder;
var map;
var infowindow = new google.maps.InfoWindow();
var marker;
/**
* Marker Clusterer display/hide flag.
* @type {boolean}
*/
var showMarketClusterer = false;
/**
* Toggles Marker Clusterer visibility.
*/
function to... | JavaScript |
var geocoder;
var map;
var infowindow = new google.maps.InfoWindow();
var marker;
function initialize() {
document.upload.lat.value = geoip_latitude();
document.upload.lng.value = geoip_longitude();
geocoder = new google.maps.Geocoder();
var latlng = new google.maps.LatLng(geoip_latitude(), geoip_longi... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licenced under the New BSD License.
*/
var providers;
var openid = {
version: '1.2', // version constant
demo: false,
demo_text: null,
cookie_expires: 6*30, // 6 months.
cookie_name: 'openid_provider',
cookie_path: '/',
img_path:... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licensed under the New BSD License.
*/
var providers;
var openid;
(function ($) {
openid = {
version : '1.3', // version constant
demo : false,
demo_text : null,
cookie_expires : 6 * 30, // 6 months.
cookie_name : 'openid_provider... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licensed under the New BSD License.
*/
var providers;
var openid = {
version : '1.3', // version constant
demo : false,
demo_text : null,
cookie_expires : 6 * 30, // 6 months.
cookie_name : 'openid_provider',
cookie_path : '/',
... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licensed under the New BSD License.
*/
var providers_large = {
google : {
name : 'Google',
url : 'https://www.google.com/accounts/o8/id'
},
yahoo : {
name : 'Yahoo',
url : 'http://me.yahoo.com/'
},
aol : {
name : 'AOL',
... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licenced under the New BSD License.
*/
var providers_large = {
google : {
name : 'Google',
url : 'https://www.google.com/accounts/o8/id'
},
yahoo : {
name : 'Yahoo',
url : 'http://me.yahoo.com/'
},
facebook : {
name : 'F... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licensed under the New BSD License.
*/
var providers_large = {
yandex : {
name : 'Яндекс',
url : 'http://openid.yandex.ru'
},
rambler : {
name : 'Рамблер',
url : 'http://www.rambler.ru'
},
google : {
name : 'Google',
u... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licensed under the New BSD License.
*/
var providers_large = {
google : {
name : 'Google',
url : 'https://www.google.com/accounts/o8/id'
},
yahoo : {
name : 'Yahoo',
url : 'http://me.yahoo.com/'
},
aol : {
name : 'AOL',
... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licensed under the New BSD License.
*/
var providers;
var openid = {
version : '1.3', // version constant
demo : false,
demo_text : null,
cookie_expires : 6 * 30, // 6 months.
cookie_name : 'openid_provider',
cookie_path : '/',
... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licensed under the New BSD License.
*/
var providers_large = {
google : {
name : 'Google',
url : 'https://www.google.com/accounts/o8/id'
},
yahoo : {
name : 'Yahoo',
url : 'http://me.yahoo.com/'
},
aol : {
name : 'AOL',
... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licenced under the New BSD License.
*/
var providers_large = {
google : {
name : 'Google',
url : 'https://www.google.com/accounts/o8/id'
},
yahoo : {
name : 'Yahoo',
url : 'http://me.yahoo.com/'
},
facebook : {
name : 'F... | JavaScript |
var geocoder;
var map;
var infowindow = new google.maps.InfoWindow();
var marker;
function initialize() {
document.upload.lat.value = geoip_latitude();
document.upload.lng.value = geoip_longitude();
geocoder = new google.maps.Geocoder();
var latlng = new google.maps.LatLng(geoip_latitude(), geoip_longi... | JavaScript |
/** @return {Object} */
var openid = function(){};
/** @return {string} */
openid.prototype.locale = function(){};
/** @return {string} */
openid.prototype.sprite = function(){};
/** @return {string} */
openid.prototype.demo_text = function(){};
/** @return {string} */
openid.prototype.signin_text = function(){};
/** ... | JavaScript |
/**
* The MarkerClusterer object.
* @type {MarkerCluster}
*/
var mc = null;
var geocoder;
var map;
var infowindow = new google.maps.InfoWindow();
var marker;
/**
* Marker Clusterer display/hide flag.
* @type {boolean}
*/
var showMarketClusterer = false;
/**
* Toggles Marker Clusterer visibility.
*/
function to... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licenced under the New BSD License.
*/
var providers_large = {
google : {
name : 'Google',
url : 'https://www.google.com/accounts/o8/id'
},
yahoo : {
name : 'Yahoo',
url : 'http://me.yahoo.com/'
},
facebook : {
name : 'F... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licenced under the New BSD License.
*/
var providers_large = {
yandex : {
name : 'Яндекс',
url : 'http://openid.yandex.ru'
},
rambler : {
name : 'Рамблер',
url : 'http://www.rambler.ru'
},
google : {
name : 'Google',
u... | JavaScript |
var settingTypeIdx; //reset before using get_settings, or use searchSettings
var lastRegion = false;
var lastCategory = false;
function reset_value(name) {
var elems = document.getElementsByName(name);
if (elems) {
for (var e in elems)
e.disabled = true;
}
}
function search_key_lookup(key, data) {
if (key... | JavaScript |
/*
Simple OpenID Plugin
http://code.google.com/p/openid-selector/
This code is licensed under the New BSD License.
*/
var providers_large = {
yandex : {
name : 'Яндекс',
url : 'http://openid.yandex.ru'
},
rambler : {
name : 'Рамблер',
url : 'http://www.rambler.ru'
},
google : {
name : 'Google',
u... | JavaScript |
/*
* LabeledMarker Class, v1.1
*
* Copyright 2007 Mike Purvis (http://uwmike.com)
*
* 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
*
* Un... | JavaScript |
/*
* Copyright 2011 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | JavaScript |
/* This notice must be untouched at all times, and must not be removed.
wz_dragdrop.js v. 4.9
The latest version is available at
http://www.walterzorn.com
or http://www.devira.com
or http://www.walterzorn.de
Copyright (c) Walter Zorn. All rights reserved.
Created 26. 8. 2002 by Walter Zorn (Web: http://www.walterzorn... | JavaScript |
/*
* Copyright 2011 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | JavaScript |
function send_xhr(url, args) {
var qs = "?";
var xhr = Orbited.create_xhr();
for (key in args) {
var val = args[key];
qs = qs + "&" + key + "=" + val;
}
xhr.open("GET", url + qs, true);
xhr.send(null);
return xhr;
}
function get(url,args) ... | JavaScript |
/*
http://www.JSON.org/json2.js
2008-11-19
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
This file creates a global JSON object containing two methods: stringify
and parse.
JSON.stringify(value, replacer, space)
... | JavaScript |
/*
* Copyright 2011 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | JavaScript |
/*
Orbited.connect(got_event) // Tries to find the best option
Orbited.connect(got_event, "htmlfile") // Useses ie htmlfile
Orbited.connect(got_event, "longpoll") // No such transport at the moment
*/
Orbited = {
connect: function (event_cb, user, location, session, transport) {
this.user = user;
... | JavaScript |
Config = null;
function facebookInit(config) {
Config = config;
FB.init({
appId: Config.appId,
xfbml: true,
oauth: true,
channelUrl:
window.location.protocol + '//' + window.location.host + '/channel.html'
});
FB.Event.subscribe('auth.sessionChange', handleSessionChange);
FB.Canvas.set... | JavaScript |
var xmlHttp
function showUser(str)
{
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request")
return
}
var url="flyout.php"
url=url+"?q="+str
url=url+"&sid="+Math.random()
xmlHttp.onreadystatechange=stateChanged
xmlHttp.open("GET",url,true)
xmlHttp.send(null)... | JavaScript |
Config = null;
function facebookInit(config) {
Config = config;
FB.init({
appId: Config.appId,
xfbml: true,
channelUrl:
window.location.protocol + '//' + window.location.host + '/static/channel.html'
});
FB.Event.subscribe('auth.login', function(response) {
// Reload the entire page. Could... | JavaScript |
var settingTypeIdx; //reset before using get_settings, or use searchSettings
var lastRegion = false;
var lastCategory = false;
function reset_value(name) {
var elems = document.getElementsByName(name);
if (elems) {
for (var e in elems)
e.disabled = true;
}
}
function search_key_lookup(key, data) {
if (key... | JavaScript |
function extract_xss_domain(old_domain) {
domain_pieces = old_domain.split('.');
if (domain_pieces.length === 4) {
var is_ip = !isNaN(Number(domain_pieces.join('')));
if (is_ip) {
return old_domain;
}
}
return domain_pieces.slice(-2).join('.');
}
function reload() {
// TODO: There should no... | JavaScript |
var global_pending_events = 0;
function display_element(e, args) {
var elem = document.getElementById(args.id);
if (elem)
elem.style.display = args.style;
}
function set_html(e, args) {
var elem = document.getElementById(args.id);
if (elem)
elem.innerHTML = args.html;
}
function set_focus(e, args) {
if (a... | JavaScript |
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17876647-3']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageLoadTime']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.