Skip to content

Instantly share code, notes, and snippets.

@goofmint
Last active July 13, 2016 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goofmint/35dfb99e13d72040fb8702ea578a76ac to your computer and use it in GitHub Desktop.
Save goofmint/35dfb99e13d72040fb8702ea578a76ac to your computer and use it in GitHub Desktop.
1.md
$(function() {
var outerBoxController = {
__name: 'OuterBoxController',
replaceBoxController: h5.ui.container.ReplaceBoxController,
__meta: {
replaceBoxController: {
rootElement: '> .replaceBox'
},
},
__init: function(context) {
},
};
});
h5.core.controller(".outerBox", outerBoxController);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment