Skip to content

Conversation

lindapaiste
Copy link
Contributor

This is a very minor code cleanup on the the StyleTransfer class.

  • Delete static method getVariableName(id)
  • Replace with instance method getVariable(id) which creates the variable name and returns the variable.
  • Rewrite all this.variables[StyleTransfer.getVariableName(id)] to this.getVariable(id)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant