You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when I simply include dist/browser/overload.js of v. 0.5.1 via HTML script tag no overload function gets added to the global window object. Though the prototypes of Number, Function, Object ect. all get the double underscore operator methods.
I'd like to use the operator-overloading in my projects organized as AMD modules. To create an AMD module I could wrap the scripts in dist/browser, but no luck so far.
Version 0.4.4 from Bower Components is still usable in a browser environment, because it is based upon Function.prototype.enableOverloading and not on exported functions.
The text was updated successfully, but these errors were encountered:
Hi, when I simply include
dist/browser/overload.js
ofv. 0.5.1
via HTML script tag nooverload
function gets added to the globalwindow
object. Though the prototypes ofNumber
,Function
,Object
ect. all get the double underscore operator methods.I'd like to use the operator-overloading in my projects organized as AMD modules. To create an AMD module I could wrap the scripts in
dist/browser
, but no luck so far.Version
0.4.4
from Bower Components is still usable in a browser environment, because it is based uponFunction.prototype.enableOverloading
and not on exported functions.The text was updated successfully, but these errors were encountered: