When I try and build my app:
- steal/js steal/buildjs myapp/myapp.html
I am getting the following error:
- comparing document position cboxLoadingGraphic cboxLoadingOverlay!!!!!!!!!!! ERROR !!!!!!!!!!!-message = Cannot read property "childNodes" from null-fileName = steal/rhino/env.js-lineNumber = 3480-name = TypeError
Line 3480 is:
- length = a.parentNode.childNodes.length;
The file that I am steal'ing that is causing this error the following jQuery colorbox plugin:
If I change line 3479 from:
- if(a.parentNode === b.parentNode){
to
- if(a.parentNode && a.parentNode === b.parentNode){
then I get past this error.
This does not happen if I change stealconfig.js to point to jquery.1.8.3.js
Thoughts?