Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit ad1c2f2

Browse files
author
steven.roulleau
committed
fix(doc): for devportal + remove some instructions
1 parent 2452ffb commit ad1c2f2

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# iinkJS
22

3-
[![npm version](https://badge.fury.io/js/myscript.svg)](https://badge.fury.io/js/iink-js)
3+
[![npm version](https://badge.fury.io/js/iink-js.svg)](https://badge.fury.io/js/iink-js)
44
[![Examples](https://img.shields.io/badge/Link%20to-examples-blue.svg)](https://myscript.github.io/iinkJS/examples/)
55
[![Documentation](https://img.shields.io/badge/Link%20to-documentation-green.svg)](https://developer.myscript.com/docs/interactive-ink/latest/web/iinkjs/)
66

@@ -92,9 +92,8 @@ yarn add iink-js
9292

9393
1. Create an `index.html` file in the same directory.
9494

95-
2. Add the following lines in the `head` section of your file to use iinkJS and the css. We use [PEP](https://github.com/jquery/PEP) to ensure better browsers compatibilities. Note that you can also use it using dependencies from `node_modules` or `bower_components`:
95+
2. Add the following lines in the `head` section of your file to use iinkJS and the css. We use [PEP](https://github.com/jquery/PEP) to ensure better browsers compatibilities. Note that you can also use it using dependencies from `node_modules`:
9696
```html
97-
<link rel="stylesheet" href="node_modules/myscript/dist/myscript.min.css"/>
9897
<script src="node_modules/myscript/dist/myscript.min.js"></script>
9998
<script src="https://code.jquery.com/pep/0.4.3/pep.js"></script>
10099
```
@@ -133,7 +132,6 @@ yarn add iink-js
133132
```html
134133
<html>
135134
<head>
136-
<link rel="stylesheet" href="node_modules/myscript/dist/myscript.min.css"/>
137135
<script src="node_modules/myscript/dist/myscript.min.js"></script>
138136
<script src="https://code.jquery.com/pep/0.4.3/pep.js"></script>
139137
<style>

examples/dev/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
}
169169
</style>
170170

171-
<script type="text/javascript" src="node_modules/myscript/dist/iink.min.js"></script>
171+
<script type="text/javascript" src="node_modules/iink-js/dist/iink.min.js"></script>
172172
<script src="https://code.jquery.com/pep/0.4.3/pep.js"></script>
173173

174174
</head>

0 commit comments

Comments
 (0)