rikulo / bootjack

Twitter Bootstrap ported in Dart.
https://quire.io
Apache License 2.0
88 stars 15 forks source link

type 'Tab' is not a subtype of type 'Tab' of 'function result'. #10

Closed nawafnaim closed 10 years ago

nawafnaim commented 10 years ago

My tabs are added and work correctly but I keep receiving this error with each tab added.

Exception: type 'Tab' is not a subtype of type 'Tab' of 'function result'. Tab.wire (http://127.0.0.1:3030/wTutor/web/packages/bootjack/src/tab.dart:23:13) use. (http://127.0.0.1:3030/wTutor/web/packages/bootjack/src/tab.dart:102:11) _EventUtil.dispatch (package:dquery/src/event.dart:320:28) _EventUtil.add.. (package:dquery/src/event.dart:53:17)

tomyeh commented 10 years ago

Can you make a test case that illustrates the problem?

nawafnaim commented 10 years ago

Found the source of the error. I have called 'Bootjack.useDefault();' in two parts in my app.