Kevin van Zonneveld пре 7 година
родитељ
комит
da0693945c
1 измењених фајлова са 8 додато и 9 уклоњено
  1. 8 9
      website/src/_posts/2017-12-0.22.md

+ 8 - 9
website/src/_posts/2017-12-0.22.md

@@ -19,11 +19,11 @@ See [#451 PR](https://github.com/transloadit/uppy/pull/451) for details on why w
 
 ## Core and plugins refactor
 
-- **⚠️ Breaking** We’ve renamed calls to `core` to `uppy` in plugins. So instead of `this.core.state` we now use `this.uppy.state`.
-- **⚠️ Breaking** Events have been renamed to remove `core:` prefix. So `core:success` becomes just `success`, and so does `error`, `upload-started` and so on. Prefixed event names are used for plugin-specific event sometimes, like `dashboard:file-card`.
-- **⚠️ Breaking** CSS class names have been altered to use `uppy-` namespace, so `.UppyDashboard-files` becomes `.uppy-Dashboard-files` and so on.
-- **⚠️ Breaking** `getMetaFromForm` was removed in favor of new `Form` plugin (see below).
-- **⚠️ Breaking** `MetaData` plugin was removed in favor of `metaFields` option in Dashboard, [see docs](https://uppy.io/docs/dashboard/#metaFields) for more details.
+- **⚠️ Breaking** We’ve renamed the `core` object to `uppy` in plugins. So instead of `this.core.state` we now use `this.uppy.state`.
+- **⚠️ Breaking** Events have been renamed to remove the `core:` prefix. So `core:success` becomes just `success`, and this also results in now having `error`, `upload-started` and so on. Prefixed event names are used for plugin-specific event sometimes, like `dashboard:file-card`.
+- **⚠️ Breaking** CSS class names have been altered to use the `uppy-` namespace, so `.UppyDashboard-files` becomes `.uppy-Dashboard-files` and so on.
+- **⚠️ Breaking** `getMetaFromForm` was removed in favor of the new `Form` plugin (see below).
+- **⚠️ Breaking** `MetaData` plugin was removed in favor of the `metaFields` option in Dashboard, [see docs](https://uppy.io/docs/dashboard/#metaFields) for more details.
 - Plugins now use `this.el` to refer to their UI element instead of `this.target`.
 - `setPluginState` and `getPluginState` are now used in Providers.
 
@@ -100,12 +100,11 @@ Our browser crash / page refresh restore plugin `Golden Retriever` (read [more a
 
 Also, we’ve fixed restoring from paused state. Now uploads will remain paused and not get out of sync.
 
-## Type safe Server
+## Type-safe Server
 
-Uppy-server now uses typescript to do some type checking in compile time. This helps spot some otherwise easy to miss compile time bugs. While the project's source is still written in javascript, the use of JsDoc specifications is leverages upon by typescript to detect data types with in the project.
+Uppy-server now uses TypeScript to do some type checking at compile time. This helps spot some otherwise easy to miss runtime time bugs. While the project's source is still written in JavaScript, the use of JsDoc specifications is leveraged by TypeScript to detect data types and mistakes with that, within the project.
 
-This is a very positive step for uppy-server because a number of hidden bugs had already been identified and fixed thanks to
-this, and it also makes uppy-server very well documented. :)
+Thanks to this approach number of hidden bugs have already been identified and fixed, and it also makes uppy-server very well documented. :)
 
 ## And there’s more