refractproject / minim

A library for interacting with Refract elements
MIT License
21 stars 9 forks source link

Remove uses of non-existent `get()` in README #239

Closed kylef closed 5 years ago

kylef commented 5 years ago

get() only exists on array element and object element where it takes a given key and returns the underlying element (never value, there is getValue for that).

In some parts of the README it is used on primitive elements (string, number, boolean), the method does not exist on these elements. Appears toValue() should be used instead.