View code on github

1blankspace alliows for the generic extension of the standard namespaces by creating a structure and then linking it to the object.

Many structures can be linked to the same object.

The same structure can be linked to many objects.

To enable this functionality you just need to set a json config as below.  The rest is automatically done for you.

ns1blankspace.extend.structure =
  title: [menu title],
  object: [object ID],
  category: [structure category ID],
  show: [optional function reference to override the standard show method]

Setting up structures