From d6e6d73e87088083a38b60a5f779b4a49889a922 Mon Sep 17 00:00:00 2001 From: bmac Date: Fri, 24 Jun 2016 12:43:01 -0400 Subject: [PATCH] Remove initializer methods from the API docs (they are showing up on the DS.Model class) Add missing API docs for Ember.Date Add minor doc update to the DS namespace API docs. --- addon/-private/core.js | 2 +- addon/-private/ext/date.js | 13 +++++++++++++ addon/-private/initializers/data-adapter.js | 4 ++-- addon/-private/initializers/store-injections.js | 2 +- addon/-private/initializers/store.js | 2 +- addon/-private/initializers/transforms.js | 2 +- .../initialize-store-service.js | 4 ++-- 7 files changed, 21 insertions(+), 8 deletions(-) diff --git a/addon/-private/core.js b/addon/-private/core.js index 86b8aaf51f6..b16369a0ff4 100644 --- a/addon/-private/core.js +++ b/addon/-private/core.js @@ -6,7 +6,7 @@ import VERSION from 'ember-data/version'; */ /** - All Ember Data methods and functions are defined inside of this namespace. + All Ember Data classes, methods and functions are defined inside of this namespace. @class DS @static diff --git a/addon/-private/ext/date.js b/addon/-private/ext/date.js index 532f2d00130..4067a45f769 100644 --- a/addon/-private/ext/date.js +++ b/addon/-private/ext/date.js @@ -5,6 +5,19 @@ import Ember from 'ember'; import { deprecate } from 'ember-data/-private/debug'; + +/** + Date.parse with progressive enhancement for ISO 8601 + + © 2011 Colin Snover + + Released under MIT license. + + @class Date + @namespace Ember + @static + @deprecated +*/ Ember.Date = Ember.Date || {}; var origParse = Date.parse; diff --git a/addon/-private/initializers/data-adapter.js b/addon/-private/initializers/data-adapter.js index 419392392f1..84369679d8c 100644 --- a/addon/-private/initializers/data-adapter.js +++ b/addon/-private/initializers/data-adapter.js @@ -1,10 +1,10 @@ import DebugAdapter from "ember-data/-private/system/debug/debug-adapter"; -/** +/* Configures a registry with injections on Ember applications for the Ember-Data store. Accepts an optional namespace argument. - @method initializeStoreInjections + @method initializeDebugAdapter @param {Ember.Registry} registry */ export default function initializeDebugAdapter(registry) { diff --git a/addon/-private/initializers/store-injections.js b/addon/-private/initializers/store-injections.js index 06fe88b3506..70af3500aea 100644 --- a/addon/-private/initializers/store-injections.js +++ b/addon/-private/initializers/store-injections.js @@ -1,4 +1,4 @@ -/** +/* Configures a registry with injections on Ember applications for the Ember-Data store. Accepts an optional namespace argument. diff --git a/addon/-private/initializers/store.js b/addon/-private/initializers/store.js index a40895bfa7c..95d737fa974 100644 --- a/addon/-private/initializers/store.js +++ b/addon/-private/initializers/store.js @@ -12,7 +12,7 @@ function has(applicationOrRegistry, fullName) { } } -/** +/* Configures a registry for use with an Ember-Data store. Accepts an optional namespace argument. diff --git a/addon/-private/initializers/transforms.js b/addon/-private/initializers/transforms.js index 5503f924130..57c1df9395f 100644 --- a/addon/-private/initializers/transforms.js +++ b/addon/-private/initializers/transforms.js @@ -5,7 +5,7 @@ import { NumberTransform } from "ember-data/-private/transforms"; -/** +/* Configures a registry for use with Ember-Data transforms. diff --git a/addon/-private/instance-initializers/initialize-store-service.js b/addon/-private/instance-initializers/initialize-store-service.js index 5e6268b2922..b2d9fa1ec99 100644 --- a/addon/-private/instance-initializers/initialize-store-service.js +++ b/addon/-private/instance-initializers/initialize-store-service.js @@ -1,8 +1,8 @@ -/** +/* Configures a registry for use with an Ember-Data store. - @method initializeStore + @method initializeStoreService @param {Ember.ApplicationInstance} applicationOrRegistry */ export default function initializeStoreService(application) {