Git Product home page Git Product logo

Comments (2)

shepherdwind avatar shepherdwind commented on July 2, 2024

jsonify和velocityjs本身一样,可以传递第二个参数,context和第三个参数macros,这里面的属性,如果是函数,就不会执行。
你可以给stringUtil赋值为一个空函数。

jsonify最近我才把测试用例加上,用例还不是很完整,后面我打算把这个功能独立出来做。
在 2013-3-10,上午12:20,Haoliang Gao [email protected] 写道:

比如 context 中有 stringUtil,但是输出的 json 最好不包括这个。


Reply to this email directly or view it on GitHub.

from velocity.js.

popomore avatar popomore commented on July 2, 2024

了解,那我先这么用吧,跟输出的 json 做个 merge

from velocity.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.