build/tradfri-client.js
function normalizeResourcePath(path) {
    path = path || "";
    while (path.startsWith("/"))
        path = path.slice(1);
    while (path.endsWith("/"))
        path = path.slice(0, -1);
    return path;
}
function normalizeResourcePath(path) {
    path = path || "";
    while (path.startsWith("/"))
        path = path.slice(1);
    while (path.endsWith("/"))
        path = path.slice(0, -1);
    return path;
}
function normalizeResourcePath ( path ) { path = path || "" ; while ( path . startsWith ( "/" ) ) path = path . slice ( 1 ) ; while ( path . endsWith ( "/" ) ) path = path . slice ( 0 , - 1 ) ; return path ; }
Normalizes the path to a resource, so it can be used for storing the observer
Normalizes the path to a resource so it can be used for storing the observer