Skip to content

Commit

Permalink
Merge pull request #4447 from bmac/doc-audit
Browse files Browse the repository at this point in the history
Remove initializer methods from the API docs
  • Loading branch information
pangratz authored Jun 25, 2016
2 parents d1dcccf + d6e6d73 commit c36ef21
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 8 deletions.
2 changes: 1 addition & 1 deletion addon/-private/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions addon/-private/ext/date.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@
import Ember from 'ember';
import { deprecate } from 'ember-data/-private/debug';


/**
Date.parse with progressive enhancement for ISO 8601 <https://github.com/csnover/js-iso8601>
© 2011 Colin Snover <http://zetafleet.com>
Released under MIT license.
@class Date
@namespace Ember
@static
@deprecated
*/
Ember.Date = Ember.Date || {};

var origParse = Date.parse;
Expand Down
4 changes: 2 additions & 2 deletions addon/-private/initializers/data-adapter.js
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion addon/-private/initializers/store-injections.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/*
Configures a registry with injections on Ember applications
for the Ember-Data store. Accepts an optional namespace argument.
Expand Down
2 changes: 1 addition & 1 deletion addon/-private/initializers/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function has(applicationOrRegistry, fullName) {
}
}

/**
/*
Configures a registry for use with an Ember-Data
store. Accepts an optional namespace argument.
Expand Down
2 changes: 1 addition & 1 deletion addon/-private/initializers/transforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
NumberTransform
} from "ember-data/-private/transforms";

/**
/*
Configures a registry for use with Ember-Data
transforms.
Expand Down
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down

0 comments on commit c36ef21

Please sign in to comment.