From ae44db3c755138c1cba0a9d4389a6bceca198dc8 Mon Sep 17 00:00:00 2001 From: Sean Ouimet Date: Mon, 2 Mar 2015 23:59:35 +0100 Subject: [PATCH 1/4] Removes content/no to allow for subtree --- content/no/es6.md | 71 ---------------------------------------- content/no/faq.md | 34 ------------------- content/no/index.md | 22 ------------- content/no/template.json | 12 ------- 4 files changed, 139 deletions(-) delete mode 100644 content/no/es6.md delete mode 100644 content/no/faq.md delete mode 100644 content/no/index.md delete mode 100644 content/no/template.json diff --git a/content/no/es6.md b/content/no/es6.md deleted file mode 100644 index 3f1ee6c..0000000 --- a/content/no/es6.md +++ /dev/null @@ -1,71 +0,0 @@ -# ES6 on io.js - -io.js is built against modern versions of [V8](https://code.google.com/p/v8/). By keeping up-to-date with the latest releases of this engine we ensure new features from the [JavaScript ECMA-262 specification](http://www.ecma-international.org/publications/standards/Ecma-262.htm) are brought to io.js developers in a timely manner, as well as continued performance and stability improvements. - -Version {{project.current_version}} of io.js ships with V8 {{project.current_v8}}, which includes ES6 features well beyond version 3.26.33 that will be shipped with joyent/node@0.12.x. - -## No more --harmony flag - -On joyent/node@0.12.x (V8 3.26), the `--harmony` runtime flag enabled all **completed**, **staged** and **in progress** ES6 features together, in bulk (with the exception of nonstandard/non-harmonious semantics for `typeof` which were hidden under `--harmony-typeof`). This meant that some really buggy or even broken features like [proxies](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) were just as readily available for developers as [generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*), which had very little or even no known-issues. As such, it was best practice to either enable only certain features by using specific runtime harmony feature flags (e.g. `--harmony-generators`), or simply enable all of them and then use a restricted subset. - -With io.js@1.x (V8 4.1+), all that complexity goes away. All harmony features are now logically split into three groups for **shipping**, **staged** and **in progress** features: - -* All **shipping** features, the ones that V8 has considered stable, like [generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*), [templates](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/template_strings), [new string methods](https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_6_support_in_Mozilla#Additions_to_the_String_object) and many others are turned **on by default on io.js** and do **NOT** require any kind of runtime flag. -* Then there are **staged** features which are almost-completed features that haven't been completely tested or updated to the latest spec yet and therefore are not considered stable by the V8 team (e.g. there might be some edge cases left to discover). This is probably the equivalent of the state of [generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*) on 3.26. These are the "use at your own risk" type of features that now require a runtime flag: `--es_staging` (or its synonym, `--harmony`). -* Finally, all **in progress** features can be activated individually by their respective harmony flag (e.g. `--harmony_arrow_functions`), although this is highly discouraged unless for testing purposes. - -## Which ES6 features ship with io.js by default (no runtime flag required)? - - -* Block scoping - - * [let](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let) - - * [const](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const) - - * `function`-in-blocks - - >As of v8 3.31.74.1, block-scoped declarations are [intentionally implemented with a non-compliant limitation to strict mode code](https://groups.google.com/forum/#!topic/v8-users/3UXNCkAU8Es). Developers should be aware that this will change as v8 continues towards ES6 specification compliance. - -* Collections - - * [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) - - * [WeakMap](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap) - - * [Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) - - * [WeakSet](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) - -* [Generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*) - -* [Binary and Octal literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Numeric_literals) - -* [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) - -* [New String methods](https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_6_support_in_Mozilla#Additions_to_the_String_object) - -* [Symbols](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) - -* [Template strings](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/template_strings) - -You can view a more detailed list, including a comparison with other engines, on the [compat-table](https://kangax.github.io/compat-table/es6/) project page. - -## Which ES6 features are behind the --es_staging flag? - -* [Classes](https://github.com/lukehoban/es6features#classes) (strict mode only) -* [Object literal extensions](https://github.com/lukehoban/es6features#enhanced-object-literals) - -* [`Symbol.toStringTag`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) (user-definable results for `Object.prototype.toString`) - -## I have my infrastructure set up to leverage the --harmony flag. Should I remove it? - -The current behaviour of the `--harmony` flag on io.js is to enable **staged** features only. After all, it is now a synonym of `--es_staging`. As mentioned above, these are completed features that have not been considered stable yet. If you want to play safe, especially on production environments, consider removing this runtime flag until it ships by default on V8 and, consequently, on io.js. If you keep this enabled, you should be prepared for further io.js upgrades to break your code if V8 changes their semantics to more closely follow the standard. - -## How do I find which version of V8 ships with a particular version of io.js? - -io.js provides a simple way to list all dependencies and respective versions that ship with a specific binary through the `process` global object. In case of the V8 engine, type the following in your terminal to retrieve its version: - -```sh -iojs -p process.versions.v8 -``` diff --git a/content/no/faq.md b/content/no/faq.md deleted file mode 100644 index bd0c0f4..0000000 --- a/content/no/faq.md +++ /dev/null @@ -1,34 +0,0 @@ -# FAQ - -## What is io.js? - -[io.js](https://github.com/iojs/io.js) is a JavaScript platform built on [Chrome's V8 runtime](http://code.google.com/p/v8/). This project began as a fork of [Joyent's Node.js™](https://nodejs.org/) and is compatible with the [npm](https://www.npmjs.org/) ecosystem. - -Why? io.js aims to provide faster and predictable release cycles. It currently merges in the latest language, API and performance improvements to V8 while also updating libuv and other base libraries. - -This project aims to continue development of io.js under an "[open governance model](https://github.com/iojs/io.js/blob/v1.x/GOVERNANCE.md#readme)" as opposed to corporate stewardship. - -## Version 1.0.x? - -io.js has moved to [Semver](http://semver.org/) and the changes between Node.js™ 0.10 and io.js 1.0.0 were significant enough -to warrant a major version increment. - -Our [CHANGELOG](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) for v1.x provides a [summary of changes from Node.js v0.10.35 to io.js v1.0.x](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md#summary-of-changes-from-nodejs-v01035-to-iojs-v100). - -## How can I contribute? - -Everyone can help. io.js adheres to a [code of conduct](https://github.com/iojs/io.js/blob/v1.x/CONTRIBUTING.md#code-of-conduct), and contributions, releases, and contributorship are under an [open governance](https://github.com/iojs/io.js/blob/v1.x/GOVERNANCE.md#readme) model. - -To get started, there are open [ discussions on GitHub](https://github.com/iojs/io.js/issues), and we'd love to hear your feedback. -Becoming involved in discussions is a good way to get a feel of where you can help out further. If there is -something there you feel you can tackle, please [make a pull request](https://github.com/iojs/io.js/blob/v1.x/CONTRIBUTING.md#code-contributions). - -In addition, using [Nodebug.me](http://nodebug.me/) is a good way to help Triage the issues in the backlog. - -## Where do discussions take place? - -There is an #io.js channel on Freenode IRC. We keep logs of the channel [here](http://logs.libuv.org/io.js/latest). - -## What is open source governance? - -Open source governance advocates the application of the philosophies of the open source and open content movements in order to enable any interested party to add to the creation of the end product, as with a wiki document. Legislation is democratically opened to the general citizenry, employing their collective wisdom to benefit the decision-making process and improve democracy. [[source]](https://en.wikipedia.org/wiki/Open-source_governance) \ No newline at end of file diff --git a/content/no/index.md b/content/no/index.md deleted file mode 100644 index aba9f2c..0000000 --- a/content/no/index.md +++ /dev/null @@ -1,22 +0,0 @@ -# JavaScript I/O - -Bringing [ES6](es6.html) to the Node Community! - -[io.js](https://github.com/iojs/io.js) is an [npm](https://www.npmjs.org/) compatible platform originally based on [node.js](https://nodejs.org/)™. - -[![io.js](../images/1.0.0.png)](https://iojs.org/dist/v{{project.current_version}}/) - -[Version {{project.current_version}}](https://iojs.org/dist/v{{project.current_version}}/) - -Download for -[Linux](https://iojs.org/dist/v{{project.current_version}}/iojs-v{{project.current_version}}-linux-x64.tar.xz), -[Win32](https://iojs.org/dist/v{{project.current_version}}/iojs-v{{project.current_version}}-x86.msi), [Win64](https://iojs.org/dist/v{{project.current_version}}/iojs-v{{project.current_version}}-x64.msi), -or -[Mac](https://iojs.org/dist/v{{project.current_version}}/iojs-v{{project.current_version}}.pkg). - - -[Changelog](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) - -[Nightly releases](https://iojs.org/download/nightly/) are available for testing. - -[Frequently Asked Questions](/faq.html) diff --git a/content/no/template.json b/content/no/template.json deleted file mode 100644 index f5d3584..0000000 --- a/content/no/template.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "browser-title":"io.js - JavaScript I/O", - "logo-text":"io.js", - "faq-link":"FAQ", - "es6-link":"ES6", - "api-link":"API Docs", - "issues-link":"GitHub Issues", - "org-link":"GitHub Org", - "irc-link":"IRC Chat", - "irc-logs-link":"Logs", - "gov-link":"Governance" -} From 2573d485f3e9e5d272311f4bd8d9bb7c510a8599 Mon Sep 17 00:00:00 2001 From: Sean Ouimet Date: Tue, 3 Mar 2015 00:00:35 +0100 Subject: [PATCH 2/4] Adds iojs-no content from iojs/iojs-no#website --- content/no/es6.md | 131 +++++++++++++++++++++++++++++++++++++++ content/no/faq.md | 72 +++++++++++++++++++++ content/no/index.md | 24 +++++++ content/no/template.json | 12 ++++ 4 files changed, 239 insertions(+) create mode 100644 content/no/es6.md create mode 100644 content/no/faq.md create mode 100644 content/no/index.md create mode 100644 content/no/template.json diff --git a/content/no/es6.md b/content/no/es6.md new file mode 100644 index 0000000..fc6412a --- /dev/null +++ b/content/no/es6.md @@ -0,0 +1,131 @@ +# ES6 i io.js + +io.js benytter en moderne versjon av [V8](https://code.google.com/p/v8/). Ved +å holde prosjektet oppdatert med de siste versjonene av V8 sørger vi for at nye +funksjoner fra [JavaScript ECMA-262 +spesifikasjonen](http://www.ecma-international.org/publications/standards/Ecma-262.htm) +er tilgjengelig for io.js utviklere innen rimelig tid. I tillegg vil +sikkerhets- og ytelesesforbedringer komme raskt. + +Versjon 1.4.2 av io.js kommer med V8 versjon 4.1.0.21, denne inkluderer +ES6-funksjoner godt forbi versjon 3.28.73 som vil bli levert med Node.js™ +0.12.x. + +## Slutt på --harmony-flagget + +Med Node.js™@0.12.x (V8 3.28+) aktiverte `--harmony`-flagget ES6-funksjonene +**completed**, **staged** og **in progress** (med unntak av `proxies` som ble +skjult ved bruk av `--harmony-proxies`). Dette resulterte i at ustabile, eller +til og med ødelagte, funksjoner som [Arrow +Functions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions) +var like tilgjengelig for utviklere som +[generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*), +som hadde veldig få, eller ingen, kjente problemer. Følgelig var det sikrest å +aktivere enten et fåtall funksjoner ved å bruke spesifikke harmony-flagg +(f.eks. `--harmony-generators`), eller aktivere dem alle og deretter bare +bruke en begrenset delmengde. + +Med io.js@1.x (V8 4.1+) forsvinner all denne kompleksiteten. Alle harmony-funksjoner +er nå logisk fordelt inn i tre grupper for **shipping**-, **staged**- og **in +progress**-funksjoner: + + * Alle **shipping**-funksjoner, som V8 har vurdert som stabile, for eksempel +[generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*), +[templates](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/template_strings), +[new string methods](https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_6_support_in_Mozilla#Additions_to_the_String_object) +og mange flere er nå skrudd **på som standard i io.js** og krever **INGEN** +flagg. + + * Deretter er det **staged**-funksjoner, som er nesten fullførte funksjoner +som ikke har blitt fullstendig testet eller oppdatert i henhold til den siste +spesifikasjonen enda. Følgelig er de ikke ansett som stabile av V8 laget +(f.eks. kan det være noen 'edge cases' som ikke har blitt oppdaget). Dette er +mest sannsynlig ekvivalent med tilstanden til +[generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*) +i 3.26. Disse er "bruk på egen risiko" funksjoner som nå krever flagget : +`--es_staging` (eller synonymet, `--harmony`). + + * Til slutt, alle **in progress**-funksjoner kan bli aktivert individuelt av +deres respektive harmony-flagg (f.eks. `--harmony_arrow_functions`), selv om +dette ikke er anbefalt med mindre det brukes til testing. + +## Hvilke ES6-funksjoner følger med io.js som standard (uten å bruke flagg)? + + * Block scoping + + * [let](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let) + + * [const](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const) + + * `function`-in-blocks + +> Fra og med v8 3.31.74.1, er block-scoped declarations [forsettlig implementert +> med en ikke-kompatibel begrensning til strict modus +> kode](https://groups.google.com/forum/#!topic/v8-users/3UXNCkAU8Es). +> Utviklere bør være klar over at dette vil endres i takt med V8 sin +> implementasjon av ES6-spesifikasjonen. + + * Collections + + * [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) + + * [WeakMap](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap) + + * [Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) + + * [WeakSet](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) + + * [Generators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*) + + * [Binary and Octal literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Numeric_literals) + + * [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) + + * [New String methods](https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_6_support_in_Mozilla#Additions_to_the_String_object) + + * [Symbols](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) + + * [Template strings](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/template_strings) + +Du kan se en mer detaljert liste med sammenligninger opp mot andre motorer på +prosjektsiden til (https://kangax.github.io/compat-table/es6/)[compat-table]. + +## Hvilke ES6-funksjoner ligger i --es_staging-flagget? + + * [Classes](https://github.com/lukehoban/es6features#classes) (strict mode only) + + * [Object literal extensions(https://github.com/lukehoban/es6features#enhanced-object-literals)] + + * [`Symbol.toStringTag`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) (user-definable results for `Object.prototype.toString`) + +## Which ES6 features are in progress? + +New features are constantly being added to the V8 engine. Generally speaking, expect them to land on a future io.js release, although timing is unknown. + +You may list all the *in progress* features available on each io.js release by grepping through the `--v8-options` argument. Please note that these are incomplete and possibly broken features of V8, so use them at your own risk: + +```sh +iojs --v8-options | grep "in progress" +``` + +## Jeg bruker --harmony-flagg i produksjon. Burde jeg fjerne det? + +Den nåværende oppførselen til `--harmony`-flagget i io.js er å kun aktivere +**staged**-funksjoner. Dette er tross alt nå synonymt med `--es_staging`. Som +nevnt ovenfor er dette fullførte funksjoner som enda ikke er ansett som stabile +enda. Hvis du ønsker å være på den sikre siden, kanskje spesielt med tanke på +produksjonsmiljøer, bør du vurdere å fjerne dette flagget inntil det leveres +som standard av V8 og io.js. Hvis du fortsetter å ha flagget aktivert bør du +være forberedt på at nyere io.js-oppgraderinger kan ødelegge koden din dersom +V8 endrer semantikken sin til å være mer lik standarden. + +## Hvordan finner jeg ut hvilken versjon av V8 en gitt io.js versjon har? + +io.js har en enkel måte å liste alle avhengigheter/dependencies og versjoner av +en gitt binær med det globale objektet `process`. For å finne-V8 versjonen kan +du skrive følgende i terminalen: + +```sh +iojs -p process.versions.v8 +``` + diff --git a/content/no/faq.md b/content/no/faq.md new file mode 100644 index 0000000..663f90e --- /dev/null +++ b/content/no/faq.md @@ -0,0 +1,72 @@ +# FAQ + + + +## Hva er io.js? + +[io.js](https://iojs.org/) er en JavaScript-plattform bygget på [Chromes +V8-kjøremiljø](http://code.google.com/p/v8/). Prosjektet begynte som en fork av +[Joyents Node.js™](https://nodejs.org/) og er kompatibel med +[npm's](https://www.npmjs.com/) økosystem. + +## Hvorfor? + +io.js ønsker å tilby raskere og mer forutsigbare lanseringer. For øyeblikket +inkluderes de nyeste språk-, API-, og ytelsesforbedringene til V8, samtidig som +libuv og andre grunnbiblioteker blir oppdatert. + +Dette prosjektet ønsker å fortsette utviklingen av io.js under en [åpen +styringsmodell](https://github.com/iojs/io.js/blob/v1.x/GOVERNANCE.md#readme), +i motsetning til å bli forvaltet av et selskap. + + + +## Versjon 1.0.x? + +io.js har adoptert [Semver](http://semver.org/), og endringene mellom Node.js™ +0.10 og io.js 1.0.0 var signifikante nok til å rettferdiggjøre en ny +hovedversjon. + +Vår [ENDRINGSLOGG](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) for +v1.x gir deg [et sammendrag av endringene mellom Node.js™ v0.10.35 og io.js +v1.0.x](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md#summary-of-changes-from-nodejs-v01035-to-iojs-v100). + + + +## Hvordan kan jeg bidra? + +Alle kan hjelpe til! io.js tar i bruk følgende [retningslinjer for +oppførsel](https://github.com/iojs/io.js/blob/v1.x/CONTRIBUTING.md#code-of-conduct). +Bidragsytere, lanseringer og eierskap er underlagt en [åpen +styringsmodell](https://github.com/iojs/io.js/blob/v1.x/GOVERNANCE.md#readme). + +For å komme i gang finnes det flere åpne [diskusjoner på +GitHub](https://github.com/iojs/io.js/issues) hvor vi gjerne tar i mot dine +tilbakemeldinger. Det å involvere seg i diskusjoner er en god måte å finne ut +av hvordan du kan bidra videre. [Lag gjerne en pull +request](https://github.com/iojs/io.js/blob/v1.x/CONTRIBUTING.md#code-contributions) +om det er noe du føler du kan ta tak i. + +I tillegg er det å bruke [http://nodebug.me/](Nodebug.me) en ypperlig måte å +hjelpe til med å bestemme prioritering av problemer i produktkøen. + + + +## Hvor tar diskusjoner plass? + +I tillegg til den offisielle #io.js-kanalen på Freenode finnes det en norsk +[Gitter-kanal](https://gitter.im/iojs/iojs-no). Førstnevnte føres det logger av, +som du kan finne [her](http://logs.libuv.org/io.js/latest). + + + +## Hva innebærer en åpen styringsmodell? + +En åpen styringsmodell viderefører filosofiene bak bevegelsene for åpen +kildekode og åpent innehold. Dette lar så mange som mulig bidra til +sluttproduktet, som med et wiki-dokument. Lovgivningen er demokratisk åpnet, for +å ta i bruk den kollektive visdommen for å styrke beslutningsprosessen, samt +demokratiet i seg selv. + +Kilde (engelsk): https://en.wikipedia.org/wiki/Open-source_governance + diff --git a/content/no/index.md b/content/no/index.md new file mode 100644 index 0000000..3315d61 --- /dev/null +++ b/content/no/index.md @@ -0,0 +1,24 @@ +# JavaScript I/O + +Bringer [ES6](es6.html) til Node-fellesskapet! + +[io.js](https://iojs.org) er en [npm](https://www.npmjs.org)-kompatibel +platform opprinnelig basert på [node.js](https://nodejs.org/)™. + +[![io.js](/images/1.0.0.png)](https://iojs.org/dist/v1.4.2/) + +[Versjon 1.4.2](https://iojs.org/dist/v1.4.2/) + +Last ned til +[Linux](https://iojs.org/dist/v1.4.2/iojs-v1.4.2-linux-x64.tar.xz), +[Win32](https://iojs.org/dist/v1.4.2/iojs-v1.4.2-x86.msi), +[Win64](https://iojs.org/dist/v1.4.2/iojs-v1.4.2-x64.msi), +[Mac](https://iojs.org/dist/v1.4.2/iojs-v1.4.2.pkg), eller +[andre](https://iojs.org/dist/v1.4.2/). + +[Se endringer (engelsk)](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) + +[Nattlige bygg](https://iojs.org/download/nightly/) er tilgjengelig for testing. + +[Ofte stilte spørsmål](/faq.html) + diff --git a/content/no/template.json b/content/no/template.json new file mode 100644 index 0000000..4c23110 --- /dev/null +++ b/content/no/template.json @@ -0,0 +1,12 @@ +{ + "browser-title":"io.js - JavaScript I/O", + "logo-text":"io.js", + "faq-link":"FAQ", + "es6-link":"ES6", + "api-link":"API", + "issues-link":"GitHub Issues", + "org-link":"GitHub Org", + "irc-link":"IRC Chat", + "irc-logs-link":"Historikk", + "gov-link":"Styringsmodell" +} From ab3cc101906d4746811f542b679662602578d96a Mon Sep 17 00:00:00 2001 From: Sean Ouimet Date: Tue, 3 Mar 2015 00:12:29 +0100 Subject: [PATCH 3/4] Updats iojs-no content from iojs/iojs-no#website --- content/no/es6.md | 3 +-- content/no/index.md | 14 +++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/content/no/es6.md b/content/no/es6.md index fc6412a..c7eea09 100644 --- a/content/no/es6.md +++ b/content/no/es6.md @@ -7,7 +7,7 @@ spesifikasjonen](http://www.ecma-international.org/publications/standards/Ecma-2 er tilgjengelig for io.js utviklere innen rimelig tid. I tillegg vil sikkerhets- og ytelesesforbedringer komme raskt. -Versjon 1.4.2 av io.js kommer med V8 versjon 4.1.0.21, denne inkluderer +Versjon {{project.current_version}} av io.js kommer med V8 versjon {{project.current_v8}}, denne inkluderer ES6-funksjoner godt forbi versjon 3.28.73 som vil bli levert med Node.js™ 0.12.x. @@ -128,4 +128,3 @@ du skrive følgende i terminalen: ```sh iojs -p process.versions.v8 ``` - diff --git a/content/no/index.md b/content/no/index.md index 3315d61..b345ba4 100644 --- a/content/no/index.md +++ b/content/no/index.md @@ -5,16 +5,16 @@ Bringer [ES6](es6.html) til Node-fellesskapet! [io.js](https://iojs.org) er en [npm](https://www.npmjs.org)-kompatibel platform opprinnelig basert på [node.js](https://nodejs.org/)™. -[![io.js](/images/1.0.0.png)](https://iojs.org/dist/v1.4.2/) +[![io.js](/images/1.0.0.png)](https://iojs.org/dist/v{{project.current_version}}/) -[Versjon 1.4.2](https://iojs.org/dist/v1.4.2/) +[Versjon {{project.current_version}}](https://iojs.org/dist/v{{project.current_version}}/) Last ned til -[Linux](https://iojs.org/dist/v1.4.2/iojs-v1.4.2-linux-x64.tar.xz), -[Win32](https://iojs.org/dist/v1.4.2/iojs-v1.4.2-x86.msi), -[Win64](https://iojs.org/dist/v1.4.2/iojs-v1.4.2-x64.msi), -[Mac](https://iojs.org/dist/v1.4.2/iojs-v1.4.2.pkg), eller -[andre](https://iojs.org/dist/v1.4.2/). +[Linux](https://iojs.org/dist/v{{project.current_version}}/iojs-v{{project.current_version}}-linux-x64.tar.xz), +[Win32](https://iojs.org/dist/v{{project.current_version}}/iojs-v{{project.current_version}}-x86.msi), +[Win64](https://iojs.org/dist/v{{project.current_version}}/iojs-v{{project.current_version}}-x64.msi), +[Mac](https://iojs.org/dist/v{{project.current_version}}/iojs-v{{project.current_version}}.pkg), eller +[andre](https://iojs.org/dist/v{{project.current_version}}/). [Se endringer (engelsk)](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) From 5b67ac0cd56b7ba0bfa27dbbcac9cc9b9484f84b Mon Sep 17 00:00:00 2001 From: Sean Ouimet Date: Tue, 3 Mar 2015 00:17:57 +0100 Subject: [PATCH 4/4] Updates ./public for iojs-no --- public/no/es6.html | 112 +++++++++++++++++++++++++++++++++---------- public/no/faq.html | 80 +++++++++++++++++++++---------- public/no/index.html | 38 ++++++++------- 3 files changed, 161 insertions(+), 69 deletions(-) diff --git a/public/no/es6.html b/public/no/es6.html index 880ce40..70be6a0 100644 --- a/public/no/es6.html +++ b/public/no/es6.html @@ -28,22 +28,61 @@
FAQ ES6 - API Docs + API -

ES6 on io.js

-

io.js is built against modern versions of V8. By keeping up-to-date with the latest releases of this engine we ensure new features from the JavaScript ECMA-262 specification are brought to io.js developers in a timely manner, as well as continued performance and stability improvements.

-

Version 1.4.2 of io.js ships with V8 4.1.0.21, which includes ES6 features well beyond version 3.26.33 that will be shipped with joyent/node@0.12.x.

-

No more --harmony flag

-

On joyent/node@0.12.x (V8 3.26), the --harmony runtime flag enabled all completed, staged and in progress ES6 features together, in bulk (with the exception of nonstandard/non-harmonious semantics for typeof which were hidden under --harmony-typeof). This meant that some really buggy or even broken features like proxies were just as readily available for developers as generators, which had very little or even no known-issues. As such, it was best practice to either enable only certain features by using specific runtime harmony feature flags (e.g. --harmony-generators), or simply enable all of them and then use a restricted subset.

-

With io.js@1.x (V8 4.1+), all that complexity goes away. All harmony features are now logically split into three groups for shipping, staged and in progress features:

+

ES6 i io.js

+

io.js benytter en moderne versjon av V8. Ved +å holde prosjektet oppdatert med de siste versjonene av V8 sørger vi for at nye +funksjoner fra JavaScript ECMA-262 +spesifikasjonen +er tilgjengelig for io.js utviklere innen rimelig tid. I tillegg vil +sikkerhets- og ytelesesforbedringer komme raskt.

+

Versjon 1.4.2 av io.js kommer med V8 versjon 4.1.0.21, denne inkluderer +ES6-funksjoner godt forbi versjon 3.28.73 som vil bli levert med Node.js™ +0.12.x.

+

Slutt på --harmony-flagget

+

Med Node.js™@0.12.x (V8 3.28+) aktiverte --harmony-flagget ES6-funksjonene +completed, staged og in progress (med unntak av proxies som ble +skjult ved bruk av --harmony-proxies). Dette resulterte i at ustabile, eller +til og med ødelagte, funksjoner som Arrow +Functions +var like tilgjengelig for utviklere som +generators, +som hadde veldig få, eller ingen, kjente problemer. Følgelig var det sikrest å +aktivere enten et fåtall funksjoner ved å bruke spesifikke harmony-flagg +(f.eks. --harmony-generators), eller aktivere dem alle og deretter bare +bruke en begrenset delmengde.

+

Med io.js@1.x (V8 4.1+) forsvinner all denne kompleksiteten. Alle harmony-funksjoner +er nå logisk fordelt inn i tre grupper for shipping-, staged- og in +progress-funksjoner:

    -
  • All shipping features, the ones that V8 has considered stable, like generators, templates, new string methods and many others are turned on by default on io.js and do NOT require any kind of runtime flag.
  • -
  • Then there are staged features which are almost-completed features that haven't been completely tested or updated to the latest spec yet and therefore are not considered stable by the V8 team (e.g. there might be some edge cases left to discover). This is probably the equivalent of the state of generators on 3.26. These are the "use at your own risk" type of features that now require a runtime flag: --es_staging (or its synonym, --harmony).
  • -
  • Finally, all in progress features can be activated individually by their respective harmony flag (e.g. --harmony_arrow_functions), although this is highly discouraged unless for testing purposes.
  • +
  • +

    Alle shipping-funksjoner, som V8 har vurdert som stabile, for eksempel +generators, +templates, +new string methods +og mange flere er nå skrudd på som standard i io.js og krever INGEN +flagg.

    +
  • +
  • +

    Deretter er det staged-funksjoner, som er nesten fullførte funksjoner +som ikke har blitt fullstendig testet eller oppdatert i henhold til den siste +spesifikasjonen enda. Følgelig er de ikke ansett som stabile av V8 laget +(f.eks. kan det være noen 'edge cases' som ikke har blitt oppdaget). Dette er +mest sannsynlig ekvivalent med tilstanden til +generators +i 3.26. Disse er "bruk på egen risiko" funksjoner som nå krever flagget : +--es_staging (eller synonymet, --harmony).

    +
  • +
  • +

    Til slutt, alle in progress-funksjoner kan bli aktivert individuelt av +deres respektive harmony-flagg (f.eks. --harmony_arrow_functions), selv om +dette ikke er anbefalt med mindre det brukes til testing.

    +
-

Which ES6 features ship with io.js by default (no runtime flag required)?

+

Hvilke ES6-funksjoner følger med io.js som standard (uten å bruke flagg)?

  • Block scoping

    @@ -58,10 +97,16 @@

    Which ES6 features ship with io.js by default (no runtime flag required)?function-in-blocks

+ +
-

As of v8 3.31.74.1, block-scoped declarations are intentionally implemented with a non-compliant limitation to strict mode code. Developers should be aware that this will change as v8 continues towards ES6 specification compliance.

+

Fra og med v8 3.31.74.1, er block-scoped declarations forsettlig implementert +med en ikke-kompatibel begrensning til strict modus +kode. +Utviklere bør være klar over at dette vil endres i takt med V8 sin +implementasjon av ES6-spesifikasjonen.

- +
  • Collections

      @@ -98,23 +143,38 @@

      Which ES6 features ship with io.js by default (no runtime flag required)?Template strings

    -

    You can view a more detailed list, including a comparison with other engines, on the compat-table project page.

    -

    Which ES6 features are behind the --es_staging flag?

    +

    Du kan se en mer detaljert liste med sammenligninger opp mot andre motorer på +prosjektsiden til (https://kangax.github.io/compat-table/es6/)[compat-table].

    +

    Hvilke ES6-funksjoner ligger i --es_staging-flagget?

    -

    I have my infrastructure set up to leverage the --harmony flag. Should I remove it?

    -

    The current behaviour of the --harmony flag on io.js is to enable staged features only. After all, it is now a synonym of --es_staging. As mentioned above, these are completed features that have not been considered stable yet. If you want to play safe, especially on production environments, consider removing this runtime flag until it ships by default on V8 and, consequently, on io.js. If you keep this enabled, you should be prepared for further io.js upgrades to break your code if V8 changes their semantics to more closely follow the standard.

    -

    How do I find which version of V8 ships with a particular version of io.js?

    -

    io.js provides a simple way to list all dependencies and respective versions that ship with a specific binary through the process global object. In case of the V8 engine, type the following in your terminal to retrieve its version:

    +

    Which ES6 features are in progress?

    +

    New features are constantly being added to the V8 engine. Generally speaking, expect them to land on a future io.js release, although timing is unknown.

    +

    You may list all the in progress features available on each io.js release by grepping through the --v8-options argument. Please note that these are incomplete and possibly broken features of V8, so use them at your own risk:

    +
    iojs --v8-options | grep "in progress"
    +
    +

    Jeg bruker --harmony-flagg i produksjon. Burde jeg fjerne det?

    +

    Den nåværende oppførselen til --harmony-flagget i io.js er å kun aktivere +staged-funksjoner. Dette er tross alt nå synonymt med --es_staging. Som +nevnt ovenfor er dette fullførte funksjoner som enda ikke er ansett som stabile +enda. Hvis du ønsker å være på den sikre siden, kanskje spesielt med tanke på +produksjonsmiljøer, bør du vurdere å fjerne dette flagget inntil det leveres +som standard av V8 og io.js. Hvis du fortsetter å ha flagget aktivert bør du +være forberedt på at nyere io.js-oppgraderinger kan ødelegge koden din dersom +V8 endrer semantikken sin til å være mer lik standarden.

    +

    Hvordan finner jeg ut hvilken versjon av V8 en gitt io.js versjon har?

    +

    io.js har en enkel måte å liste alle avhengigheter/dependencies og versjoner av +en gitt binær med det globale objektet process. For å finne-V8 versjonen kan +du skrive følgende i terminalen:

    iojs -p process.versions.v8
     
@@ -124,8 +184,8 @@

How do I find which version of V8 ships with a particular version of io.js?< GitHub IssuesGitHub OrgIRC ChatLogsGovernance + -->HistorikkStyringsmodell @@ -136,11 +196,11 @@

How do I find which version of V8 ships with a particular version of io.js?< diff --git a/public/no/faq.html b/public/no/faq.html index 051a6ed..900f8a8 100644 --- a/public/no/faq.html +++ b/public/no/faq.html @@ -28,29 +28,59 @@
FAQ ES6 - API Docs + API

FAQ

-

What is io.js?

-

io.js is a JavaScript platform built on Chrome's V8 runtime. This project began as a fork of Joyent's Node.js™ and is compatible with the npm ecosystem.

-

Why? io.js aims to provide faster and predictable release cycles. It currently merges in the latest language, API and performance improvements to V8 while also updating libuv and other base libraries.

-

This project aims to continue development of io.js under an "open governance model" as opposed to corporate stewardship.

-

Version 1.0.x?

-

io.js has moved to Semver and the changes between Node.js™ 0.10 and io.js 1.0.0 were significant enough -to warrant a major version increment.

-

Our CHANGELOG for v1.x provides a summary of changes from Node.js v0.10.35 to io.js v1.0.x.

-

How can I contribute?

-

Everyone can help. io.js adheres to a code of conduct, and contributions, releases, and contributorship are under an open governance model.

-

To get started, there are open discussions on GitHub, and we'd love to hear your feedback. -Becoming involved in discussions is a good way to get a feel of where you can help out further. If there is -something there you feel you can tackle, please make a pull request.

-

In addition, using Nodebug.me is a good way to help Triage the issues in the backlog.

-

Where do discussions take place?

-

There is an #io.js channel on Freenode IRC. We keep logs of the channel here.

-

What is open source governance?

-

Open source governance advocates the application of the philosophies of the open source and open content movements in order to enable any interested party to add to the creation of the end product, as with a wiki document. Legislation is democratically opened to the general citizenry, employing their collective wisdom to benefit the decision-making process and improve democracy. [source]

+

+

Hva er io.js?

+

io.js er en JavaScript-plattform bygget på Chromes +V8-kjøremiljø. Prosjektet begynte som en fork av +Joyents Node.js™ og er kompatibel med +npm's økosystem.

+

Hvorfor?

+

io.js ønsker å tilby raskere og mer forutsigbare lanseringer. For øyeblikket +inkluderes de nyeste språk-, API-, og ytelsesforbedringene til V8, samtidig som +libuv og andre grunnbiblioteker blir oppdatert.

+

Dette prosjektet ønsker å fortsette utviklingen av io.js under en åpen +styringsmodell, +i motsetning til å bli forvaltet av et selskap.

+

+

Versjon 1.0.x?

+

io.js har adoptert Semver, og endringene mellom Node.js™ +0.10 og io.js 1.0.0 var signifikante nok til å rettferdiggjøre en ny +hovedversjon.

+

Vår ENDRINGSLOGG for +v1.x gir deg et sammendrag av endringene mellom Node.js™ v0.10.35 og io.js +v1.0.x.

+

+

Hvordan kan jeg bidra?

+

Alle kan hjelpe til! io.js tar i bruk følgende retningslinjer for +oppførsel. +Bidragsytere, lanseringer og eierskap er underlagt en åpen +styringsmodell.

+

For å komme i gang finnes det flere åpne diskusjoner på +GitHub hvor vi gjerne tar i mot dine +tilbakemeldinger. Det å involvere seg i diskusjoner er en god måte å finne ut +av hvordan du kan bidra videre. Lag gjerne en pull +request +om det er noe du føler du kan ta tak i.

+

I tillegg er det å bruke http://nodebug.me/ en ypperlig måte å +hjelpe til med å bestemme prioritering av problemer i produktkøen.

+

+

Hvor tar diskusjoner plass?

+

I tillegg til den offisielle #io.js-kanalen på Freenode finnes det en norsk +Gitter-kanal. Førstnevnte føres det logger av, +som du kan finne her.

+

+

Hva innebærer en åpen styringsmodell?

+

En åpen styringsmodell viderefører filosofiene bak bevegelsene for åpen +kildekode og åpent innehold. Dette lar så mange som mulig bidra til +sluttproduktet, som med et wiki-dokument. Lovgivningen er demokratisk åpnet, for +å ta i bruk den kollektive visdommen for å styrke beslutningsprosessen, samt +demokratiet i seg selv.

+

Kilde (engelsk): https://en.wikipedia.org/wiki/Open-source_governance

@@ -70,11 +100,11 @@

What is open source governance?

diff --git a/public/no/index.html b/public/no/index.html index e26075f..a39203e 100644 --- a/public/no/index.html +++ b/public/no/index.html @@ -28,23 +28,25 @@
FAQ ES6 - API Docs + API

JavaScript I/O

-

Bringing ES6 to the Node Community!

-

io.js is an npm compatible platform originally based on node.js™.

-

io.js

-

Version 1.4.2

-

Download for +

Bringer ES6 til Node-fellesskapet!

+

io.js er en npm-kompatibel +platform opprinnelig basert på node.js™.

+

io.js

+

Versjon 1.4.2

+

Last ned til Linux, -Win32, Win64, -or -Mac.

-

Changelog

-

Nightly releases are available for testing.

-

Frequently Asked Questions

+Win32, +Win64, +Mac, eller +andre.

+

Se endringer (engelsk)

+

Nattlige bygg er tilgjengelig for testing.

+

Ofte stilte spørsmål

@@ -64,11 +66,11 @@