Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Just changed error message for mustache so it's similar to the one fo…

…r Templato
  • Loading branch information...
commit 9835e15c435bdad5e9333485fb000cb36177fb0c 1 parent 03dc7f2
@larzconwell larzconwell authored
Showing with 2 additions and 6 deletions.
  1. +1 −0  .gitignore
  2. +1 −6 lib/template/adapters/mustache.js
View
1  .gitignore
@@ -11,3 +11,4 @@ tmtags
*.DS_Store
examples/*/log/*
.log
+npm-debug.log
View
7 lib/template/adapters/mustache.js
@@ -28,12 +28,7 @@ jade.Template = function(params) {
// - mainly it's here so we can use geddy errors to error out with
require('handlebars');
} catch(err) {
- throw [
- "To use Handlebars you will need to install it: [sudo] npm install [-g] handlebars"
- , ""
- , "Note:".red+" We are using Handlebars in place of Mustache because it's faster and offers"
- , " many other features."
- ].join('\n');
+ throw "Mustache, Handlebars same thing, so we're installing Handlebars. http://is.gd/kYTJyS";
}
this.mode = null;
Please sign in to comment.
Something went wrong with that request. Please try again.