From 486c2f712fdc55b658584450e3a3143aac6c730d Mon Sep 17 00:00:00 2001 From: Josh Schroeder Date: Mon, 11 Nov 2013 13:43:41 -0600 Subject: [PATCH 1/2] Created composer.json --- composer.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..cb0e308 --- /dev/null +++ b/composer.json @@ -0,0 +1,20 @@ +{ + "name": "blueimp/javascript-templates", + "description": "< 1KB lightweight, fast & powerful JavaScript templating engine with zero dependencies. Compatible with server-side environments like node.js, module loaders like RequireJS and all web browsers.", + "keywords": [ + "javascript", + "templates", + "templating" + ], + "homepage": "https://github.com/blueimp/JavaScript-Templates", + "authors": [ + { + "name": "Sebastian Tschan", + "url": "https://blueimp.net/" + } + ], + "support": { + "issues" : "https://github.com/blueimp/JavaScript-Templates/issues" + }, + "license": "MIT" +} \ No newline at end of file From 3bef4c404e2b05c112a2f951efc0ba34c1da65c2 Mon Sep 17 00:00:00 2001 From: Josh Schroeder Date: Wed, 13 Nov 2013 16:52:29 -0600 Subject: [PATCH 2/2] Moved assets into Resources/public dir and created symfony bundle class --- BlueimpJsTemplatesBundle.php | 9 +++++++++ {css => Resources/public/css}/demo.css | 0 {js => Resources/public/js}/compile.js | 0 {js => Resources/public/js}/demo.js | 0 {js => Resources/public/js}/runtime.js | 0 {js => Resources/public/js}/tmpl.js | 0 {js => Resources/public/js}/tmpl.min.js | 0 composer.json | 8 +++++++- 8 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 BlueimpJsTemplatesBundle.php rename {css => Resources/public/css}/demo.css (100%) rename {js => Resources/public/js}/compile.js (100%) mode change 100755 => 100644 rename {js => Resources/public/js}/demo.js (100%) rename {js => Resources/public/js}/runtime.js (100%) rename {js => Resources/public/js}/tmpl.js (100%) rename {js => Resources/public/js}/tmpl.min.js (100%) diff --git a/BlueimpJsTemplatesBundle.php b/BlueimpJsTemplatesBundle.php new file mode 100644 index 0000000..442a992 --- /dev/null +++ b/BlueimpJsTemplatesBundle.php @@ -0,0 +1,9 @@ +