Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
.lmd
js
README.md
index.html
index.lmd-0.0.1-ru_RU.js

README.md

This example covers

  • lmd config string interpolation feature (_.template style)

index.lmd.json

{
    "name": "Config interpolation example: v${version}, ie=<%= ie %>",
    "disclaimer": "lang is a user defined property it is not inheritable",
    "lang": "ru",
    "output": "../index.lmd-<%= version %><%= lang === 'ru' ? '-ru_RU' : '' %>.js",
    "version": "0.0.1",
    "ie": false
}

will be interpolated to

{
    "name": "Config interpolation example: v0.0.1, ie=false",
    "output": "../index.lmd-0.0.1-ru_RU.js",
    "version": "0.0.1",
    "ie": false
}

note that lang and disclaimer are user fields, they will be lost

  • cache - localStorage cache
  • 3-party modules