code: function(methodName, sinceVersion, removeVersion, replacementCall) {
        if(window.console && console.log){
          console.log(methodName + ' has been deprecated since ' + sinceVersion +
            ' and will be removed in version ' + removeVersion + '.' +
            ' Use ' + replacementCall + ' instead.');
        }
      }
docs: scoped functions