HomePhabricator

Implement 'peers' feature for loading extra styles-type gadgets

Description

Implement 'peers' feature for loading extra styles-type gadgets

Ref discussion on T42284.

Test plan:

  • Create gadget A with a .css file only. (Maybe mark as 'hidden')
  • Create gadget B with .js file, and peers=A.
  • Verify that enabling B will result in B being loaded as general module, and A being loaded as page style module.

Change-Id: Ib6207e72c576ff387ecdba685a063bdfbb828199

Details

Provenance
KrinkleAuthored on Nov 18 2016, 4:54 AM
FomafixCommitted on Jan 2 2017, 1:45 PM
Parents
rEGAD7a99c04ae590: Explicit convert the Message object to string
Branches
Unknown
Tags
Unknown
ChangeId
Ib6207e72c576ff387ecdba685a063bdfbb828199