We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21fdbaa commit 19c9ca0Copy full SHA for 19c9ca0
view/view.js
@@ -44,7 +44,7 @@ steal("can/util")
44
},
45
// Convert a path like string into something that's ok for an `element` ID.
46
toId : function( src ) {
47
- return can.map(src.split(/\/|\./g), function( part ) {
+ return can.map(src.toString().split(/\/|\./g), function( part ) {
48
// Dont include empty strings in toId functions
49
if ( part ) {
50
return part;
0 commit comments