You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2012/08/23 16:44:22 UTC

svn commit: r1376512 - in /incubator/cordova/site: public/index.html www/template.html

Author: agrieve
Date: Thu Aug 23 14:44:21 2012
New Revision: 1376512

URL: http://svn.apache.org/viewvc?rev=1376512&view=rev
Log:
Small tweak of components platform regexp for blackberry.


Modified:
    incubator/cordova/site/public/index.html
    incubator/cordova/site/www/template.html

Modified: incubator/cordova/site/public/index.html
URL: http://svn.apache.org/viewvc/incubator/cordova/site/public/index.html?rev=1376512&r1=1376511&r2=1376512&view=diff
==============================================================================
--- incubator/cordova/site/public/index.html (original)
+++ incubator/cordova/site/public/index.html Thu Aug 23 14:44:21 2012
@@ -24,7 +24,7 @@
     var componentKeywords = [
         /\b(ios|iphone|ipad|ipod)\b/ig, 'iOS',
         /\b(android)\b/ig, 'Android',
-        /\b(blackberry|rim|bb.|webworks)\b/ig, 'BlackBerry',
+        /\b(blackberry|rim|bb.?|bb10|webworks)\b/ig, 'BlackBerry',
         /\b(webos)\b/ig, 'webOS',
         /\b(wp7|windows phone)\b/ig, 'WP7',
         /\b(wp8|windows phone)\b/ig, 'WP8'
@@ -54,7 +54,7 @@
         }
     }
     query += queryTemplate2.replace('%2', componentsQuery)
-    window.open('https://issues.apache.org/jira/secure/IssueNavigator.jspa?mode=show&reset=true&jqlQuery=' + encodeURIComponent(query), '_newtab' + new Date);
+    window.open('https://issues.apache.org/jira/secure/IssueNavigator.jspa?mode=show&reset=true&navType=simple&jqlQuery=' + encodeURIComponent(query), '_newtab' + new Date);
   }
 </script>
 </head>

Modified: incubator/cordova/site/www/template.html
URL: http://svn.apache.org/viewvc/incubator/cordova/site/www/template.html?rev=1376512&r1=1376511&r2=1376512&view=diff
==============================================================================
--- incubator/cordova/site/www/template.html (original)
+++ incubator/cordova/site/www/template.html Thu Aug 23 14:44:21 2012
@@ -28,7 +28,7 @@
     var componentKeywords = [
         /\b(ios|iphone|ipad|ipod)\b/ig, 'iOS',
         /\b(android)\b/ig, 'Android',
-        /\b(blackberry|rim|bb.|webworks)\b/ig, 'BlackBerry',
+        /\b(blackberry|rim|bb.?|bb10|webworks)\b/ig, 'BlackBerry',
         /\b(webos)\b/ig, 'webOS',
         /\b(wp7|windows phone)\b/ig, 'WP7',
         /\b(wp8|windows phone)\b/ig, 'WP8'