Added Google picker

This commit is contained in:
Benoit Schweblin 2013-04-06 01:11:09 +01:00
parent 42e327c789
commit f7d9903c96
2 changed files with 2 additions and 0 deletions

View File

@ -1 +1,2 @@
var GOOGLE_KEY = "AIzaSyB1Bc1wI_YUWkkOR-5Gri5BFuypgZl0Sxc";
var GOOGLE_CLIENT_ID = '241271498917-jpto9lls9fqnem1e4h6ppds9uob8rpvu.apps.googleusercontent.com'; var GOOGLE_CLIENT_ID = '241271498917-jpto9lls9fqnem1e4h6ppds9uob8rpvu.apps.googleusercontent.com';

View File

@ -379,6 +379,7 @@ define(["jquery", "core", "async-runner"], function($, core, asyncTaskRunner) {
} }
$.ajax({ $.ajax({
url : "//www.google.com/jsapi", url : "//www.google.com/jsapi",
data : {key: GOOGLE_KEY},
dataType : "script", timeout : AJAX_TIMEOUT dataType : "script", timeout : AJAX_TIMEOUT
}).done(function() { }).done(function() {
asyncTask.success(); asyncTask.success();