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.

51 lines (42 loc) 827 B
define(function () { var LAZO = {}, isServer = true, isClient = true; try { window; isServer = false; } catch (err) { isClient = false; } LAZO.app = { isServer: isServer, isClient: isClient }; LAZO.logger = { debug: function () { }, error: function () { }, log: function () { }, warn: function () { }, info: function () { } }; LAZO.config = { get: function (key) { return this[key]; }, set: function (key, value) { this[key] = value; } }; LAZO.files = { components: [], models: [], appViews: [] }; LAZO.FILE_REPO_PATH = './test'; return LAZO; });