Site debug, testing


    Aug 09 2013 | 8:26 pm
    Don't mind me... just testing a few things on the site.
    Test max patcher:

    • Aug 09 2013 | 8:27 pm
    • Aug 09 2013 | 8:27 pm
      function() {
        foo = bar;
      }
      
      
    • May 31 2014 | 10:07 am
      test
    • May 31 2014 | 10:10 am
      Hi Ginger !
      i do not want to create new thread about this small issue so im dare to post it here :)
      
      im using chrome . While i want to select/drag a bigger portion of "code" posted inside "pre" tags im not allowed to select "everything" . It selects only lower portion of the whole tag . can you reproduce the problem too ?
      
      
    • May 31 2014 | 10:11 am
      function listMethods(object){
      	var list = [] ;
      	list = Object.getOwnPropertyNames(object)
      				.filter(function(property) {
      					return typeof object[property] == 'function';
      				}
      				);
      	post() ;
      	post("# METHODS #") ;
      	for(var i = 0 ; i < list.length ; i++){
      		post() ;
      		post(list[i]+"()") ;
      	}
      	post() ;
      	post("# END #")	;
      }
      
      function listProps(obj){
      
      	if(typeof obj === "object" && !(obj instanceof Array) ){
      
      		var deep = {} ;
      		post();
      		post("# list #");
      		for(var prop in obj){
      					post();
      					post(prop , " : " , obj[prop]);
      				if(typeof obj[prop] === "object" && !(obj[prop] instanceof Array) ){
      
      					deep = obj[prop] ;
      					for(var prop2 in deep){
      						post();
      						post("   ", prop2 , " : " , deep[prop2]);
      					}
      				}
      		}
      	}
      }
      
      
      
    • May 31 2014 | 10:12 am
    • Jun 02 2014 | 7:11 pm
      Hi
      I'm not sure what you mean by this, but if it helps, "code" is used for inline pieces of code, like inside a sentence, which "pre" tags are used for chunks of code.
      Sample:
      This is HTML inline using "code" tags.
      "pre" uses 
      and preserves
      multi-line content.
      
      Does that help?
    • Jun 03 2014 | 8:40 pm
      Hi G ! i had problems with selecting content within "pre" tags that contain "code" tags together . will try here .
      example A : the "pre" tags only :
      function() {
        foo = bar;
      }
      function() {
        foo = bar;
      }
      function() {
        foo = bar;
      }
      function() {
        foo = bar;
      }
      
      . example B : "pre" and "code" tags :
      function() {
        foo = bar;
      }
      function() {
        foo = bar;
      }
      function() {
        foo = bar;
      }
      function() {
        foo = bar;
      }
      
      #EDIT yes . i can select only lower portion of my example B