code: function(data) {
  			if (globalConfig.debug) {
  				// We grab console via getGlobal() so we can stub it out in tests
  				var globalConsole = this.getGlobal('console');
  				if (globalConsole && globalConsole.warn) {
  					globalConsole.warn(data);
  				}
  			} else {
  				application.fire('warning', data);
  			}
  		}
docs: Signals that an warning has occurred.
  If in development mode, console.warn is invoked.
  If in production mode, an event is fired.
  @param {*} data A message string or arbitrary data
  @returns {void}