A browserify transform to enable the easy use of bower components in browserify client javascript projects. This can be used in conjunction with deamdify to require AMD components from bower as well.
491
stars
51
forks
source link
Improves error message emitted when there's a problem in debowerify #6
For some reason, the self reference was previously often undefined in case of errors while browserifying, which meant the error shown to the user was along the lines of "undefined has no method self" instead of the actual cause of problems. Simply referencing tr directly (which is what every other reference to the stream in the file does anyway) seems to correct this.
For some reason, the
self
reference was previously often undefined in case of errors while browserifying, which meant the error shown to the user was along the lines of "undefined
has no methodself
" instead of the actual cause of problems. Simply referencingtr
directly (which is what every other reference to the stream in the file does anyway) seems to correct this.