Zeig

Results 8 comments of Zeig

hi, I got the same question. Is there any update?

> > hi, I got the same question. Is there any update? > > Hi, > Its been so long, as I remember the fault was mine and not a...

请问大佬一个问题,我写的针对业务的模版中有vue变量({{obj.name}}这种形式)在html中,但是初始化之后的代码中,貌似被当作 handlebars 的 mustaches 表达式,因为找不到对应的变量就直接被忽略了,请问有什么办法能阻止这种问题吗?我目前的想法是给handlebars的变量替换加个范围,然后让某些文件中的mustaches写法的不受影响,但是找不到如何下手,求大佬指点一下

@dwqs 这样是可以的,谢谢大佬!

我觉得好像可以诶,按照vue cli中用的[download-git-repo](https://github.com/flipxfx/download-git-repo/blob/master/index.js)的源码写正确的初始化命令就行了吧 @choukin ,不知道你是不是想问这个问题

@cikeyin 按照我的理解,这两个地方执行栈都没问题。一个是没有用尾调优化的栈,一个是使用了尾调用优化的栈(现在实际在chrome下跑也暂时还看不到尾调用优化的结果)。可能之前博主在写执行上下文栈的时候更多的重心是在执行上下文栈这块,现在写递归就顺带写了执行栈的优化。

大佬,MutaionObserver 有个拼写错误哈~

首先感谢大佬分享,然后问一个问题,希望大佬能解答一下,为什么这一块要加这一句 ``` (function(){ var root = this; function watch(obj, name, func){ var value = obj[name]; Object.defineProperty(obj, name, { get: function() { return value; }, set: function(newValue) { value = newValue;...