Skip to content

Commit

Permalink
Compile fix for Dispatch, closes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
Gama11 authored Sep 28, 2019
1 parent db6303e commit ae0d8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/haxe/web/Dispatch.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit ae0d8a8

Please sign in to comment.