ember-functional-validation:一个功能验证库,用于为Ember JS应用构建应用验证器

时间:2021-05-02 05:36:17
【文件属性】:
文件名称:ember-functional-validation:一个功能验证库,用于为Ember JS应用构建应用验证器
文件大小:35KB
文件格式:ZIP
更新时间:2021-05-02 05:36:17
CoffeeScript 灰烬功能验证 一种用于emberjs的对象验证的功能方法。 就像Dockyard的ember验证库一样,不同之处在于,它构建了一堆函数,而不是宣传一堆可以在所有Ember.Objects上工作的对象mixins,但实际上仅在容器上工作。 如何 假设您有一个注释模型在某个地方声明您的验证功能 # app/validators/comment import FunctionalValidation from ' ember-functional-validation ' commentValidator = FunctionalValidation . create postName : presence : true opEmail : format : / \w + @ \w + \. com / length : min : 5 cont
【文件预览】:
ember-functional-validation-master
----.jshintrc(518B)
----.gitignore(247B)
----app()
--------.gitkeep(0B)
----package.json(1KB)
----LICENSE.md(1KB)
----.bowerrc(60B)
----.travis.yml(265B)
----index.js(99B)
----addon()
--------.gitkeep(0B)
--------validators()
--------utils()
--------index.coffee(644B)
----testem.json(170B)
----README.md(10KB)
----vendor()
--------.gitkeep(0B)
----tests()
--------.jshintrc(814B)
--------acceptance()
--------dummy()
--------unit()
--------helpers()
--------index.html(960B)
--------test-helper.js(112B)
----config()
--------environment.js(90B)
----.ember-cli(280B)
----ember-cli-build.js(501B)
----.npmignore(135B)
----bower.json(508B)
----.editorconfig(543B)

网友评论