Comparing version 0.2.12 to 0.2.13
@@ -25,6 +25,5 @@ /** | ||
if (flag) { | ||
var deferred = when.defer(); | ||
this.http.res.statusCode = 403; | ||
this.http.res.end(); | ||
return deferred.promise; | ||
return when.defer().promise; | ||
}; | ||
@@ -31,0 +30,0 @@ return true; |
@@ -43,3 +43,2 @@ var util = require('util'); | ||
/** | ||
* 架构函数 | ||
* 取得DB类的实例对象 字段检查 | ||
@@ -46,0 +45,0 @@ * @access public |
@@ -11,3 +11,6 @@ /** | ||
start: function(){ | ||
this.register_exception(); | ||
//debug模式下不捕获异常 | ||
if (!APP_DEBUG) { | ||
this.register_exception(); | ||
}; | ||
//think_require的autoload | ||
@@ -14,0 +17,0 @@ register_autoload(this.autoload); |
{ | ||
"name": "thinkjs", | ||
"description": "thinkphp web framework for nodejs", | ||
"version": "0.2.12", | ||
"version": "0.2.13", | ||
"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
180407
5399