code: function warnOnce(message) {
    if (!(previousWarnOnceMessages.indexOf(message) !== -1)) {
      previousWarnOnceMessages.push(message);
      warn(message);
    }
  }
docs: Show a console warning, but only if it hasn't already been shown
  @param message