UNPKG

lazo-next

Version:

A client-server web framework built on Node.js that allows front-end developers to easily create a 100% SEO compliant, component MVC structured web application with an optimized first page load.

20 lines (14 loc) 346 B
define(function () { 'use strict'; var regexes = [/\/server(\/)?/, /\/node_modules(\/)?/]; return function (path) { var i = 0; var len = regexes.length; for (i; i < len; i++) { if (path.match(regexes[i])) { return true; } } return false; }; });