Skip to content

Commit

Permalink
Fix broken Event-chain causing the popup block
Browse files Browse the repository at this point in the history
  • Loading branch information
Loic Kartono committed Nov 6, 2014
1 parent 70afe99 commit 5965114
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Angular directive that interact with the Google API Picker :

2. Manually

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)
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)


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

A demo version is available at [http://softmonkeyjapan.github.io/angular-google-picker/](http://softmonkeyjapan.github.io/angular-google-picker/).
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.


# License:
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-google-picker",
"version": "0.1.1",
"version": "0.1.2",
"authors": [
"Loic Kartono <[email protected]>"
],
Expand Down
3 changes: 3 additions & 0 deletions dist/google-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ angular.module('lk-google-picker', [])
}
}

gapi.load('auth');
gapi.load('picker');

element.bind('click', function(e) {
instanciate();
});
Expand Down
2 changes: 1 addition & 1 deletion dist/google-picker.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/google-picker.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-google-picker",
"version": "0.1.1",
"version": "0.1.2",
"description": "An AngularJs directive that interact with the Google API Picker",
"author": "Loic Kartono <[email protected]> (http://www.kartono-loic.com)",
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions src/google-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ angular.module('lk-google-picker', [])
}
}

gapi.load('auth');
gapi.load('picker');

element.bind('click', function(e) {
instanciate();
});
Expand Down

0 comments on commit 5965114

Please sign in to comment.