
Pie 2 Beta version errors
Hello Jason, I tested a little bit new beta version of pie.js and I must say that so many errors

at least on my project.
I'm debugging with ie8 developer tools , is not an awesome tool but you can see the error and line where the error is so what I found:
Unspecified error - Unspecified error. PIE.js, line 19 character 410: ( return e[d]||b.getAttribute(i)||e[g]||b.getAttribute(c) )
'right' is null or not an object - PIE.js, line 19 character 459: ( return e[d]||b.getAttribute(i)||e[g]||b.getAttribute(c) )
'left' is null or not an object - PIE.js, line 19 character 476: ( return e[d]||b.getAttribute(i)||e[g]||b.getAttribute(c) )
'null' is null or not an object PIE.js, line 21 character 318: ( return e[d]||b.getAttribute(i)||e[g]||b.getAttribute(c) )
seems to be the same part of code every time when I receive an error, unfortunately I cannot give you a page test because I tested on an internal app which use java + wicket and I cannot post ... but If you asking for something I'll be glad to help you with any test.
I'm using these scripts to call pie for my elements:
/*
PIE: CSS3 rendering for IE
*/
$(document).ready(function(){
if (window.PIE) {
$('#firstUl,.primary,.secondary,input[type = "text"], .currentPageTitle,.activeSaveHome,.removeArea,.draggable,.parent li,.tab-row ul li, .classForRadius,.tabContent,.etiRadius,.showAvailable a,.subTabsSecContainer,.tabCon,.tabSectionPad,.feedback-container,.feedback-tag,.dtcx').each(function(){
PIE.attach(this);
});
}
});
/*
PIE: detach and attach every time when the dom is modified.
*/
$(document).ready(function(){
try {
Wicket.Ajax.registerPostCallHandler(function(){
// console.log("start");
startPostAjax();
});
}
catch (error) {
// console.log(error);
}
});
function startPostAjax(){
pieStarter();
}
function pieStarter(){
if (window.PIE) {
go();
}
}
//
function go(){
$('.secondary,.primary,input[type = "text"],.removeactive,.parent li,.tab-row ul li,.classForRadius,.etiRadius,.showAvailable a,.subTabsSecContainer,.tabCon,.tabSectionPad,.feedback-container,.feedback-tag').each(function(){
PIE.detach(this);
});
$('.secondary, .primary,input[type = "text"],.removeactive,.parent li,.tab-row ul li,.classForRadius,.etiRadius,.showAvailable a,.subTabsSecContainer,.tabCon,.tabSectionPad,.feedback-container,.feedback-tag').each(function(){
PIE.attach(this);
});
}
Thank you.