I am working on application which needs to rebind the same keys when user switches pages, we have same keys for some actions and since this uses Mousetrap it supports array of combos which works fine when they are added first time to the scope (I am using bindTo), but when that scope is destroyed and that array of keys need to be added to another scope it either adds one or none to that scope.
I am working on application which needs to rebind the same keys when user switches pages, we have same keys for some actions and since this uses Mousetrap it supports array of combos which works fine when they are added first time to the scope (I am using bindTo), but when that scope is destroyed and that array of keys need to be added to another scope it either adds one or none to that scope.