Code Duplication    Length = 7-7 lines in 2 locations

class.FlipPage.php 1 location

@@ 488-494 (lines=7) @@
485
     * @param string $jsFileID the ID of the JS file
486
     * @param boolean $async Can the JS file be loaded asynchronously?
487
     */
488
    public function addWellKnownJS($jsFileID, $async = false)
489
    {
490
        global $jsArray;
491
        $this->setupVars();
492
        $src = $jsArray[$jsFileID][$this->cdn][$this->minified];
493
        $this->addJSByURI($src, $async);
494
    }
495
496
    /**
497
     * Add a CSS file from a set of files known to the framework

Http/Html/class.FlipPage.php 1 location

@@ 480-486 (lines=7) @@
477
     * @param string $jsFileID the ID of the JS file
478
     * @param boolean $async Can the JS file be loaded asynchronously?
479
     */
480
    public function addWellKnownJS($jsFileID, $async = false)
481
    {
482
        global $jsArray;
483
        $this->setupVars();
484
        $src = $jsArray[$jsFileID][$this->cdn][$this->minified];
485
        $this->addJSByURI($src, $async);
486
    }
487
    /**
488
     * Add a CSS file from a set of files known to the framework
489
     *