Site debug, testing

C74 Ginger's icon

Don't mind me... just testing a few things on the site.

Max Patch
Copy patch and select New From Clipboard in Max.

Test max patcher:

C74 Ginger's icon
Max Patch
Copy patch and select New From Clipboard in Max.
C74 Ginger's icon
function() {
  foo = bar;
}

do.while's icon
do.while's icon
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 ?

do.while's icon
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]);
                    }
                }
        }
    }
}


do.while's icon
C74 Ginger's icon

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?

do.while's icon

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