Skip to content

Instantly share code, notes, and snippets.

@zephraph
Last active December 16, 2015 01:42
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 zephraph/04d9ace8fb61c9b46b29 to your computer and use it in GitHub Desktop.
Save zephraph/04d9ace8fb61c9b46b29 to your computer and use it in GitHub Desktop.
Could this potentially be linted?
Box.Application.add${ _.capitalize(type) }('${name}', (${type === 'service' ? 'application' : 'context'}) => {
/**
* __ __ ___ ___
* |__) |__) | \ / /\ | |__
* | | \ | \/ /--\ | |___
*
*/
<% if (type !== 'service') { %>
let el = context.getElement();
<% } %>
<% if (pattern === 'factory') { %>
<% } %>
/**
* __ __ __
* |__) | | |__) | | / `
* | \__/ |__) |___ | \__,
*
*/
return {
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment