Skip to content

k8si/requirejs_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

requirejs_example

Typescript files are in www/scripts/src. The main Javascript file (called by app.html) is in www/scripts/foo.js.

  1. To compile the Typescript files, use:

     tsc --module amd www/scripts/src/[your-file].ts
    
  2. Open a new browser window, along with the browser's developer tools (in Firefox, they're in Tools > Web Developer > Toggle Tools; in Chrome, they're under View somewhere).

  3. Open www/app.html in your browser (in Firefox, on a Mac, using File > Open > /path/to/www/app.html)

You should see the output of scripts/foo.js (as well as everything it calls) in the Javascript console of the developer tools.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published