From 927678e6be61acd649d183df6255a36dd91bf716 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 14 Oct 2016 14:12:01 +0200 Subject: [PATCH] Ox.URL: support findKeys per type --- source/UI/js/Core/URL.js | 76 +++++++++++++++++++++++----------------- 1 file changed, 44 insertions(+), 32 deletions(-) diff --git a/source/UI/js/Core/URL.js b/source/UI/js/Core/URL.js index ea90597f..9bb7c5c4 100644 --- a/source/UI/js/Core/URL.js +++ b/source/UI/js/Core/URL.js @@ -4,9 +4,10 @@ Ox.URL URL controller (options) -> URL controller options Options object - findKeys <[o]> Find keys - id Find key id - type Value type (like "string" or "integer") + findKeys Find keys for all types + typeA Find keys for this type + id Find key id + type Value type (like "string" or "integer") getHash Tests if a hash is valid May modify the state's hash property (state, callback) -> undefined @@ -63,10 +64,16 @@ Ox.URL URL controller item <[s]> Item views for this type