yazz.com
yazz.com

Reputation: 58796

Using Google Closure Library for Google DART?

How can the Google Closure UI Library be used with Google DART?

Upvotes: 1

Views: 843

Answers (3)

Alexandre Ardhuin
Alexandre Ardhuin

Reputation: 76283

You can use the js package to use any Js library. Have a look at Using JavaScript from Dart: The js Library to know how to use it.

Upvotes: 1

Chris Buckett
Chris Buckett

Reputation: 14398

Although at present, you can't use the closure libraries directly, some effort is underway to port some of the more useful libraries, for example, the crypto libraries are here: http://code.google.com/p/dart-crypto-lib/

Upvotes: 1

John
John

Reputation: 5468

Dart has no facility for using JavaScript libraries. This is by design as Dart is intended to target both the Dart VM and Dart translated to JS. It is possible to workaround this to some extent by using message passing between iFrames and web workers.

Upvotes: 2

Related Questions