Comparing version 0.1.0 to 0.1.1
@@ -8,3 +8,2 @@ module.exports = Action(function(){ | ||
var cookie = this.cookie("name"); | ||
//this.redirect("http://www.baidu.com"); | ||
this.assign({ | ||
@@ -11,0 +10,0 @@ name: "welefen" |
@@ -1,9 +0,13 @@ | ||
var action = Action(function(){ | ||
var action = module.exports = Action(function(){ | ||
return { | ||
init: function(){ | ||
//action.super_.prototype.init && action.super_.prototype.init.call(this); | ||
/*init: function(){ | ||
this.super("init"); | ||
}*/ | ||
indexAction: function(){ | ||
this.assign({ //assign variables | ||
name: "welefen" | ||
}) | ||
this.display(); //render Home/index_index.html file | ||
} | ||
} | ||
}); | ||
module.exports = action; | ||
}); |
{ | ||
"name": "thinkjs", | ||
"description": "thinkphp web framework for nodejs", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "welefen", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47485
42
1456