cobbdb / harmony

Simplify your DFP business logic.
MIT License
25 stars 5 forks source link

Don't mangle slot names #58

Closed cobbdb closed 8 years ago

cobbdb commented 8 years ago

Slot ids should be mangled always, but slot names should not. If the user wants to use a duplicate name, then they are responsible for grouping appropriately.

slot AD01, id h-ad-1
slot AD02, id h-ad-2
slot AD01, id h-ad-3
harmony.slot('AD01').id === 'h-ad-3';
harmony.slot('AD01-h3').id === undefined;