We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
;(function(m, o, d, u, l, a, r) { if(m[o]) return function f(n) { return function() { r.push(n, arguments); return a } } m[o] = a = { args: (r = []), config: f(1), use: f(2), on: f(3) } m.define = f(0) u = d.createElement("script") u.id = o + "node" u.async = true u.src = "path/to/sea.js" l = d.getElementsByTagName("head")[0] l.appendChild(u) })(window, "seajs", document);
/:\/\/.*\/([^/?#]*)((?=[?#])|$)/
var CACHELENGTH = 10000; function createCache() { var cache, keys = []; return (cache = function( key, value ) { if ( keys.push( key ) > CACHELENGTH ) { delete cache[ keys.shift() ]; } return (cache[ key ] = value); }); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
js引入
seajs异步载入代码
匹配url中path部分的最后一个路径部分
/:\/\/.*\/([^/?#]*)((?=[?#])|$)/
创造一个cache
The text was updated successfully, but these errors were encountered: