Don't need dummy entries at the moment (and we can use regexp for this anyway).
This commit is contained in:
parent
49e5ad3e51
commit
a7e86d9042
@ -36,7 +36,6 @@ Embedding =
|
|||||||
services: (link) ->
|
services: (link) ->
|
||||||
{href} = link
|
{href} = link
|
||||||
for type in Embedding.ordered_types when match = type.regExp.exec href
|
for type in Embedding.ordered_types when match = type.regExp.exec href
|
||||||
return if type.dummy
|
|
||||||
return {key: type.key, uid: match[1], options: match[2], link}
|
return {key: type.key, uid: match[1], options: match[2], link}
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user