UNPKG

dreemgl

Version:

DreemGL is an open-source multi-screen prototyping framework for mediated environments, with a visual editor and shader styling for webGL and DALi runtimes written in JavaScript. As a toolkit for gpu-accelerated multiscreen development, DreemGL includes

12 lines (10 loc) 203 B
var tape = require('tape') var gen = require('./') tape('valid', function(t) { t.same(gen('a', 'b'), 'a.b') t.end() }) tape('invalid', function(t) { t.same(gen('a', '-b'), 'a["-b"]') t.end() })