src/Modernizr.php
public static function buildJsCode($cookieExtra = '')
    {
        $js  = self::buildJs();
        $js .= self::buildConvertJs(self::KEY, $cookieExtra, true);

        return $js;
    }
public static function buildJsCode($cookieExtra = '')
    {
        $js  = self::buildJs();
        $js .= self::buildConvertJs(self::KEY, $cookieExtra, true);

        return $js;
    }
public static function buildJsCode ( $ cookieExtra = '' ) { $ js = self :: buildJs ( ) ; $ js .= self :: buildConvertJs ( self :: KEY , $ cookieExtra , true ) ; return $ js ; }
builds the complete javascript code to output modernizr.js, new checkes and
to write the detection result into the session

@param string $cookieExtra

@return string
builds the complete javascript code to output modernizr . js new checkes and to write the detection result into the session