{"_id":"ampersand-view-conventions","_rev":"31-746112cbbfafd6ca3cfc00ac6bb834fb","name":"ampersand-view-conventions","description":"Ampersand's view conventions. Also written as a test you can use to test if your module follows the conventions.","dist-tags":{"latest":"1.1.8"},"versions":{"1.0.0":{"name":"ampersand-view-conventions","description":"Ampersand's view conventions. Also written as a test you can use to test if your module follows the conventions.","version":"1.0.0","author":{"name":"'Henrik Joreteg'","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-view-conventions/issues"},"dependencies":{"browserify":"~4.1.10","extend-object":"~1.0.0","is-function":"~1.0.1","run-browser":"~1.3.1","tape":"~2.13.3","tape-run":"~0.1.1"},"homepage":"https://github.com/ampersandjs/ampersand-view-conventions","keywords":["ampersand","view"],"license":"MIT","main":"ampersand-view-conventions.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-view-conventions"},"scripts":{"test":"browserify test/* | tape-run","start":"run-browser test/*"},"_id":"ampersand-view-conventions@1.0.0","dist":{"shasum":"85c2dd7020b4651b551029e053407698ba2cb4ca","tarball":"https://registry.npmjs.org/ampersand-view-conventions/-/ampersand-view-conventions-1.0.0.tgz","integrity":"sha512-N/0Pz/mzYnPSkC9Gl2SPaCS/8EGTyZD2Gw3MvGjb3ejvpp99v/zvhCsItdnbm/D9xwbDS8pci707GMukUWjtSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDevQ/QJastYUv29ClVUB8FBVALqEQnngfFC5uMb+6ucQIgV7JSIU9MdYGnR9l6yYQ5DrXrjJ7Qip5EkcdtiYgdoqw="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"1.0.1":{"name":"ampersand-view-conventions","description":"Ampersand's view conventions. Also written as a test you can use to test if your module follows the conventions.","version":"1.0.1","author":{"name":"'Henrik Joreteg'","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-view-conventions/issues"},"dependencies":{"browserify":"~4.1.10","extend-object":"~1.0.0","is-function":"~1.0.1","run-browser":"~1.3.1","tape":"~2.13.3","tape-run":"~0.1.1"},"homepage":"https://github.com/ampersandjs/ampersand-view-conventions","keywords":["ampersand","view"],"license":"MIT","main":"ampersand-view-conventions.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-view-conventions"},"scripts":{"test":"browserify test/* | tape-run","start":"run-browser test/*"},"_id":"ampersand-view-conventions@1.0.1","dist":{"shasum":"56a30fc500d813c33ae9b5083ab263df13bbcfb8","tarball":"https://registry.npmjs.org/ampersand-view-conventions/-/ampersand-view-conventions-1.0.1.tgz","integrity":"sha512-g/1zoZl7kr8lIaos0rbwlIKrJtHBgVsTLab8NBJAD+mIAtlOQXTXAvIA0U3Ckd53hA2nz96gBxYJuJz+eXi84Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGbUWve9MhK9MzfznRnRo+Zmc68CA5QDWHA9eO8CcUVzAiEA7IZsX+9Vz2wzn/pnpF86bk/VFvkkrkHZlTr337bm3nA="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"1.0.2":{"name":"ampersand-view-conventions","description":"Ampersand's view conventions. Also written as a test you can use to test if your module follows the conventions.","version":"1.0.2","author":{"name":"'Henrik Joreteg'","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-view-conventions/issues"},"dependencies":{"browserify":"~4.1.10","extend-object":"~1.0.0","is-function":"~1.0.1","run-browser":"~1.3.1","tape":"~2.13.3","tape-run":"~0.1.1"},"homepage":"https://github.com/ampersandjs/ampersand-view-conventions","keywords":["ampersand","view"],"license":"MIT","main":"ampersand-view-conventions.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-view-conventions"},"scripts":{"test":"browserify test/* | tape-run","start":"run-browser test/*"},"_id":"ampersand-view-conventions@1.0.2","dist":{"shasum":"545fbd0601d65aa3c7ea0a2b7f90cfdeda0adba2","tarball":"https://registry.npmjs.org/ampersand-view-conventions/-/ampersand-view-conventions-1.0.2.tgz","integrity":"sha512-xeu6CrWnKIEIkzm72wCPTuxOgRcedSoJZ2hA93kzD7G3kUwVUCnXYKsuU2hgMqg3zz2ZT7a1blgVHld/9p0mbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCK5rr74iazqQX1v2IzReXthslfmOLsz0mJYDFJa9v/CAIgeo5M600OH9CV+4v8nnCR0qSH7nnfSa6stzNp4P7MyuY="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"directories":{}},"1.1.0":{"name":"ampersand-view-conventions","description":"Ampersand's view conventions. Also written as a test you can use to test if your module follows the conventions.","version":"1.1.0","author":{"name":"'Henrik Joreteg'","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-view-conventions/issues"},"dependencies":{"browserify":"~4.1.10","extend-object":"~1.0.0","is-function":"~1.0.1","run-browser":"~1.3.1","tape":"~2.13.3","tape-run":"~0.1.1"},"homepage":"https://github.com/ampersandjs/ampersand-view-conventions","keywords":["ampersand","view"],"license":"MIT","main":"ampersand-view-conventions.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-view-conventions"},"scripts":{"test":"browserify test/* | tape-run | tap-spec","start":"run-browser test/*"},"devDependencies":{"tap-spec":"^0.2.0"},"gitHead":"e575976d74f04ad6058fe4a8fda228a1d7e53bf7","_id":"ampersand-view-conventions@1.1.0","_shasum":"424ede001d3cb9cd646e5817d5fa2bc4026b1135","_from":".","_npmVersion":"1.4.15","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"dist":{"shasum":"424ede001d3cb9cd646e5817d5fa2bc4026b1135","tarball":"https://registry.npmjs.org/ampersand-view-conventions/-/ampersand-view-conventions-1.1.0.tgz","integrity":"sha512-+bAAtK3R6jbT+gLk8uhFShNy2R+qWZQZgxXSc4kJTiY7UsFrjn19BZHx978nCsWUyf12IY5sfiBXULJUBWBONA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEBfCDHbdqacXe8u+qW35zHfCHkuiqJbu4YONJtfkeeQAiEAiZwCDo+6b6fI2SMbvoE4YDfQV0CfcpUlOCB5TikgXfY="}]},"directories":{}},"1.1.1":{"name":"ampersand-view-conventions","description":"Ampersand's view conventions. Also written as a test you can use to test if your module follows the conventions.","version":"1.1.1","author":{"name":"'Henrik Joreteg'","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-view-conventions/issues"},"dependencies":{"browserify":"~4.1.10","extend-object":"~1.0.0","is-function":"~1.0.1","run-browser":"~1.3.1","tape":"~2.13.3","tape-run":"~0.1.1"},"devDependencies":{"tap-spec":"^0.2.0"},"homepage":"https://github.com/ampersandjs/ampersand-view-conventions","keywords":["ampersand","view"],"license":"MIT","main":"ampersand-view-conventions.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-view-conventions"},"scripts":{"test":"browserify test/* | tape-run | tap-spec","start":"run-browser test/*"},"gitHead":"9704348c32f2d6b1fc07f4a80a94a334fea3b3de","_id":"ampersand-view-conventions@1.1.1","_shasum":"4d2868193da088b01d8273fc8bc603847fb1e7f6","_from":".","_npmVersion":"1.4.15","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"}],"dist":{"shasum":"4d2868193da088b01d8273fc8bc603847fb1e7f6","tarball":"https://registry.npmjs.org/ampersand-view-conventions/-/ampersand-view-conventions-1.1.1.tgz","integrity":"sha512-hLl8MO1O0rEhBSSgeDh3Xqy1WgenboB4DhBYMp3gUt3axDHtmLNAy/Ngodjh0lwl17JaYymJxVjD1KfSPF75nA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7xghHszWpoKzae4FFweyL30tbvAMEqj9FoG7VhWTscwIgTdLnLAfRYyrMDDZpdVa2hMlcQxQPKG2SozsA2lpjkMg="}]},"directories":{}},"1.1.2":{"name":"ampersand-view-conventions","description":"Ampersand's view conventions. Also written as a test you can use to test if your module follows the conventions.","version":"1.1.2","author":{"name":"'Henrik Joreteg'","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-view-conventions/issues"},"dependencies":{"browserify":"~4.1.10","extend-object":"~1.0.0","is-function":"~1.0.1","run-browser":"~1.3.1","tape":"~2.13.3","tape-run":"~0.1.1"},"devDependencies":{"tap-spec":"^0.2.0"},"homepage":"https://github.com/ampersandjs/ampersand-view-conventions","keywords":["ampersand","view"],"license":"MIT","main":"ampersand-view-conventions.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-view-conventions"},"scripts":{"test":"browserify test/* | tape-run | tap-spec","start":"run-browser test/*"},"gitHead":"a3681d71c9b0a75634580ee3f34971fc13634302","_id":"ampersand-view-conventions@1.1.2","_shasum":"28d138a5ba1bba3248470e359f1300f7d0839c31","_from":".","_npmVersion":"1.4.15","_npmUser":{"name":"henrikjoreteg","email":"henrik@andyet.net"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"}],"dist":{"shasum":"28d138a5ba1bba3248470e359f1300f7d0839c31","tarball":"https://registry.npmjs.org/ampersand-view-conventions/-/ampersand-view-conventions-1.1.2.tgz","integrity":"sha512-abO49ErCqEahGxRB62RKhZaVlErWOfuFQ+aLfZU7hZFGaxmeoFte66Axg+ELAVvC3LtXmeFe2ihiHVe39kKdyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDleRci7UkX4NiGXiX4y66ZFgkgiINgcdikVyJq87h77wIhAMmY+XYl8HZjz+NOeuAMyCx3LEZl8oFYx2uBuboOEQHi"}]},"directories":{}},"1.1.3":{"name":"ampersand-view-conventions","description":"Ampersand's view conventions. Also written as a test you can use to test if your module follows the conventions.","version":"1.1.3","author":{"name":"'Henrik Joreteg'","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-view-conventions/issues"},"dependencies":{"browserify":"~4.1.10","extend-object":"~1.0.0","is-function":"~1.0.1","run-browser":"~1.3.1","tape":"~2.13.3","tape-run":"~0.1.1"},"devDependencies":{"phantomjs":"^1.9.7-15","tap-spec":"^0.2.0"},"homepage":"https://github.com/ampersandjs/ampersand-view-conventions","keywords":["ampersand","view"],"license":"MIT","main":"ampersand-view-conventions.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-view-conventions"},"scripts":{"test":"browserify test/* | tape-run | tap-spec","start":"run-browser test/*"},"gitHead":"713cbf2b0c1589790aca9c5840d847f8ba611278","_id":"ampersand-view-conventions@1.1.3","_shasum":"ed8252b67ba0fea61723ef41543f1603ec2252dc","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"ed8252b67ba0fea61723ef41543f1603ec2252dc","tarball":"https://registry.npmjs.org/ampersand-view-conventions/-/ampersand-view-conventions-1.1.3.tgz","integrity":"sha512-a8VVlMDq5IJgI3tY/sfDwbNl1ko5IO8V2tR/eirz7J0dlvQQb/s+bxei0x6OhSKQ39oXGyibG4FU4nj+hCjDBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAyK/gtvUQi2l1eYIuUBcutQgA7wAA8yDdYSfDugJjO2AiEAoSeXvJeBqjBB0Tl/gDOJKDgQ2hKMjgqFpRwSXDu0Q9w="}]},"directories":{}},"1.1.4":{"name":"ampersand-view-conventions","description":"Ampersand's view conventions. Also written as a test you can use to test if your module follows the conventions.","version":"1.1.4","author":{"name":"'Henrik Joreteg'","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-view-conventions/issues"},"dependencies":{"extend-object":"~1.0.0","is-function":"~1.0.1"},"devDependencies":{"browserify":"~4.1.10","phantomjs":"^1.9.7-15","run-browser":"~1.3.1","tap-spec":"^0.2.0","tape":"~2.13.3","tape-run":"~0.1.1"},"homepage":"https://github.com/ampersandjs/ampersand-view-conventions","keywords":["ampersand","view"],"license":"MIT","main":"ampersand-view-conventions.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-view-conventions"},"scripts":{"test":"browserify test/* | tape-run | tap-spec","start":"run-browser test/*"},"gitHead":"825b023f212e832e35d55e181d80590aa52f227e","_id":"ampersand-view-conventions@1.1.4","_shasum":"92215ee274fb33c9eef290e16d6d99ea16b2b7db","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"92215ee274fb33c9eef290e16d6d99ea16b2b7db","tarball":"https://registry.npmjs.org/ampersand-view-conventions/-/ampersand-view-conventions-1.1.4.tgz","integrity":"sha512-xp0lr7ppcvlbPIUvCpXl/78M2f/zqWUsZcLiTdyq5EvOEsPD5T9rRMzLby/WP0Q1N1M8PAj/wX5pP5rdIt5OSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDy/74KdppB2Xi6bRuSun57k9cQwLdvgbRoqhn/zpcZ4AiEArAQ29adByJv8LssfzXb9ef+Kbnnvnry5VoTXcDF2prc="}]},"directories":{}},"1.1.5":{"name":"ampersand-view-conventions","description":"Ampersand's view conventions. Also written as a test you can use to test if your module follows the conventions.","version":"1.1.5","author":{"name":"'Henrik Joreteg'","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-view-conventions/issues"},"dependencies":{"extend-object":"~1.0.0","is-function":"~1.0.1"},"devDependencies":{"ampersand-input-view":"^3.1.0","ampersand-view":"^7.1.4","browserify":"~4.1.10","function-bind":"^1.0.2","phantomjs":"^1.9.7-15","run-browser":"~1.3.1","tap-spec":"^0.2.0","tape":"~2.13.3","tape-run":"~0.1.1"},"homepage":"https://github.com/ampersandjs/ampersand-view-conventions","keywords":["ampersand","view"],"license":"MIT","main":"ampersand-view-conventions.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-view-conventions"},"scripts":{"test":"browserify test/* | tape-run | tap-spec","start":"run-browser test/*"},"gitHead":"81b0d9b51368c99d7c451d8d03ade20022c54314","_id":"ampersand-view-conventions@1.1.5","_shasum":"c79cae457015f183cb5c30558e6a2e2247d33764","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.38","_npmUser":{"name":"gar","email":"gar@comrade.us"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"c79cae457015f183cb5c30558e6a2e2247d33764","tarball":"https://registry.npmjs.org/ampersand-view-conventions/-/ampersand-view-conventions-1.1.5.tgz","integrity":"sha512-x1JhgvbiqllCuoui3z0IAK/1mtTQ8/vkrSxpsh4rDjeyawFNrvkJchsamC1X6ts6qArFRGcqntMc/DPZ0aLqWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsTPpxb0FOLhvmj5VR4o93EHH6U+jZwbGXOhBEYmavsgIgSQ5ovuVaMQ6KkoJGz4FtEe35oHR1fx2ySL+T4w4sXug="}]},"directories":{}},"1.1.6":{"name":"ampersand-view-conventions","description":"Ampersand's view conventions. Also written as a test you can use to test if your module follows the conventions.","version":"1.1.6","author":{"name":"'Henrik Joreteg'","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-view-conventions/issues"},"dependencies":{"extend-object":"~1.0.0","function-bind":"^1.0.2","is-function":"~1.0.1"},"devDependencies":{"ampersand-input-view":"^3.1.0","ampersand-view":"^7.1.4","browserify":"~4.1.10","phantomjs":"^1.9.7-15","run-browser":"~1.3.1","tap-spec":"^0.2.0","tape":"~2.13.3","tape-run":"~0.1.1"},"homepage":"https://github.com/ampersandjs/ampersand-view-conventions","keywords":["ampersand","view"],"license":"MIT","main":"ampersand-view-conventions.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-view-conventions"},"scripts":{"test":"browserify test/* | tape-run | tap-spec","start":"run-browser test/*"},"gitHead":"61af133b3c2ed3a5cfaf917fd230bd01715a1a6f","_id":"ampersand-view-conventions@1.1.6","_shasum":"0182c853137e8a0ccc52629c034d3a9dfafeca0f","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.38","_npmUser":{"name":"gar","email":"gar@comrade.us"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"0182c853137e8a0ccc52629c034d3a9dfafeca0f","tarball":"https://registry.npmjs.org/ampersand-view-conventions/-/ampersand-view-conventions-1.1.6.tgz","integrity":"sha512-kwFdqCKqTrXmJpySzgxeeUCjRdXr9F9cTKSqkIYehHKsG0TkhLTwFfClUobLDf4yMzx6u4dfg4mPczxz8IDvag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDywkC5zpU04S4arrS94LMVfUL+eMbyAH6pJ2UU92P6bAIhAOyXtjvKCzSoTm0ZtlS/lHjY7ScJk25uHC1zVB+VISp6"}]},"directories":{}},"1.1.7":{"name":"ampersand-view-conventions","description":"Ampersand's view conventions. Also written as a test you can use to test if your module follows the conventions.","version":"1.1.7","author":{"name":"'Henrik Joreteg'","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-view-conventions/issues"},"dependencies":{"extend-object":"~1.0.0","function-bind":"^1.0.2","is-function":"~1.0.1"},"devDependencies":{"ampersand-input-view":"^3.1.0","ampersand-view":"^7.1.4","browserify":"~4.1.10","phantomjs":"^1.9.7-15","run-browser":"~1.3.1","tap-spec":"^0.2.0","tape":"~2.13.3","tape-run":"~0.1.1"},"homepage":"https://github.com/ampersandjs/ampersand-view-conventions","keywords":["ampersand","view"],"license":"MIT","main":"ampersand-view-conventions.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-view-conventions"},"scripts":{"test":"browserify test/* | tape-run | tap-spec","start":"run-browser test/*"},"gitHead":"3951aa89714add961fc5e440ee7490314095b97a","_id":"ampersand-view-conventions@1.1.7","_shasum":"765aec6093c87a59e40a0d2e2e225a1e7bfd26aa","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.38","_npmUser":{"name":"gar","email":"gar@comrade.us"},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"dist":{"shasum":"765aec6093c87a59e40a0d2e2e225a1e7bfd26aa","tarball":"https://registry.npmjs.org/ampersand-view-conventions/-/ampersand-view-conventions-1.1.7.tgz","integrity":"sha512-KUNsDcnNUnBto72rlTP8NbINqGDAclwzsLtYQgx4DyWpDoeriBNoCK8LQ9i+Txb+PIgHav62a+6WVp1dkJoBuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0WuRtIf5WoapHDsh8hsoJqZTABmS+ABMAAnGCvdlosQIhAPOJ9cNSlx6MArAywd7gAsDkYldlnaLbWEd/zjZRpAPc"}]},"directories":{}},"1.1.8":{"name":"ampersand-view-conventions","description":"Ampersand's view conventions. Also written as a test you can use to test if your module follows the conventions.","version":"1.1.8","author":{"name":"'Henrik Joreteg'","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-view-conventions/issues"},"dependencies":{"extend-object":"~1.0.0","function-bind":"^1.0.2","is-function":"~1.0.1"},"devDependencies":{"ampersand-input-view":"^3.1.0","ampersand-view":"^7.1.4","browserify":"~4.1.10","phantomjs":"^1.9.7-15","run-browser":"~1.3.1","tap-spec":"^0.2.0","tape":"~2.13.3","tape-run":"~0.1.1"},"homepage":"https://github.com/ampersandjs/ampersand-view-conventions","keywords":["ampersand","view"],"license":"MIT","main":"ampersand-view-conventions.js","repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-view-conventions.git"},"scripts":{"test":"browserify test/* | tape-run | tap-spec","start":"run-browser test/*","preversion":"git checkout master && git pull && npm ls","publish-patch":"npm run preversion && npm version patch && git push origin master --tags && npm publish","publish-minor":"npm run preversion && npm version minor && git push origin master --tags && npm publish","publish-major":"npm run preversion && npm version major && git push origin master --tags && npm publish"},"gitHead":"dd264035fd3260b1db3dc00c4d3915a121bc59b9","_id":"ampersand-view-conventions@1.1.8","_shasum":"ced291b19eb757ff8142888cb001a877f9248a71","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"gar","email":"gar+npm@danger.computer"},"dist":{"shasum":"ced291b19eb757ff8142888cb001a877f9248a71","tarball":"https://registry.npmjs.org/ampersand-view-conventions/-/ampersand-view-conventions-1.1.8.tgz","integrity":"sha512-VX9ORyWuqp1Q/F9HlmHNtKaqAX9tx/AVbGeZwNS+1ZkFWfzyG0DjWE+zwn5uJHe18NqfHPpoAESwTd/QjL7WDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDJEUyf2MM106B9f2ZHUXlgQ8iQylugk6kKCaD9hfdgkAiEA67x4BwkpRkDKRQoZl9ogAVPJCtPOiAU9/6VpSTu9AmM="}]},"maintainers":[{"name":"henrikjoreteg","email":"henrik@andyet.net"},{"name":"latentflip","email":"phil@latentflip.com"},{"name":"gar","email":"gar@comrade.us"},{"name":"lukekarrys","email":"luke@lukekarrys.com"}],"directories":{}}},"readme":"# ampersand view conventions\n\n\nThe core purpose of a view is to manage the contents, events, and behavior or a single DOM element.\n\nIn ampersand, **a \"view\" doesn't have to actually be an \"ampersand-view\"** at all.\n\nBut in order to maintain the ability to write a collection renderer or to be able to render sub-views it's useful to have a few simple conventions we follow.\n\n**Any** object can be a view if it follows these rules.\n\nFor convenience, compliance can be tested via this npm module.\n\nThe rules are most easily explained by an example, here is a well-commented absolutely bare-minimum `view`.\n\nIn fact, this is the view we use to test the compliance test.\n\n```javascript\nfunction MinimalView(options) {\n    // If given an element as part of an options object\n    // the view *should* store an element as `this.el`.\n    this.el = options.el;\n}\n\n// All views should have a `render` method that creates, replaces, or\n// fills in the `this.el` property.\n// If passed in when created this view may already have a `this.el`.\n// If so, your render would method would populate it, or create a new\n// one and replace it (if already part of the DOM tree).\nMinimalView.prototype.render = function () {\n    if (!this.el) this.el = document.createElement('div');\n    // The important thing is after calling `render` the view should have\n    // a `this.el` that is a *real* DOM element.\n    this.el.textContent = 'hello, awesome developer!';\n};\n\n// It should have a `remove` method that does any tear down you may want\n// to do. Including ideally removing itself from its parent (if reasonable to do so)\nMinimalView.prototype.remove = function () {\n    // you could do it with vanilla JS like this\n    var parent = this.el.parentNode;\n    if (parent) parent.removeChild(this.el);\n\n    // ...or if you're using jQuery you could just do\n    // $(this.el).remove();\n};\n\n// CommonJS module, of course\nmodule.exports = MinimalView;\n```\n\n## install\n\n```\nnpm install ampersand-view-conventions\n```\n\n## example\n\nThe view compliance tests are written for tape. Simply pass in the test instance and your view constructor.\n\nIf there are additional required options for instantiating your view, pass those as a third argument.\n\n```javascript\nvar test = require('tape');\nvar viewCompliance = require('ampersand-view-conventions');\nvar YourView = require('your-awesome-view');\n\n// if there are no additional required arguments, you can just pass in\n// the constructor\nviewCompliance.view(test, YourView);\n\n// if there's additional arguments required to instantiate your view\n// pass those in too. This is just minimal amount required to be able\n// to instantiate an instance of your view.\nviewCompliance.view(test, YourView, {some: 'option object'});\n\n// your other tests\ntest('something', function (t) {\n    t.pass();\n    t.end();\n})\n```\n\n# form fields\n\nIf you have a form field that complies with the [ampersand form field conventions](http://ampersandjs.com/learn/forms#form-input-view-conventions),\nyou can make sure it plays nicely with [ampersand-form-view](https://github.com/ampersandjs/ampersand-form-view).\n\nUse the `formField` method and pass in the test instance, the view constructor, required options and a valid value.\n\n```javascript\nvar test = require('tape');\nvar viewCompliance = require('ampersand-view-conventions');\nvar YourFormFieldView = require('your-wicked-form-field-view');\n\n// you need at least a name for the required options and a valid value\nviewCompliance.formField(test, YourFormFieldView, {name: 'field'}, 'valid value');\n\n// also run the view tests if you like, for good measure\nviewCompliance.view(test, YourFormFieldView, {name: 'field'});\n```\n\nRefer to [minimal-field-view.js](https://github.com/AmpersandJS/ampersand-view-conventions/blob/master/minimal-field-view.js) for an example form field\nthat implements the conventions.\n\n## license\n\nMIT\n","maintainers":[{"email":"daniel.hritzkiv@gmail.com","name":"dhritzkiv"},{"email":"giladp007@gmail.com","name":"pgilad"},{"email":"fyockm@gmail.com","name":"fyockm"},{"email":"henrik@joreteg.com","name":"henrikjoreteg"},{"email":"phil@latentflip.com","name":"latentflip"}],"time":{"modified":"2022-06-13T02:46:20.205Z","created":"2014-06-13T06:02:16.480Z","1.0.0":"2014-06-13T06:02:16.480Z","1.0.1":"2014-06-13T06:12:26.510Z","1.0.2":"2014-06-13T07:07:22.440Z","1.1.0":"2014-06-13T08:00:26.895Z","1.1.1":"2014-06-13T08:02:29.940Z","1.1.2":"2014-06-16T06:27:00.366Z","1.1.3":"2014-09-04T21:28:00.801Z","1.1.4":"2014-09-06T20:00:31.519Z","1.1.5":"2015-04-07T17:59:14.217Z","1.1.6":"2015-04-09T16:10:40.082Z","1.1.7":"2015-04-13T22:09:39.255Z","1.1.8":"2015-06-03T18:08:09.789Z"},"homepage":"https://github.com/ampersandjs/ampersand-view-conventions","keywords":["ampersand","view"],"repository":{"type":"git","url":"git://github.com/ampersandjs/ampersand-view-conventions.git"},"author":{"name":"'Henrik Joreteg'","email":"henrik@andyet.net"},"bugs":{"url":"https://github.com/ampersandjs/ampersand-view-conventions/issues"},"license":"MIT","readmeFilename":"README.md"}