Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make getUID return a valid HTML id value rather than a plain number

  • Loading branch information...
commit f51449e259239ccd3568b3a30b12dacb910ab756 1 parent 3a11fe7
Jason Johnston authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sources/Util.js
View
2  sources/Util.js
@@ -36,7 +36,7 @@
* @param {Object} obj
*/
getUID: function( obj ) {
- return obj && obj[ '_pieId' ] || ( obj[ '_pieId' ] = ++idNum );
+ return obj && obj[ '_pieId' ] || ( obj[ '_pieId' ] = '_' + ++idNum );
},
Please sign in to comment.
Something went wrong with that request. Please try again.