Skip to content

Commit

Permalink
Merge pull request #11365 from rwjblue/fix-more-comment-blocks
Browse files Browse the repository at this point in the history
[DOC beta] Cleanup more doc block access notation in ember-debug.
  • Loading branch information
rwjblue committed Jun 7, 2015
2 parents f1d1da9 + ed18882 commit 1301e68
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/ember-debug/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import environment from "ember-metal/environment";

/**
@class Ember
@public
*/

function isPlainFunction(test) {
Expand All @@ -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;
Expand All @@ -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) {
Expand All @@ -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);
Expand All @@ -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;
Expand Down Expand Up @@ -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() {
Expand All @@ -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();
Expand Down

0 comments on commit 1301e68

Please sign in to comment.