Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 000a023

Browse files
committed
fix(panel): use existing _md-panel-offscreen class instead of inline styles
- fix broken link to `setNonce()` docs in Theming Intro - improve `setNonce()` documentation - fix some invalid or inaccurate types, JSDoc, and comments - improve type safety and IDE support by using `@types/angular` more - fix dgeni complaining about dangling links - fix typos Fixes #11941
1 parent 1bd1a97 commit 000a023

File tree

8 files changed

+126
-106
lines changed

8 files changed

+126
-106
lines changed

docs/content/Theming/01_introduction.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ etc) you will need to either write CSS rules with custom selectors, or build a
1212
custom version of the `angular-material.css` file using Sass and custom
1313
variables.
1414

15-
> <b>Note:</b> The Material Theming system provides the <a ng-href="/api/service/$mdThemingProvider#mdthemingprovider-setnonce-noncevalue">
15+
> <b>Note:</b> The Material Theming system provides the
16+
> <a ng-href="api/service/$mdThemingProvider#mdthemingprovider-setnonce-noncevalue">
1617
`$mdThemingProvider.setNonce()`</a> method to meet the requirements of a CSP-policy enabled application.
1718
1819
<img src="https://cloud.githubusercontent.com/assets/210413/4816236/bf7783dc-5edd-11e4-88ef-1f8b6e87e1d7.png" alt="color palette" style="max-width: 100%;">

docs/content/performance/internet-explorer.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ present a performance burden for Internet Explorer. When switching or modifying
2222
is not a requirement, the theming CSS can be exported to an external file which can be loaded statically.
2323
The following steps should be performed:
2424

25-
* Configure your theme as explained [here](Theming/03_configuring_a_theme)
26-
- This step is only required when a custom theme is used
25+
* Configure your theme as explained <a ng-href="Theming/03_configuring_a_theme">here</a>
26+
- If you are using a custom theme, don't forget this step
2727
* Run the application in Chrome
2828
* Open the Chrome DevTools
2929
* Execute the following javascript - <i>This copies the theming CSS to the clipboard</i>

src/components/datepicker/js/dateLocaleProvider.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
* The `$mdDateLocaleProvider` is the provider that creates the `$mdDateLocale` service.
1111
* This provider that allows the user to specify messages, formatters, and parsers for date
1212
* internationalization. The `$mdDateLocale` service itself is consumed by AngularJS Material
13-
* components that deal with dates (i.e. {@link api/directive/mdDatepicker mdDatepicker}).
13+
* components that deal with dates
14+
* (i.e. <a ng-href="api/directive/mdDatepicker">mdDatepicker</a>).
1415
*
1516
* @property {Array<string>} months Array of month names (in order).
1617
* @property {Array<string>} shortMonths Array of abbreviated month names.

src/components/datepicker/js/datepickerDirective.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
* @description
6060
* `<md-datepicker>` is a component used to select a single date.
6161
* For information on how to configure internationalization for the date picker,
62-
* see {@link api/service/$mdDateLocaleProvider $mdDateLocaleProvider}.
62+
* see <a ng-href="api/service/$mdDateLocaleProvider">$mdDateLocaleProvider</a>.
6363
*
6464
* This component supports
6565
* [ngMessages](https://docs.angularjs.org/api/ngMessages/directive/ngMessages).

0 commit comments

Comments
 (0)