mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-06-08 18:57:12 +00:00
update annotations
This commit is contained in:
parent
046b3281e1
commit
4d414e5f95
21 changed files with 57 additions and 57 deletions
|
@ -907,7 +907,7 @@ if(date1 > date2){
|
|||
|
||||
[Firefox CORS not HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSRequestNotHttp)
|
||||
|
||||
**NOTE**: Firefox 68 and later define the origin of a page opened using a `file:///` URI as unique. Therefore, other resources in the same directory or its subdirectories no longer satisfy the CORS same-origin rule. This new behavior is enabled by default using the `privacy.file_unique_origin` preference.
|
||||
> **Note**: Firefox 68 and later define the origin of a page opened using a `file:///` URI as unique. Therefore, other resources in the same directory or its subdirectories no longer satisfy the CORS same-origin rule. This new behavior is enabled by default using the `privacy.file_unique_origin` preference.
|
||||
|
||||
```json
|
||||
"privacy.file_unique_origin": "false"
|
||||
|
|
|
@ -154,7 +154,7 @@ In the JavaScript call the jQuery plugin on the DOM:
|
|||
$("form").validate();
|
||||
```
|
||||
|
||||
**NOTE**: always link to the [minified](https://developers.google.com/speed/docs/insights/MinifyResources) js files.
|
||||
> **Note**: always link to the [minified](https://developers.google.com/speed/docs/insights/MinifyResources) js files.
|
||||
|
||||
## More jQuery
|
||||
|
||||
|
|
|
@ -206,7 +206,7 @@ function Form() {
|
|||
// ...
|
||||
```
|
||||
|
||||
**NOTE**: The `key` attribute of the component is needed to identify a particular item. It's most useful if the list has to be sorted.
|
||||
> **Note**: The `key` attribute of the component is needed to identify a particular item. It's most useful if the list has to be sorted.
|
||||
|
||||
## Hooks
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ const rootReducer = combineReducers({
|
|||
});
|
||||
```
|
||||
|
||||
**NOTE**: multiple reducers can be triggered by the same action since each one operates on a different portion of the state.
|
||||
> **Note**: multiple reducers can be triggered by the same action since each one operates on a different portion of the state.
|
||||
|
||||
## [React-Redux](https://react-redux.js.org/)
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@ The full list of modifiers:
|
|||
<button on:event|modifier={eventHandler}>
|
||||
```
|
||||
|
||||
**NOTE**: It's possible to chain modifiers together, e.g. `on:click|once|capture={...}`.
|
||||
> **Note**: It's possible to chain modifiers together, e.g. `on:click|once|capture={...}`.
|
||||
|
||||
## Binding
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue