Permalink
Browse files

misc

  • Loading branch information...
tj committed Mar 4, 2011
1 parent bf9ecd3 commit 271d006a72b164aa485d623f8b1219a9dafab7ab
View
@@ -124,6 +124,7 @@ Template.prototype.__defineGetter__('files', function(){
*/
Template.prototype.create = function(){
+ var values = this.values;
console.log();
this.files.forEach(function(file){
var basename = path.basename(file);
@@ -1,11 +1,11 @@
-# <%= project %>
+# {{project}}
## License
(The MIT License)
-Copyright (c) 2011 <%= name %> &lt;<%= email %>&gt;
+Copyright (c) 2011 {{name}} &lt;{{email}}&gt;
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -1,2 +1,2 @@
-module.exports = require('./lib/<%= project %>');
+module.exports = require('./lib/{{project}}');
@@ -1,12 +0,0 @@
-
-/*!
- * <%= project %>
- * Copyright(c) 2011 <%= name %> <<%= email %>>
- * MIT Licensed
- */
-
-/**
- * Library version.
- */
-
-exports.version = '0.0.1';
@@ -0,0 +1,12 @@
+
+/*!
+ * {project}
+ * Copyright(c) 2011 {name} <{email}>
+ * MIT Licensed
+ */
+
+/**
+ * Library version.
+ */
+
+exports.version = '0.0.1';
@@ -3,11 +3,11 @@
* Module dependencies.
*/
-var mini = require('mini')
+var mini = require('{{project}}')
, should = require('should');
module.exports = {
'test .version': function(){
- mini.version.should.match(/^\d+\.\d+\.\d+$/);
+ {{project}}.version.should.match(/^\d+\.\d+\.\d+$/);
}
};

0 comments on commit 271d006

Please sign in to comment.