taoensso / tower

i18n & L10n library for Clojure/Script
https://www.taoensso.com/tower
Eclipse Public License 1.0
277 stars 24 forks source link

Assert failed: Invalid tconfig key: :dictionary #76

Open wind13 opened 8 years ago

wind13 commented 8 years ago

What this error means?

I just copy the example config code and test it in re-natal project. But I got this error:

Assert failed: Invalid tconfig key: :dictionary
(not (:dictionary tconfig))
customEval
    figwheel-bridge.js:75
...

If I change the :dictionary to other words like :bdictionary, it will not got error but still not work as expected.

wind13 commented 8 years ago

I debug into the tower code, and I notice that there is a value named "scoped_k" can be seen in the chrome develop tool watcher.

But I search the tower code, there only has a variable named "scoped-k", so I guess did some where change the "-" to "_" in reagent or re-frame or re-natal. And that cause the tower can not work correct in re-natal?