Permalink
Browse files

fixing broken call to jqtpl

  • Loading branch information...
1 parent b2f565d commit cd9bc0a6303a86837132582595026ee5922551e6 Sam Breed committed Sep 29, 2011
Showing with 498 additions and 14 deletions.
  1. +10 −10 example/templates.js
  2. +1 −1 lib/index.js
  3. +2 −2 package.json
  4. +1 −1 test/index.html
  5. +484 −0 test/jquery.tmpl.js
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -61,7 +61,7 @@ api.build = function build( target_dir, callback ){
console.log( 'Building '+ nm );
func = [
'JST.templates.'+ nm +' = ',
- jqtpl.tmpl( nm, file_contents ),
+ jqtpl.template( nm, file_contents ),
'; JST.'+ nm +' = function '+ nm +'(d){ return $.tmpl( JST.templates.'+ nm +', d ); }; '
];
} catch( e ){
View
@@ -2,7 +2,7 @@
"author": "wookiehangover <sam@quickleft.com>",
"name": "jquery-tmpl-jst",
"description": "Pre-compiled jQuery Templates",
- "version": "0.0.3",
+ "version": "0.0.4",
"repository": {
"type": "git",
"url": "github.com:wookiehangover/jquery-tmpl-jst.git"
@@ -11,7 +11,7 @@
"node": ">=0.4.7"
},
"dependencies": {
- "jqtpl": "~1.0.6"
+ "jqtpl": "git://github.com/wookiehangover/node-jqtpl.git"
},
"devDependencies": {
"jasmine-node": "~1.0.6"
View
@@ -8,7 +8,7 @@
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
- <script src="../lib/jquery.tmpl.js"></script>
+ <script src="jquery.tmpl.js"></script>
<script src="../example/templates.js"></script>
Oops, something went wrong.

0 comments on commit cd9bc0a

Please sign in to comment.