diff --git a/std/haxe/web/Dispatch.hx b/std/haxe/web/Dispatch.hx index 3cb92e3..4664b9b 100644 --- a/std/haxe/web/Dispatch.hx +++ b/std/haxe/web/Dispatch.hx @@ -142,7 +142,7 @@ class Dispatch { throw new Redirect(); } - static var GET_RULES; + static var GET_RULES = null; public function runtimeGetParams( cfgIndex : Int ) : Dynamic { if( GET_RULES == null ) GET_RULES = haxe.Unserializer.run(haxe.rtti.Meta.getType(Dispatch).getParams[0]);