Explorar o código

Rename params to getParams, setMain to cacheModule

Pascal Peridont %!s(int64=19) %!d(string=hai) anos
pai
achega
facf0cfcec
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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.
 	**/
-	public static function params() {
+	public static function getParams() {
 		var p = _get_params();
 		var h = new Hash<String>();
 		var k = "";
@@ -144,7 +144,7 @@ class Web {
 		Set the main entry point function used to handle requests.
 		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);
 	}