Commit 461c4a96 authored by Melikhov Arsenii's avatar Melikhov Arsenii

Update jQuery.md;

add indentation to the "Create the dev version of the project" section
parent 331c85c8
......@@ -648,21 +648,21 @@ because it is already included in `app.min.js`.
To create the -dev version of the project perform the following steps:
* Create the `www/index-dev.html` file and copy the code from `index.html` into it.
* Change the link:
```html
<script type="text/javascript" src="app.min.js"></script>
```
to:
```html
<script type="text/javascript" src="src/app.js"></script>
```
* Return the link:
```html
<script src="/clientRequire/@unitybase/ub-pub/dist/ub-pub.min.js"></script>
```
```html
<script type="text/javascript" src="app.min.js"></script>
```
to:
```html
<script type="text/javascript" src="src/app.js"></script>
```
* Return the link:
```html
<script src="/clientRequire/@unitybase/ub-pub/dist/ub-pub.min.js"></script>
```
* Remove the include of the `ub-pub` module from `app.js`:
```javascript
const UB = require('@unitybase/ub-pub')
```
```javascript
const UB = require('@unitybase/ub-pub')
```
Now, at `http://localhost:8881/index-dev.html`, the project is available for debugging.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment