Permalink
Browse files

Push to 3.0.0beta3

Fixed a bug with runtime.resolve() (fixes #113)
  • Loading branch information...
1 parent 2b77d6c commit dc62e5a1b91db1c51f964c564944a23ea679b971 @bminer committed Jan 4, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/runtime.js
  2. +1 −1 package.json
  3. +1 −1 smart.json
View
@@ -325,7 +325,7 @@
/* suppose `window.location.href` is "http://www.example.com/foo/bar/document.html"
and `filename` is "alpha/./beta/../charlie.blade", then
`x` will be something like "http://www.example.com/foo/bar//alpha/charlie.blade" */
- var prefix = window.location.href;
+ var prefix = window.location.href.split("#")[0];
x = x.substr(prefix.substr(0, prefix.lastIndexOf("/") ).length).replace(/\/[\/]+/g, '/');
if(x.charAt(0) == '/') x = x.substr(1);
return x;
View
@@ -15,7 +15,7 @@
"live binding",
"meteor"
],
- "version": "3.0.0beta2",
+ "version": "3.0.0beta3",
"homepage": "https://github.com/bminer/node-blade",
"repository": {
"type": "git",
View
@@ -3,7 +3,7 @@
"author": "Blake Miner <miner.blake@gmail.com> (http://www.blakeminer.com/)",
"description": "Blade - HTML Template Compiler, inspired by Jade & Haml",
"homepage": "https://github.com/bminer/node-blade",
- "version": "3.0.0beta2",
+ "version": "3.0.0beta3",
"git": "https://github.com/bminer/node-blade.git",
"packages": {
}

0 comments on commit dc62e5a

Please sign in to comment.