Is there a way to inspect the internal structure of an spinejs app?

40 views
Skip to first unread message

Steven Roussey

unread,
Jul 16, 2012, 1:11:14 AM7/16/12
to spi...@googlegroups.com
Is there a way to inspect the internal structure of an spinejs app?

Specifically, I'm looking for a way to get all the different kinds of models, and the actual models/records. Also, I'm looking for a way to enumerate the views. Thanks!

-steve--

Alexander McLin

unread,
Jul 18, 2012, 4:19:20 PM7/18/12
to spi...@googlegroups.com
If you're doing this at runtime, the easiest way would be to require whatever you want in the console of your favorite browser's debugger such as firebug. Then you can call functions on the models and inspect their records and etc at your leisure.

Alex

Steven Roussey

unread,
Jul 22, 2012, 9:28:10 PM7/22/12
to spi...@googlegroups.com
Yeah, I'm one of the Firebug devs. But anyway, I'm looking at adding support for SpineJS to Illuminations for Firebug:

Here is an intro referencing ExtJS:


-s

Alexander McLin

unread,
Jul 25, 2012, 11:48:36 AM7/25/12
to spi...@googlegroups.com
Ahhh I understand that you're looking to add to Firebug an ability to inspect the entire structure of a Spine application?

That would be fantastic.

Sorry for not understanding what you were getting at. I don't know of a programmatic way to get at the internals. Based on my current knowledge, I don't think so... but other Spine users may correct me.

If there isn't a way currently, I would be very much interested in offering any assistance if you'd like. I'm reviewing the information at the link you provided.

Alex
Reply all
Reply to author
Forward
0 new messages