Release 1.19.1
This commit is contained in:
1 parent
9b1726d3cd
commit
95b8e54d1a
8 files changed
+55
-49
No files matched your search
@@ -17,8 +17,8 @@ See [Usage](#usage) below for examples.
|
||||
### Global
|
||||
|
||||
```html
|
||||
<script src="https://unpkg.com/prettier@1.19.0/standalone.js"></script>
|
||||
<script src="https://unpkg.com/prettier@1.19.0/parser-graphql.js"></script>
|
||||
<script src="https://unpkg.com/prettier@1.19.1/standalone.js"></script>
|
||||
<script src="https://unpkg.com/prettier@1.19.1/parser-graphql.js"></script>
|
||||
<script>
|
||||
prettier.format("query { }", {
|
||||
parser: "graphql",
|
||||
@@ -43,8 +43,8 @@ prettier.format("query { }", {
|
||||
|
||||
```js
|
||||
define([
|
||||
"https://unpkg.com/prettier@1.19.0/standalone.js",
|
||||
"https://unpkg.com/prettier@1.19.0/parser-graphql.js"
|
||||
"https://unpkg.com/prettier@1.19.1/standalone.js",
|
||||
"https://unpkg.com/prettier@1.19.1/parser-graphql.js"
|
||||
], (prettier, ...plugins) => {
|
||||
prettier.format("query { }", { parser: "graphql", plugins });
|
||||
});
|
||||
@@ -63,7 +63,7 @@ This syntax doesn't necessarily work in the browser, but it can be used when bun
|
||||
### Worker
|
||||
|
||||
```js
|
||||
importScripts("https://unpkg.com/prettier@1.19.0/standalone.js");
|
||||
importScripts("https://unpkg.com/prettier@1.19.0/parser-graphql.js");
|
||||
importScripts("https://unpkg.com/prettier@1.19.1/standalone.js");
|
||||
importScripts("https://unpkg.com/prettier@1.19.1/parser-graphql.js");
|
||||
prettier.format("query { }", { parser: "graphql", plugins: prettierPlugins });
|
||||
```
|
||||
Reference in new issue
Block a user