Skip to content

Commit

Permalink
v3.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
zack9433 committed Oct 5, 2017
2 parents 8fb0892 + 512b972 commit 1589886
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/sanji-core-ui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "sanji-core-ui",
"author": "Zack Yang <[email protected]> (https://github.com/zack9433)",
"description": "sanji-core-ui",
"version": "3.5.3",
"version": "3.5.4",
"main": "dist/sanji-core-ui.js",
"config": {
"commitizen": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const OauthGoogleButtonComponent = {
<md-icon ng-md-icon icon="google-plus-box"></md-icon>
<span translate="FORM_LABEL_OAUTH_GOOGLE_BUTTON"></span>
</md-button>
<p ng-if="$ctrl.data">{{$ctrl.data}}</p>
<p ng-if="$ctrl.data" style="word-wrap: break-word;">{{$ctrl.data}}</p>
</div>
`,
controller: class OauthGoogleButtonController {
Expand Down Expand Up @@ -45,11 +45,10 @@ const OauthGoogleButtonComponent = {

handle(res) {
this.opener.close();
console.log(res);
if (res.data && res.event === 'sj:google:auth:message') {
this.data = res.data.token;
this.onUpdate({
$evnet: {
$event: {
token: this.data
}
});
Expand Down

0 comments on commit 1589886

Please sign in to comment.