简体   繁体   English

Javascript / Ember语法'%@'

[英]Javascript/Ember Syntax '%@'

Anyone know what this does or what this is? 有人知道这是什么吗? It looks very strange to me. 对我来说看起来很奇怪。 In the context of Ember.js, it is being used in the REST adapter like so: 在Ember.js的上下文中,它正在REST适配器中使用,如下所示:

nested/%@/model, almost like a wildcard for the model type maybe? nested /%@ / model,几乎像是模型类型的通配符?

Here is a URL where it is referenced: https://github.com/emberjs/data/issues/775 这是引用它的URL: https : //github.com/emberjs/data/issues/775

I can't seem to find anything in the documentation about it, but have seen it used more than once. 我似乎无法在文档中找到任何有关它的内容,但是看到它使用了不止一次。

Ember string interpolation. 灰烬字符串插值。 Look here . 这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM