In the mapping example code, it's necessary to renamespace the map variable. This seems to happen because you redeclare the Drupal.mapping namespace later in the main js file after doing your initial namespace. I propose moving the namespaces at the end of the main mapping.js file.

CommentFileSizeAuthor
#1 1414936-js-namespace.patch1.56 KBBrandonian

Comments

Brandonian’s picture

Status: Active » Needs review
StatusFileSize
new1.56 KB

And the attached patch. I've also taken the liberty of removing the bandaid fix in the mapping example js.

mac_weber’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.