You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2013/01/31 17:01:58 UTC

svn commit: r1441032 - in /activemq/activemq-apollo/trunk: NOTICE apollo-distro/src/main/release/NOTICE apollo-web/src/main/webapp/console/index.html apollo-web/src/main/webapp/console/js/html5.js

Author: chirino
Date: Thu Jan 31 16:01:57 2013
New Revision: 1441032

URL: http://svn.apache.org/viewvc?rev=1441032&view=rev
Log:
Include the html5 shim .js in the webconsole to avoid having to be online to access it.

Added:
    activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/console/js/html5.js
Modified:
    activemq/activemq-apollo/trunk/NOTICE
    activemq/activemq-apollo/trunk/apollo-distro/src/main/release/NOTICE
    activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/console/index.html

Modified: activemq/activemq-apollo/trunk/NOTICE
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/NOTICE?rev=1441032&r1=1441031&r2=1441032&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/NOTICE (original)
+++ activemq/activemq-apollo/trunk/NOTICE Thu Jan 31 16:01:57 2013
@@ -33,3 +33,8 @@ This product includes software (Font Awe
 Dave Gandy, (http://fortawesome.github.com/Font-Awesome.).
 
 -------------------------------------------------------------------------
+
+This product includes software (html5shim) developed at
+Google Code, (https://code.google.com/p/html5shim/).
+
+-------------------------------------------------------------------------
\ No newline at end of file

Modified: activemq/activemq-apollo/trunk/apollo-distro/src/main/release/NOTICE
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-distro/src/main/release/NOTICE?rev=1441032&r1=1441031&r2=1441032&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-distro/src/main/release/NOTICE (original)
+++ activemq/activemq-apollo/trunk/apollo-distro/src/main/release/NOTICE Thu Jan 31 16:01:57 2013
@@ -143,3 +143,8 @@ This product includes software (Font Awe
 Dave Gandy, (http://fortawesome.github.com/Font-Awesome.).
 
 -------------------------------------------------------------------------
+
+This product includes software (html5shim) developed at
+Google Code, (https://code.google.com/p/html5shim/).
+
+-------------------------------------------------------------------------
\ No newline at end of file

Modified: activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/console/index.html
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/console/index.html?rev=1441032&r1=1441031&r2=1441032&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/console/index.html (original)
+++ activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/console/index.html Thu Jan 31 16:01:57 2013
@@ -18,7 +18,7 @@
   <title>Apache Apollo - Admin Console</title>
   <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
   <!--[if lt IE 9]>
-  <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+  <script src="js/html5.js"></script>
   <![endif]-->
 </head>
 <body>

Added: activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/console/js/html5.js
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/console/js/html5.js?rev=1441032&view=auto
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/console/js/html5.js (added)
+++ activemq/activemq-apollo/trunk/apollo-web/src/main/webapp/console/js/html5.js Thu Jan 31 16:01:57 2013
@@ -0,0 +1,3 @@
+/*! HTML5 Shiv vpre3.6 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
+  Uncompressed source: https://github.com/aFarkas/html5shiv  */
+(function(a,b){function h(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function i(){var a=l.elements;return typeof a=="string"?a.split(" "):a}function j(a){var b={},c=a.createElement,f=a.createDocumentFragment,g=f();a.createElement=function(a){if(!l.shivMethods)return c(a);var f;return b[a]?f=b[a].cloneNode():e.test(a)?f=(b[a]=c(a)).cloneNode():f=c(a),f.canHaveChildren&&!d.test(a)?g.appendChild(f):f},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/\w+/g,function(a){return c(a),g.createElement(a),'c("'+a+'")'})+");return n}")(l,g)}function k(a){var b;return a.documentShived?a:(l.shivCSS&&!f&&(b=!!h(a,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hid
 den]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),g||(b=!j(a)),b&&(a.documentShived=b),a)}var c=a.html5||{},d=/^<|^(?:button|form|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,f,g;(function(){var c=b.createElement("a");c.innerHTML="<xyz></xyz>",f="hidden"in c,f&&typeof injectElementWithStyles=="function"&&injectElementWithStyles("#modernizr{}",function(b){b.hidden=!0,f=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).display=="none"}),g=c.childNodes.length==1||function(){try{b.createElement("a")}catch(a){return!0}var c=b.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()})();var l={elements:c.elements|
 |"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:k};a.html5=l,k(b)})(this,document)
\ No newline at end of file