flatiron/plates — Issue #26: class is reserved
Author: tauren
Created: 2012-02-08 00:07:21+00:00
State: open

Plates uses the reserved word `class` as a method of Plates.Map. This works but it causes linters to throw warnings. For instance, JSHint:

Expected an identifier and instead saw 'class' (a reserved word). "this.mapping.class('first').to('firstName');"

Perhaps it would be better to rename the method? For instance:

Plates.Map.clazz
Plates.Map.className