r462 - in nuiton-js-es5-shim/trunk: . src src/main src/main/resources src/main/resources/META-INF src/main/resources/META-INF/nuiton-js src/site src/site/rst
Author: echatellier Date: 2014-05-14 16:24:34 +0200 (Wed, 14 May 2014) New Revision: 462 Url: http://forge.nuiton.org/projects/nuiton-js/repository/revisions/462 Log: Initial import. Added: nuiton-js-es5-shim/trunk/LICENSE.txt nuiton-js-es5-shim/trunk/README.txt nuiton-js-es5-shim/trunk/pom.xml nuiton-js-es5-shim/trunk/src/ nuiton-js-es5-shim/trunk/src/main/ nuiton-js-es5-shim/trunk/src/main/resources/ nuiton-js-es5-shim/trunk/src/main/resources/META-INF/ nuiton-js-es5-shim/trunk/src/main/resources/META-INF/nuiton-js/ nuiton-js-es5-shim/trunk/src/main/resources/META-INF/nuiton-js/wro-es5-shim.xml nuiton-js-es5-shim/trunk/src/site/ nuiton-js-es5-shim/trunk/src/site/rst/ nuiton-js-es5-shim/trunk/src/site/rst/index.rst.vm nuiton-js-es5-shim/trunk/src/site/site_en.xml Added: nuiton-js-es5-shim/trunk/LICENSE.txt =================================================================== --- nuiton-js-es5-shim/trunk/LICENSE.txt (rev 0) +++ nuiton-js-es5-shim/trunk/LICENSE.txt 2014-05-14 14:24:34 UTC (rev 462) @@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. Added: nuiton-js-es5-shim/trunk/README.txt =================================================================== Added: nuiton-js-es5-shim/trunk/pom.xml =================================================================== --- nuiton-js-es5-shim/trunk/pom.xml (rev 0) +++ nuiton-js-es5-shim/trunk/pom.xml 2014-05-14 14:24:34 UTC (rev 462) @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <!-- ************************************************************* --> + <!-- *** POM Relationships *************************************** --> + <!-- ************************************************************* --> + + <parent> + <groupId>org.nuiton.js</groupId> + <artifactId>nuiton-js-lib</artifactId> + <version>1.0.2</version> + </parent> + + <artifactId>nuiton-js-es5-shim</artifactId> + <version>3.1.1-1-SNAPSHOT</version> + + <name>Nuiton JS :: Es5-shim</name> + <description>ECMAScript 5 compatibility shims for legacy JavaScript engines</description> + + <url>https://github.com/es-shims/es5-shim</url> + + <licenses> + <license> + <name>MIT License</name> + <url>https://raw.github.com/angular/angular.js/master/LICENSE</url> + </license> + </licenses> + + <properties> + <license.licenseName>mit</license.licenseName> + + <upstreamVersion>3.1.1</upstreamVersion> + <upstreamUrl>https://raw.githubusercontent.com/es-shims/es5-shim/v${upstreamVersion}</upstreamUrl> + <destDir>${project.build.outputDirectory}/META-INF/resources/${project.artifactId}</destDir> + </properties> + + <scm> + <connection>scm:svn:http://svn.nuiton.org/svn/nuiton-js/nuiton-js-es5-shim/trunk</connection> + <developerConnection>scm:svn:http://svn.nuiton.org/svn/nuiton-js/nuiton-js-es5-shim/trunk</developerConnection> + <url>http://www.nuiton.org/repositories/browse/nuiton-js/nuiton-js-es5-shim/trunk</url> + </scm> + + <dependencies> + <dependency> + <groupId>org.nuiton.js</groupId> + <artifactId>nuiton-js-test</artifactId> + <version>1.0.2</version> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>wagon-maven-plugin</artifactId> + <executions> + <execution> + <id>url1-download</id> + <phase>process-resources</phase> + <goals> + <goal>download-single</goal> + </goals> + <configuration> + <url>${upstreamUrl}</url> + <toDir>${destDir}</toDir> + <fromFile>es5-shim.js</fromFile> + </configuration> + </execution> + <execution> + <id>url2-download</id> + <phase>process-resources</phase> + <goals> + <goal>download-single</goal> + </goals> + <configuration> + <url>${upstreamUrl}</url> + <toDir>${destDir}</toDir> + <fromFile>es5-sham.js</fromFile> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> Property changes on: nuiton-js-es5-shim/trunk/pom.xml ___________________________________________________________________ Added: svn:mime-type + text/xml Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Added: nuiton-js-es5-shim/trunk/src/main/resources/META-INF/nuiton-js/wro-es5-shim.xml =================================================================== --- nuiton-js-es5-shim/trunk/src/main/resources/META-INF/nuiton-js/wro-es5-shim.xml (rev 0) +++ nuiton-js-es5-shim/trunk/src/main/resources/META-INF/nuiton-js/wro-es5-shim.xml 2014-05-14 14:24:34 UTC (rev 462) @@ -0,0 +1,35 @@ +<!-- + #%L + Nuiton JS :: AngularJS + $Id$ + $HeadURL$ + %% + Copyright (C) 2013 CodeLutin, Chatellier Eric + %% + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + #L% + --> +<groups xmlns="http://www.isdc.ro/wro"> + <group name='es5-shim'> + <js>classpath:META-INF/resources/nuiton-js-es5-shim/es5-shim.js</js> + </group> + <group name='es5-sham'> + <js>classpath:META-INF/resources/nuiton-js-es5-shim/es5-sham.js</js> + </group> +</groups> Property changes on: nuiton-js-es5-shim/trunk/src/main/resources/META-INF/nuiton-js/wro-es5-shim.xml ___________________________________________________________________ Added: svn:mime-type + text/xml Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Added: nuiton-js-es5-shim/trunk/src/site/rst/index.rst.vm =================================================================== --- nuiton-js-es5-shim/trunk/src/site/rst/index.rst.vm (rev 0) +++ nuiton-js-es5-shim/trunk/src/site/rst/index.rst.vm 2014-05-14 14:24:34 UTC (rev 462) @@ -0,0 +1,61 @@ +.. - +.. * #%L +.. * Nuiton JS :: ES5-Shim +.. * $Id$ +.. * $HeadURL$ +.. * %% +.. * Copyright (C) 2014 CodeLutin +.. * %% +.. * This program is free software: you can redistribute it and/or modify +.. * it under the terms of the GNU Lesser General Public License as +.. * published by the Free Software Foundation, either version 3 of the +.. * License, or (at your option) any later version. +.. * +.. * This program is distributed in the hope that it will be useful, +.. * but WITHOUT ANY WARRANTY; without even the implied warranty of +.. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.. * GNU General Lesser Public License for more details. +.. * +.. * You should have received a copy of the GNU General Lesser Public +.. * License along with this program. If not, see +.. * <http://www.gnu.org/licenses/lgpl-3.0.html>. +.. * #L% +.. - + +es5-shim +======== + +ECMAScript 5 compatibility shims for legacy JavaScript engines. + +- documentation_ + +.. _documentation: https://github.com/es-shims/es5-shim + +Use +--- + +Maven part:: + + <dependency> + <groupId>org.nuiton.js</groupId> + <artifactId>nuiton-js-es5-shim</artifactId> + <version>${project.version}</version> + <scope>runtime</scope> + </dependency> + +JSP part:: + + <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> + + <script language="javascript" type="text/javascript" src="<c:url value="/nuiton-js/es5-shim.js"/>"></script> + +Available JS +------------ + +- es5-shim.js +- es5-sham.js + +Available CSS +------------- + +*none* Property changes on: nuiton-js-es5-shim/trunk/src/site/rst/index.rst.vm ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native Added: nuiton-js-es5-shim/trunk/src/site/site_en.xml =================================================================== --- nuiton-js-es5-shim/trunk/src/site/site_en.xml (rev 0) +++ nuiton-js-es5-shim/trunk/src/site/site_en.xml 2014-05-14 14:24:34 UTC (rev 462) @@ -0,0 +1,75 @@ +<!-- + #%L + Nuiton JS :: AngularJS + $Id$ + $HeadURL$ + %% + Copyright (C) 2012 - 2013 CodeLutin + %% + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + #L% + --> +<project name="${project.name}"> + + <bannerLeft> + <name>${project.name}</name> + <href>index.html</href> + </bannerLeft> + + <body> + + <head> + <script type="text/javascript" + src="http://maven-site.nuiton.org/public/js/mavenpom-site.js"> + </script> + + <link rel="stylesheet" type="text/css" + href="http://maven-site.nuiton.org/public/css/mavenpom-site.css"/> + </head> + + <breadcrumbs> + <item name="${project.name}" href="${project.url}"/> + </breadcrumbs> + + <menu ref="parent"/> + + <menu name="Users"> + <item name="Home" href="index.html"/> + </menu> + + <menu ref="reports"/> + + <footer> + + <div id='projectMetas' + projectversion='${project.version}' + platform='${project.platform}' + projectid='${project.projectId}' + scm='${project.scm.connection}' + scmwebeditorenabled='${project.scmwebeditorEnabled}' + scmwebeditorurl='${project.scmwebeditorUrl}' + siteSourcesType='${project.siteSourcesType}' + piwikEnabled='${project.piwikEnabled}' + piwikId='${project.piwikId}'> + </div> + </footer> + + </body> + +</project> Property changes on: nuiton-js-es5-shim/trunk/src/site/site_en.xml ___________________________________________________________________ Added: svn:mime-type + text/xml Added: svn:keywords + Author Date Id Revision HeadURL Added: svn:eol-style + native
participants (1)
-
echatellier@users.nuiton.org