Skip to content

Query parameter parsing for nbl.plus #7

@msword2image

Description

@msword2image

In https://github.com/berklee/nbl/blob/master/nbl.plus.js

you have following regex: t = u[0].match(/.([cjs]{2,4})$|?.+/i); t = (t) ? t[1] : "i";

This doesn't produce good result when i had this.nbl.l(["http://itstatic.blob.core.windows.net/davatakiplerimcss/davaTakiplerimHomePageCombinedCSS.css?version=20"]);

I have changed it to something like below and it worked

.match(/.([cjs]{2,4})(|?.+)$/i)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions