From ed18882a38a8806e666b2bc5599982b1d51170c1 Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Sun, 7 Jun 2015 07:33:13 -0700 Subject: [PATCH] [DOC beta] Cleanup more doc block access notation in ember-debug. --- packages/ember-debug/lib/main.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/ember-debug/lib/main.js b/packages/ember-debug/lib/main.js index 6accd8b9b21..92264d217cb 100644 --- a/packages/ember-debug/lib/main.js +++ b/packages/ember-debug/lib/main.js @@ -13,6 +13,7 @@ import environment from "ember-metal/environment"; /** @class Ember +@public */ function isPlainFunction(test) { @@ -38,6 +39,7 @@ function isPlainFunction(test) { @param {Boolean|Function} test Must be truthy for the assertion to pass. If falsy, an exception will be thrown. If this is a function, it will be executed and its return value will be used as condition. + @public */ Ember.assert = function(desc, test) { var throwAssertion; @@ -62,6 +64,7 @@ Ember.assert = function(desc, test) { @param {String} message A warning to display. @param {Boolean} test An optional boolean. If falsy, the warning will be displayed. + @public */ Ember.warn = function(message, test) { if (!test) { @@ -82,6 +85,7 @@ Ember.warn = function(message, test) { @method debug @param {String} message A debug message to display. + @public */ Ember.debug = function(message) { Logger.debug("DEBUG: "+message); @@ -99,6 +103,7 @@ Ember.debug = function(message) { value will be used as condition. @param {Object} options An optional object that can be used to pass in a `url` to the transition guide on the emberjs.com website. + @public */ Ember.deprecate = function(message, test, options) { var noDeprecation; @@ -167,6 +172,7 @@ Ember.deprecate = function(message, test, options) { @param {String} message A description of the deprecation. @param {Function} func The new function called to replace its deprecated counterpart. @return {Function} a new function that wrapped the original function with a deprecation warning + @private */ Ember.deprecateFunc = function(message, func) { return function() { @@ -193,6 +199,7 @@ Ember.deprecateFunc = function(message, func) { @method runInDebug @param {Function} func The function to be executed. @since 1.5.0 + @public */ Ember.runInDebug = function(func) { func();