mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Mark Craig
05.34.2011 087a6ca2af98883c3b751e815773431555baf05b
Forgot the JavaScript itself
1 files modified
36 ■■■■ changed files
opendj3/pom.xml 36 ●●●● patch | view | raw | blame | history
opendj3/pom.xml
@@ -345,9 +345,23 @@
                </replace>
                <replace
                  dir="${basedir}/target/docbkx/html/"
                  token="&lt;/head&gt;"
                  value='&lt;link rel="shortcut icon" href="http://forgerock.org/favicon.ico"&gt;&lt;/head&gt;'>
                  token="&lt;/head&gt;">
                  <include name="**/**/*.html" />
                  <replacevalue>
&lt;script  src="http://code.jquery.com/jquery-1.6.4.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
// On click, reformat &lt;screen&gt; commands for easier copying.
$(document).ready(function(){
  $(".screen").click(function(event){
    $(this).replaceWith(
      "&lt;pre class=\"screen\"&gt;" +
      $(this).text().replace(/\n /g," ") +
      "&lt;/pre&gt;");
  });
});
&lt;/script&gt;
&lt;link rel="shortcut icon" href="http://forgerock.org/favicon.ico"&gt;
&lt;/head&gt;</replacevalue>
                </replace>
              </postProcess>
            </configuration>
@@ -407,9 +421,23 @@
                </replace>
                <replace
                  dir="${basedir}/target/docbkx/html/"
                  token="&lt;/head&gt;"
                  value='&lt;link rel="shortcut icon" href="http://forgerock.org/favicon.ico"&gt;&lt;/head&gt;'>
                  token="&lt;/head&gt;">
                  <include name="**/**/**/*.html" />
                  <replacevalue>
&lt;script  src="http://code.jquery.com/jquery-1.6.4.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
// On click, reformat &lt;screen&gt; commands for easier copying.
$(document).ready(function(){
  $(".screen").click(function(event){
    $(this).replaceWith(
      "&lt;pre class=\"screen\"&gt;" +
      $(this).text().replace(/\n /g," ") +
      "&lt;/pre&gt;");
  });
});
&lt;/script&gt;
&lt;link rel="shortcut icon" href="http://forgerock.org/favicon.ico"&gt;
&lt;/head&gt;</replacevalue>
                </replace>
                <replace
                  dir="${basedir}/target/docbkx/html/"