은 어쩌면이 질문은 너무 많은 건설 아니지만 내가 왜이 구문 오류 받고 있어요 알아낼 수 보인다밝히려 모듈 패턴 구문 오류
var operations = function() {
function computeTotalPrice(elem) {
var totalpriceafter = 0;
$(".totalForProductNotDeleted").each(function() {
var pp = parseFloat($(this).html().toString().replace(",", "."));
totalpriceafter += pp;
});
return totalpriceafter;
};
function HightLightChangedPrices(elem) {
elem.parent().parent().parent().find(".totalForProduct").effect("highlight");
$("#totalPrice").effect("highlight");
};
return
{
computeTotalPrice : computeTotalPrice,
HightLightChangedPrices : HightLightChangedPrices/I get expected ;
};
};
이제 알았습니다. 매우 흥미로운. –