Giter Club home page Giter Club logo

node-webkit.dart's People

Contributors

luizmineo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

node-webkit.dart's Issues

Compilation Support [Enhancement]

A possible addition to this library could be a dart:io script that compiles nw applications (eg. 'dart2js --minify', zipping into nw.exe/nw). This wouldn't be practical for a build.dart script, but the nw-app developer may want something like this for a 'publish.dart' script. The user could specify where they've placed the downloaded nw executable, or we could fetch the latest version from the git repo.

MenuItem onclick handler

How do I go about passing in a function to the onclick handler of a MenuItem?

Here's what I tried

mainMenu.append(new gui.MenuItem (
  label : "Quit",
  onclick : (Event e) => gui.App.quit()
));

I'm getting this error

"Uncaught NoSuchMethodError : method not found: 'Symbol("call")'
Receiver: Instance of 'main_closure'
Arguments: []"

Quick start example no longer works

When I follow your directions I end up with the node-webkit clouds and an error that says:

Uncaught node.js Error

TypeError: undefined is not a function
at dart.J.get$length$asx (file:///home/username/Development/test/build/web/index.dart.js:3629:41)
at dart.main (file:///home/username/Development/test/build/web/index.dart.js:3499:12)
at file:///home/username/Development/test/build/web/index.dart.js:4281:7
at init.currentScript (file:///home/username/Development/test/build/web/index.dart.js:4263:5)
at file:///home/username/Development/test/build/web/index.dart.js:4276:3
at file:///home/username/Development/test/build/web/index.dart.js:4286:3

Window.get().enterFullscreen() causes crash

new gui.Window.get().enterFullscreen();

calling this, causes following error:

Uncaught TypeError: Cannot read property 'constructor' of undefined"

Replicatable by writing a simple app containing just the above line

Name change

Any thoughts on changing the package name to match the new name for node-webkit, 'nw.js'?

Perhaps nw.dart?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.