From 489aae74f945d6030e88ecf53abe209836556261 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 8 Aug 2017 15:10:54 -0600 Subject: [PATCH] [DOC release] Fixes code blocks for api viewer --- addon/-private/system/references/belongs-to.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addon/-private/system/references/belongs-to.js b/addon/-private/system/references/belongs-to.js index e81a5b0a6af..30098086870 100644 --- a/addon/-private/system/references/belongs-to.js +++ b/addon/-private/system/references/belongs-to.js @@ -352,6 +352,7 @@ BelongsToReference.prototype.value = function() { userRef.load().then(function(user) { userRef.value() === user }); + ``` @method load @return {Promise} a promise that resolves with the record in this belongs-to relationship. @@ -398,6 +399,7 @@ BelongsToReference.prototype.load = function() { userRef.reload().then(function(user) { userRef.value() === user }); + ``` @method reload @return {Promise} a promise that resolves with the record in this belongs-to relationship after the reload has completed.