Conversation
Notices
-
Does any JSer know what this means? var sheet = styleTag.sheet ? styleTag.sheet : styleTag.styleSheet;
-
@jdagrapesy If it's anything like it is in Java, it's the equivalent of "if styleTag.sheet var sheet = styleTag.sheet; else var sheet = styleTag.styleSheet;"
Saturday, 31-Mar-12 14:58:22 UTC from StatusNet Android-
@redenchilada what's that do/cause though? :P
-
@jdamangoesy It will initialize a variable (which could be anything) named sheet. If styleTag.sheet is defined, it will set sheet equal to styleTag.sheet; otherwise, it will set sheet equal to styleTag.styleSheet.
Saturday, 31-Mar-12 15:04:59 UTC from StatusNet Android
-
-
-
@jdakiwiy Basically a one-line if-else statement for assigning variables.
Saturday, 31-Mar-12 15:00:01 UTC from StatusNet Android-
@redenchilada Oh I don't mena the variable, I was just wondering if someone could understand that 'sheet' stuff, im not sure what it wants there, trying to change css with js
-
@jdagrapesy ...How much JS do you know? I might be able to help you out a bit with the process.
Saturday, 31-Mar-12 15:07:01 UTC from StatusNet Android
-
-
-