[exec] [ webdslc | info ] stage 2: importing modulesAmbiguities found during parsing of ../auxiliary.app : 
 [exec] amb(
 [exec]   [[JSString("var earlyLoadOffset = 600;
 [exec] 		var lastLoader = null;
 [exec] 		var allLoaded = false;
 [exec] 	
 [exec] 		function loadMore(){
 [exec] 			var newLoader = $(".continuousLoader:last");
 [exec] 			if(newLoader != null) {
 [exec] 				if(lastLoader != null && newLoader[0].id == lastLoader[0].id) {
 [exec] 					allLoaded = true;
 [exec] 				} else {
 [exec] 					newLoader.click();
 [exec] 					lastLoader = newLoader;
 [exec] 				}
 [exec] 			}
 [exec] 		}
 [exec] 		
 [exec] 		function fillPage() {
 [exec] 			if(!allLoaded && $(document).height() <= $(window).height() + earlyLoadOffset){
 [exec] 				loadMore();
 [exec] 				setTimeout('fillPage()',500);
 [exec] 			}
 [exec] 		}
 [exec] 		
 [exec] 		$(document).ready(function() {
 [exec] 			fillPage()
 [exec] 			// Add additional items when needed
 [exec] 			$(window).scroll( function(){
 [exec] 				//if ($(window).scrollTop() == $(document).height() - $(window).height()){
 [exec] 				if ($(window).scrollTop() > $(document).height() - $(window).height() - earlyLoadOffset){
 [exec] 					loadMore();
 [exec] 				}
 [exec] 			});
 [exec] 		});
 [exec] 	")], [JSString("var earlyLoadOffset = 600;
 [exec] 		var lastLoader = null;
 [exec] 		var allLoaded = false;
 [exec] 	
 [exec] 		function loadMore(){
 [exec] 			var newLoader = $(".continuousLoader:last");
 [exec] 			if(newLoader != null) {
 [exec] 				if(lastLoader != null && newLoader[0].id == lastLoader[0].id) {
 [exec] 					allLoaded = true;
 [exec] 				} else {
 [exec] 					newLoader.click();
 [exec] 					lastLoader = newLoader;
 [exec] 				}
 [exec] 			}
 [exec] 		}
 [exec] 		
 [exec] 		function fillPage() {
 [exec] 			if(!allLoaded && $(document).height() "), JSString("<= $(window).height() + earlyLoadOffset){
 [exec] 				loadMore();
 [exec] 				setTimeout('fillPage()',500);
 [exec] 			}
 [exec] 		}
 [exec] 		
 [exec] 		$(document).ready(function() {
 [exec] 			fillPage()
 [exec] 			// Add additional items when needed
 [exec] 			$(window).scroll( function(){
 [exec] 				//if ($(window).scrollTop() == $(document).height() - $(window).height()){
 [exec] 				if ($(window).scrollTop() > $(document).height() - $(window).height() - earlyLoadOffset){
 [exec] 					loadMore();
 [exec] 				}
 [exec] 			});
 [exec] 		});
 [exec] 	")]]
 [exec] )
 [exec] [ webdslc | critical ] Internal error - ambiguities found in module ../auxiliary.app
Submitted by Danny Groenewegen on 11 July 2011 at 12:53

On 11 July 2011 at 12:55 Danny Groenewegen commented:

possibly related to https://yellowgrass.org/issue/WebDSL/338


On 15 July 2011 at 14:44 Sander van der Burg tagged !svanderburg

On 18 July 2011 at 13:27 Lennart Kats commented:

The WebDSL Javascript production rules are quite ambiguous at this point. Perhaps the imploder handles them slightly differently at this point. Danny suggested to use the Java version for now to work around this issue.

Log in to post comments