Using Dart (webdev) to write a js library / expose a dart api to js. IN THE BROWSER : <p>Please give a simple but complete example showing how to write a library in dart that can be used from javascript in the browser without using requirejs. </p>

<p>The library should contain a function, a class and a global variable. </p>

<p>A reference to sass-dart is not a solution to that problem because it is for use with nodejs and requirejs.</p>
