Skip to content

Commit 5965114

Browse files
author
Loic Kartono
committed
Fix broken Event-chain causing the popup block
1 parent 70afe99 commit 5965114

7 files changed

+11
-6
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Angular directive that interact with the Google API Picker :
2020

2121
2. Manually
2222

23-
Download [https://github.com/softmonkeyjapan/angular-google-picker/archive/0.1.1.zip](https://github.com/softmonkeyjapan/angular-google-picker/archive/0.1.1.zip)
23+
Download [https://github.com/softmonkeyjapan/angular-google-picker/archive/0.1.2.zip](https://github.com/softmonkeyjapan/angular-google-picker/archive/0.1.2.zip)
2424

2525

2626
# Usage
@@ -173,7 +173,6 @@ You should now be able to browse to `localhost:8000` and see it in action from y
173173
# Demo
174174

175175
A demo version is available at [http://softmonkeyjapan.github.io/angular-google-picker/](http://softmonkeyjapan.github.io/angular-google-picker/).
176-
Note that clicking on `Pick files` button may fail the first time because your browser may block the popup. Allow it or click again to make it works.
177176

178177

179178
# License:

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-google-picker",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"authors": [
55
"Loic Kartono <[email protected]>"
66
],

dist/google-picker.js

+3
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ angular.module('lk-google-picker', [])
130130
}
131131
}
132132

133+
gapi.load('auth');
134+
gapi.load('picker');
135+
133136
element.bind('click', function(e) {
134137
instanciate();
135138
});

dist/google-picker.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/google-picker.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-google-picker",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "An AngularJs directive that interact with the Google API Picker",
55
"author": "Loic Kartono <[email protected]> (http://www.kartono-loic.com)",
66
"devDependencies": {

src/google-picker.js

+3
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ angular.module('lk-google-picker', [])
130130
}
131131
}
132132

133+
gapi.load('auth');
134+
gapi.load('picker');
135+
133136
element.bind('click', function(e) {
134137
instanciate();
135138
});

0 commit comments

Comments
 (0)