Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Temporarly add nqp-js hacks to the setting.
  • Loading branch information
pmurias committed Mar 16, 2014
1 parent 3c6b592 commit 0844fa0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/core/NQPMu.nqp
Expand Up @@ -106,6 +106,20 @@ my class NQPMu {
method isa($type) {
self.HOW.isa(self, $type)
}

#ifdef js
# HACKs
method to_n() {
0;
}
method to_s() {
"";
}
method Bool() {
nqp::isconcrete(self);
}
#endif

}

#?if !parrot
Expand Down

0 comments on commit 0844fa0

Please sign in to comment.