浏览代码

Rename params to getParams, setMain to cacheModule

Pascal Peridont 19 年之前
父节点
当前提交
facf0cfcec
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      std/neko/Web.hx

+ 2 - 2
std/neko/Web.hx

@@ -33,7 +33,7 @@ class Web {
 	/**
 	/**
 		Returns the GET and POST parameters.
 		Returns the GET and POST parameters.
 	**/
 	**/
-	public static function params() {
+	public static function getParams() {
 		var p = _get_params();
 		var p = _get_params();
 		var h = new Hash<String>();
 		var h = new Hash<String>();
 		var k = "";
 		var k = "";
@@ -144,7 +144,7 @@ class Web {
 		Set the main entry point function used to handle requests.
 		Set the main entry point function used to handle requests.
 		Setting it back to null will disable code caching.
 		Setting it back to null will disable code caching.
 	**/
 	**/
-	public static function setMain( f : Void -> Void ) {
+	public static function cacheModule( f : Void -> Void ) {
 		_set_main(f);
 		_set_main(f);
 	}
 	}