Skip to content

Commit

Permalink
Don't expose the Neon package, just the classes
Browse files Browse the repository at this point in the history
  • Loading branch information
chubas committed Jun 23, 2012
1 parent abad6d7 commit fb28f56
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions neon.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,9 @@
return Neon;
});
} else {
if (typeof process !== 'undefined') {
global.Neon = Neon;
} else {
global.Class = Neon.Class;
global.Module = Neon.Module;
global.Interface = Neon.Interface;
}
global.Class = Neon.Class;
global.Module = Neon.Module;
global.Interface = Neon.Interface;
}

}(typeof window !== 'undefined' ? window : (typeof exports !== 'undefined' ? exports : null)));
Expand Down

0 comments on commit fb28f56

Please sign in to comment.