Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kikocorreoso authored Jun 21, 2016
1 parent ffb7663 commit 2f52f3e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,22 @@ or the current development version :
</script>
```

The previous code will allow you to use raw python code but imports will fail as they are implemented using ajax calls and it will not work using http://rawgit.com/. If you want to test your projects using a standalone javascript file with the [available stdlib](https://github.com/brython-dev/brython/tree/master/www/src/Lib) included (so import would work) you should use:

```xml
<script type="text/javascript"
src="https://cdn.rawgit.com/brython-dev/brython/3.2.2/www/src/brython_dist.js">
</script>
```

or the current development version :

```xml
<script type="text/javascript"
src="https://cdn.rawgit.com/brython-dev/brython/master/www/src/brython_dist.js">
</script>
```

Local install
-------------
You can also install the development environment locally, either by cloning the
Expand Down Expand Up @@ -154,4 +170,4 @@ Thank you
=========

- [BrowserStack](http://www.browserstack.com) for providing an access
to their online testing environment.
to their online testing environment.

0 comments on commit 2f52f3e

Please sign in to comment.