You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seeing #3626 and #3631 it is really time to factor a Polymer.Path module to get these path manipulations right once and for all. Usually you set minutes to hours trying to understand something like 970d576
Seeing #3626 and #3631 it is really time to factor a
Polymer.Path
module to get these path manipulations right once and for all. Usually you set minutes to hours trying to understand something like 970d576What we need:
foo.bar
=>foo
foo.bar
=> truefoo
=> false('foo.bar', 'foo')
=> true('foo.bar', 'bar')
=> false('foo.bar', 'foo.bar.baz')
=> true('foo.bar', 'foo.bar')
=> false('foo', 'baz', 'foo.bar')
=> 'baz.bar'('foo.bar', false, 'foo.bar')
=> true('foo.bar', true, 'foo.bar.baz')
=> true('foo.bar', false, 'foo.bar.baz')
=> falseNote that these functions are pure and can be memoized.
The text was updated successfully, but these errors were encountered: