#2673 JS: Unimplemented methods on Pod.js

SlimerDude Mon 22 Jan 2018

There are a couple of Unimplemented methods on Pod.js

  • config()
  • depends()
  • props()

It is also missing file(), files(), load() but as these can't be implemented it'd be nice if they just threw an UnsupportedErr instead.

doc() is also unimplemented, but it could just return null.

It was the depends() method I wanted to call (or was calling!) was calling when I got the dreaded TypeError: pod.depends is not a function exception.

andy Mon 22 Jan 2018

Ticket promoted to #2673 and assigned to andy

SlimerDude Fri 6 Dec 2019

Just thought I'd bump this topic as I ran in to the same error again today.

I'd imagine Pod.depends() should be fairly easy to implement as pod meta is already bundled in with the pod's JS.

matthew Fri 6 Dec 2019

Yep - I will take a look at this.

matthew Fri 6 Dec 2019

Ticket resolved in 1.0.74

SlimerDude Fri 6 Dec 2019

Ah cool, thanks!

Login or Signup to reply.