Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Steal Build Error

$
0
0
When I try and build my app:
  1. steal/js steal/buildjs myapp/myapp.html
I am getting the following error:
  1. 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:
  1. 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:
  1. if(a.parentNode === b.parentNode){
to
  1. 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?

Viewing all articles
Browse latest Browse all 3491

Trending Articles