Skip to content

Commit 2a184f7

Browse files
authored
Merge pull request #1708 from SnehalSrivastava27/doc
Updated Documentation
2 parents ab78e7d + cfcdcf5 commit 2a184f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/VanillaJS/step2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ These lines rely on the framework **require.js** that is used by Sugar-Web to ha
145145

146146
* `define` is a way to define a new module and express its dependencies. Here for example we're going to define a new module that depends on the JavaScript library `sugar-web/activity/activity`. So when the `js/activity.js` is run, **require** will first load the Sugar-Web activity library and put a reference on it in the `activity` variable.
147147

148-
* `requirejs` is pretty the same. It tells to **require**: run the following function but before that, load dependencies and give me a reference to it. There is a small hack here because `domReady!` is a special library used to wait for the end of the HTML page loading.
148+
* `requirejs` is pretty much the same. It tells to **require**: run the following function but before that, load dependencies and give me a reference to it. There is a small hack here because `domReady!` is a special library used to wait for the end of the HTML page loading.
149149

150150
Then comes the most important line of our activity:
151151
```js

0 commit comments

Comments
 (0)