cobbdb / harmony

Simplify your DFP business logic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't mangle slot names

cobbdb opened this issue · comments

commented

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;