1
Vote

Error in the endsWith Function

description

Error in the endsWith Function

openXml.util.endsWith = function (str, mat) {
        var m = str.match(mat + "$");
        if (m) {
            return m.join('') === mat;
        }
        return false;
    };
Unhandled exception at line 1370, column 13 in http://<server>/<site>/Scripts/openxml.js

0x800a138f - JavaScript runtime error: Unable to get property 'match' of undefined or null reference

comments