minor fixes
This commit is contained in:
parent
903bbbddf1
commit
49107519f4
5 changed files with 7 additions and 7 deletions
|
@ -106,9 +106,9 @@ Modern tools make the transpilation very fast and transparent, actually allowing
|
|||
|
||||
Examples of such languages:
|
||||
|
||||
- [CoffeeScript](http://coffeescript.org/) is a "syntactic sugar" for JavaScript. It introduces shorter syntax, allowing us to write clearer and more precise code. Usually, Ruby devs like it.
|
||||
- [TypeScript](http://www.typescriptlang.org/) is concentrated on adding "strict data typing" to simplify the development and support of complex systems. It is developed by Microsoft.
|
||||
- [Flow](http://flow.org/) also adds data typing, but in a different way. Developed by Facebook.
|
||||
- [CoffeeScript](https://coffeescript.org/) is a "syntactic sugar" for JavaScript. It introduces shorter syntax, allowing us to write clearer and more precise code. Usually, Ruby devs like it.
|
||||
- [TypeScript](https://www.typescriptlang.org/) is concentrated on adding "strict data typing" to simplify the development and support of complex systems. It is developed by Microsoft.
|
||||
- [Flow](https://flow.org/) also adds data typing, but in a different way. Developed by Facebook.
|
||||
- [Dart](https://www.dartlang.org/) is a standalone language that has its own engine that runs in non-browser environments (like mobile apps), but also can be transpiled to JavaScript. Developed by Google.
|
||||
- [Brython](https://brython.info/) is a Python transpiler to JavaScript that enables the writing of applications in pure Python without JavaScript.
|
||||
- [Kotlin](https://kotlinlang.org/docs/reference/js-overview.html) is a modern, concise and safe programming language that can target the browser or Node.
|
||||
|
|
|
@ -29,7 +29,7 @@ JavaScript is a developing language, new features get added regularly.
|
|||
|
||||
To see their support among browser-based and other engines, see:
|
||||
|
||||
- <http://caniuse.com> - per-feature tables of support, e.g. to see which engines support modern cryptography functions: <http://caniuse.com/#feat=cryptography>.
|
||||
- <https://caniuse.com> - per-feature tables of support, e.g. to see which engines support modern cryptography functions: <http://caniuse.com/#feat=cryptography>.
|
||||
- <https://kangax.github.io/compat-table> - a table with language features and engines that support those or don't support.
|
||||
|
||||
All these resources are useful in real-life development, as they contain valuable information about language details, their support etc.
|
||||
|
|
|
@ -13,7 +13,7 @@ An IDE loads the project (which can be many files), allows navigation between fi
|
|||
If you haven't selected an IDE yet, consider the following options:
|
||||
|
||||
- [Visual Studio Code](https://code.visualstudio.com/) (cross-platform, free).
|
||||
- [WebStorm](http://www.jetbrains.com/webstorm/) (cross-platform, paid).
|
||||
- [WebStorm](https://www.jetbrains.com/webstorm/) (cross-platform, paid).
|
||||
|
||||
For Windows, there's also "Visual Studio", not to be confused with "Visual Studio Code". "Visual Studio" is a paid and mighty Windows-only editor, well-suited for the .NET platform. It's also good at JavaScript. There's also a free version [Visual Studio Community](https://www.visualstudio.com/vs/community/).
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ In other words, the result is the same as `elem.querySelectorAll(css)[0]`, but t
|
|||
|
||||
Previous methods were searching the DOM.
|
||||
|
||||
The [elem.matches(css)](http://dom.spec.whatwg.org/#dom-element-matches) does not look for anything, it merely checks if `elem` matches the given CSS-selector. It returns `true` or `false`.
|
||||
The [elem.matches(css)](https://dom.spec.whatwg.org/#dom-element-matches) does not look for anything, it merely checks if `elem` matches the given CSS-selector. It returns `true` or `false`.
|
||||
|
||||
The method comes in handy when we are iterating over elements (like in an array or something) and trying to filter out those that interest us.
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ Different DOM nodes may have different properties. For instance, an element node
|
|||
|
||||
Each DOM node belongs to the corresponding built-in class.
|
||||
|
||||
The root of the hierarchy is [EventTarget](https://dom.spec.whatwg.org/#eventtarget), that is inherited by [Node](http://dom.spec.whatwg.org/#interface-node), and other DOM nodes inherit from it.
|
||||
The root of the hierarchy is [EventTarget](https://dom.spec.whatwg.org/#eventtarget), that is inherited by [Node](https://dom.spec.whatwg.org/#interface-node), and other DOM nodes inherit from it.
|
||||
|
||||
Here's the picture, explanations to follow:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue