pax_global_header 0000666 0000000 0000000 00000000064 12166527144 0014522 g ustar 00root root 0000000 0000000 52 comment=7bacc24c7d96980d0906b27fdbc72c644231cd38 renderjs-7bacc24c7d96980d0906b27fdbc72c644231cd38/ 0000775 0000000 0000000 00000000000 12166527144 0020342 5 ustar 00root root 0000000 0000000 renderjs-7bacc24c7d96980d0906b27fdbc72c644231cd38/.gitignore 0000664 0000000 0000000 00000000016 12166527144 0022327 0 ustar 00root root 0000000 0000000 #vi *.swp *~ renderjs-7bacc24c7d96980d0906b27fdbc72c644231cd38/Makefile 0000664 0000000 0000000 00000001147 12166527144 0022005 0 ustar 00root root 0000000 0000000 # files RENDERJS = renderjs.js RENDERJS_MIN = renderjs.min.js BUILDDIR = tmp include config.mk all: lint test build doc $(RENDERJS_MIN): $(RENDERJS) $(UGLIFY_CMD) "$<" > "$@" ${BUILDDIR}/$(RENDERJS).lint: $(RENDERJS) test/renderjs_test2.js @mkdir -p $(@D) $(LINT_CMD) "$(RENDERJS)" $(LINT_CMD) "test/renderjs_test2.js" touch $@ ${BUILDDIR}/index.html.ok: test/index.html $(PHANTOMJS_CMD) ./test/run-qunit.js $< @mkdir -p $(@D) @sleep 1 touch $@ build: $(RENDERJS_MIN) test: ${BUILDDIR}/index.html.ok lint: ${BUILDDIR}/$(RENDERJS).lint doc: $(YUIDOC_CMD) . clean: rm -rf $(RENDERJS_MIN) ${BUILDDIR} renderjs-7bacc24c7d96980d0906b27fdbc72c644231cd38/README 0000664 0000000 0000000 00000001335 12166527144 0021224 0 ustar 00root root 0000000 0000000 What is RenderJs? RenderJs is a JavaScript library which uses jQuery and RequireJS. RenderJs provides an easy way to define gadgets (aka mashups) in pure HTML5 and does not require application server. It handles dependencies through RequireJS, caching and interaction. It is suitable for the development of mobile applications, desktop applications. It is used by OfficeJS, ERP5. Documentation Documentation is available at http://www.renderjs.org/ Developer > git clone https://git.erp5.org/repos/renderjs.git > make (will produce a minified version for now, requires nodejs installed as well its uglifyjs module) > make lint (will produce a jslint report, requires nodejs installed as well its jslint module) renderjs-7bacc24c7d96980d0906b27fdbc72c644231cd38/TODO 0000664 0000000 0000000 00000000300 12166527144 0021023 0 ustar 00root root 0000000 0000000 handle relative url #parseGadgetHTML TODO how to manage local script tag #parseGadgetHTML TODO check that gadget/dom context is kept in promise TODO keep css file media query #declareCSS TODO renderjs-7bacc24c7d96980d0906b27fdbc72c644231cd38/config.mk 0000664 0000000 0000000 00000000445 12166527144 0022143 0 ustar 00root root 0000000 0000000 # npm install uglify-js UGLIFY_CMD = $(shell which uglifyjs || echo node ~/node_modules/uglify-js/bin/uglifyjs) # npm install jslint LINT_CMD = $(shell which jslint || echo node ~/node_modules/jslint/bin/jslint.js) --terse YUIDOC_CMD = $(shell which yuidoc) PHANTOMJS_CMD = xvfb-run phantomjs renderjs-7bacc24c7d96980d0906b27fdbc72c644231cd38/examples/ 0000775 0000000 0000000 00000000000 12166527144 0022160 5 ustar 00root root 0000000 0000000 renderjs-7bacc24c7d96980d0906b27fdbc72c644231cd38/examples/hello_world/ 0000775 0000000 0000000 00000000000 12166527144 0024472 5 ustar 00root root 0000000 0000000 renderjs-7bacc24c7d96980d0906b27fdbc72c644231cd38/examples/hello_world/index.html 0000664 0000000 0000000 00000000523 12166527144 0026467 0 ustar 00root root 0000000 0000000