From: rwldrn Date: Thu, 2 Dec 2010 23:09:10 +0000 (-0500) Subject: Initial API re-draft; X-Git-Tag: v0.2~80 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c91beafd94e8c2a1f7a237fe5af103f631b28c0f;p=popcorn-js.git Initial API re-draft; --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 51f2adf..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -tools/jsshellhelper.pyc diff --git a/AUTHORS b/AUTHORS deleted file mode 100644 index 33e824e..0000000 --- a/AUTHORS +++ /dev/null @@ -1,6 +0,0 @@ -Brett Gaylor -Dave Humphrey -Scott Downe -Daniel Hodgin -Anna Sobiepanek -Nick Cammarata \ No newline at end of file diff --git a/LICENSE b/LICENSE deleted file mode 100644 index cbe1061..0000000 --- a/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2010 Center for Development of Open Technology (CDOT) - -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. diff --git a/Makefile b/Makefile deleted file mode 100644 index d848652..0000000 --- a/Makefile +++ /dev/null @@ -1,55 +0,0 @@ -# Make sure $JSSHELL points to your js shell binary in .profile or .bashrc -TOOLSDIR=./tools - -all: release - -create-release: clean - mkdir ./release - -# Version number used in naming release files. -VERSION ?= $(error Specify a version for your release (e.g., VERSION=0.5)) - -release: release-files zipped - -release-files: popcorn yui release-docs - -zipped: release-files - gzip -c ./release/popcorn-${VERSION}.min.js > ./release/popcorn-${VERSION}.min.js.gz - find ./release -print | zip -j ./release/popcorn.js-${VERSION}.zip -@ - -release-docs: create-release - cp AUTHORS ./release - cat README | sed -e 's/@VERSION@/${VERSION}/' > ./release/README - cp LICENSE ./release - cp CHANGELOG ./release - -pretty: create-release - ${TOOLSDIR}/jsbeautify.py ${JSSHELL} popcorn.js > ./release/popcorn-${VERSION}.js.tmp -# check for any parsing errors in pretty version of popcorn.js - ${JSSHELL} -f ${TOOLSDIR}/fake-dom.js -f ./release/popcorn-${VERSION}.js.tmp - cat ./release/popcorn-${VERSION}.js.tmp | sed -e 's/@VERSION@/${VERSION}/' > ./release/popcorn-${VERSION}.js - rm -f ./release/popcorn-${VERSION}.js.tmp - -popcorn: create-release - cp popcorn.js ./release/popcorn-${VERSION}.js.tmp -# check for any parsing errors in popcorn.js - ${JSSHELL} -f ${TOOLSDIR}/fake-dom.js -f ./release/popcorn-${VERSION}.js.tmp - cat ./release/popcorn-${VERSION}.js.tmp | sed -e 's/@VERSION@/${VERSION}/' > ./release/popcorn-${VERSION}.js - rm -f ./release/popcorn-${VERSION}.js.tmp - -yui: create-release -# java -jar ${TOOLSDIR}/yui/yuicompressor-2.4.2.jar --nomunge popcorn.js -o ./release/popcorn-${VERSION}.min.js - java -jar ${TOOLSDIR}/yui/yuicompressor-2.4.2.jar popcorn.js -o ./release/popcorn-${VERSION}.min.js -# check for any parsing errors in compiled version of popcorn.js - ${JSSHELL} -f ${TOOLSDIR}/fake-dom.js -f ./release/popcorn-${VERSION}.min.js - -check: check-lint - -check-lint: - ${TOOLSDIR}/jslint.py ${JSSHELL} popcorn.js - -# Most targets use commands that need a js shell path specified -JSSHELL ?= $(error Specify a valid path to a js shell binary in ~/.profile: export JSSHELL=C:\path\js.exe or /path/js) - -clean: - rm -fr ./release diff --git a/README b/README deleted file mode 100644 index 0718ef7..0000000 --- a/README +++ /dev/null @@ -1,33 +0,0 @@ - - POPCORN. JS - 0.1 - a library to work with the HTML5