diff --git a/app/js/filters/topic.js b/app/js/filters/topic.js index 1c74549..1b9b214 100644 --- a/app/js/filters/topic.js +++ b/app/js/filters/topic.js @@ -19,7 +19,7 @@ angular.module('cnodejs.filters') content .replace(userLinkRegex, 'href="#/user/$1"') .replace(noProtocolSrcRegex, 'src="https://$1"') - .replace(externalLinkRegex, "onClick=\"window.open('$1', '_blank', 'location=yes')\"") + .replace(externalLinkRegex, "onClick=\"cordova.InAppBrowser.open('$1', '_blank', 'location=yes')\"") ); } return content; diff --git a/app/templates/settings.html b/app/templates/settings.html index e90339c..d94cb45 100644 --- a/app/templates/settings.html +++ b/app/templates/settings.html @@ -36,13 +36,13 @@ Email - + 评分鼓励 - + 关于作者 - + 关于CNode社区 diff --git a/app/templates/topic.html b/app/templates/topic.html index e118438..b07abe5 100644 --- a/app/templates/topic.html +++ b/app/templates/topic.html @@ -1,6 +1,6 @@ - +
diff --git a/app/templates/topics.html b/app/templates/topics.html index 18b006c..9354213 100644 --- a/app/templates/topics.html +++ b/app/templates/topics.html @@ -4,7 +4,7 @@ - + {{topic.title}} Loading icon of infinte-scroll not showing with collection-repeat https://github.com/driftyco/ionic/issues/2376 --> - + diff --git a/app/templates/user.html b/app/templates/user.html index b2df420..988d4f2 100644 --- a/app/templates/user.html +++ b/app/templates/user.html @@ -3,7 +3,7 @@ - + diff --git a/bower.json b/bower.json index 3ca42a5..6bbdfe5 100644 --- a/bower.json +++ b/bower.json @@ -2,7 +2,7 @@ "name": "cnodejs", "version": "0.0.0", "dependencies": { - "ionic": "driftyco/ionic-bower#v1.0.0-beta.14", + "ionic": "driftyco/ionic-bower#v1.1.1", "angular-moment": "~0.8.2", "angular-resource": "~1.3.1" }, diff --git a/package.json b/package.json index 75c78ae..8219ad6 100644 --- a/package.json +++ b/package.json @@ -50,17 +50,18 @@ }, "cordovaPlugins": [ "https://github.com/driftyco/ionic-plugins-keyboard.git", - "org.apache.cordova.statusbar", - "org.apache.cordova.console", - "https://github.com/wildabeast/BarcodeScanner.git", + "cordova-plugin-statusbar", + "cordova-plugin-console", "https://github.com/VersoSolutions/CordovaClipboard", - "org.apache.cordova.splashscreen", - "org.apache.cordova.inappbrowser", + "cordova-plugin-splashscreen", + "cordova-plugin-inappbrowser", "https://github.com/katzer/cordova-plugin-badge.git", - "org.apache.cordova.dialogs", + "cordova-plugin-dialogs", "https://github.com/katzer/cordova-plugin-email-composer.git", "https://github.com/danwilson/google-analytics-plugin.git", "https://github.com/lanceli/jpush-phonegap-plugin", - "org.apache.cordova.device" - ] + "cordova-plugin-device", + "phonegap-plugin-barcodescanner" + ], + "cordovaPlatforms": [] }