Skip to content

PheryResponse::getScript() not implemented? #52

Description

@holtkamp

When trying to load a script URL like

 $response->getScript('test.js');

The HTML response does not contain ANY reference to 'test.js'. How is this supposed to work?

This works:

$response->include_script($files)

But I would like to be able to use a callback function that is called when the script is loaded, which getScript() provides:

 $response->getScript('jqueryMaskLibrary.js', new PheryFunction('console.log("mask library is loaded, please go ahead and use it");');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions