]> git.r.bdr.sh - rbdr/dotfiles/blame - atom/.apm/registry.npmjs.org/property-accessors/.cache.json
Update vim plugins
[rbdr/dotfiles] / atom / .apm / registry.npmjs.org / property-accessors / .cache.json
CommitLineData
24c7594d 1{"_id":"property-accessors","_rev":"16-8064e625e5c1bdac6ce74c96f8f2e74a","name":"property-accessors","description":"A mixin for declaring property accessors","dist-tags":{"latest":"1.1.3"},"versions":{"0.1.0":{"name":"property-accessors","version":"0.1.0","description":"A mixin for declaring property accessors","main":"lib/property-accessors","scripts":{"test":"grunt test","publish":"grunt"},"repository":{"type":"git","url":"https://github.com/atom/property-accessors"},"keywords":["property","accessors","metaprogramming"],"author":{"name":"Nathan Sobo"},"licenses":[{"type":"MIT","url":"http://github.com/atom/telepath/raw/master/LICENSE.md"}],"bugs":{"url":"https://github.com/atom/property-accessors/issues"},"homepage":"http://atom.github.io/property-accessors/","dependencies":{"mixto":"~0.3.0"},"devDependencies":{"coffee-script":"~1.6.3","jasmine-focused":"~0.12.0","jasmine-waits-for-callback":"~0.1.0","grunt-contrib-coffee":"~0.7.0","grunt-cli":"~0.1.8","grunt":"~0.4.1","grunt-shell":"~0.2.2","grunt-coffeelint":"0.0.6","rimraf":"~2.2.2","json-diff":"~0.3.1","coffee-cache":"~0.2.0"},"_id":"property-accessors@0.1.0","dist":{"shasum":"dfc40ee98cd7ed23f27632b461e683fc02e377e2","tarball":"http://registry.npmjs.org/property-accessors/-/property-accessors-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"nathansobo","email":"nathansobo@gmail.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"}],"directories":{}},"1.0.0":{"name":"property-accessors","version":"1.0.0","description":"A mixin for declaring property accessors","main":"lib/property-accessors","scripts":{"test":"grunt test","publish":"grunt"},"repository":{"type":"git","url":"https://github.com/atom/property-accessors"},"keywords":["property","accessors","metaprogramming"],"author":{"name":"Nathan Sobo"},"licenses":[{"type":"MIT","url":"http://github.com/atom/telepath/raw/master/LICENSE.md"}],"bugs":{"url":"https://github.com/atom/property-accessors/issues"},"homepage":"http://atom.github.io/property-accessors/","dependencies":{"mixto":"1.x"},"devDependencies":{"jasmine-focused":"~0.19.0","grunt-contrib-coffee":"~0.7.0","grunt-cli":"~0.1.8","grunt":"~0.4.1","grunt-shell":"~0.2.2","grunt-coffeelint":"0.0.6","rimraf":"~2.2.2"},"_id":"property-accessors@1.0.0","dist":{"shasum":"ffaf6f72c437a329b334f1b53da3419f5464c384","tarball":"http://registry.npmjs.org/property-accessors/-/property-accessors-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"}],"directories":{}},"1.1.0":{"name":"property-accessors","version":"1.1.0","description":"A mixin for declaring property accessors","main":"lib/property-accessors","scripts":{"test":"grunt test","publish":"grunt"},"repository":{"type":"git","url":"https://github.com/atom/property-accessors"},"keywords":["property","accessors","metaprogramming"],"author":{"name":"Nathan Sobo"},"licenses":[{"type":"MIT","url":"http://github.com/atom/telepath/raw/master/LICENSE.md"}],"bugs":{"url":"https://github.com/atom/property-accessors/issues"},"homepage":"http://atom.github.io/property-accessors/","dependencies":{"mixto":"1.x","harmony-collections":"git+https://github.com/Benvie/harmony-collections.git#e81b4b808359e2def9eeeabfdee69c2989e1fe96"},"devDependencies":{"jasmine-focused":"1.x","grunt-contrib-coffee":"~0.7.0","grunt-cli":"~0.1.8","grunt":"~0.4.1","grunt-shell":"~0.2.2","grunt-coffeelint":"0.0.6","rimraf":"~2.2.2"},"_id":"property-accessors@1.1.0","dist":{"shasum":"ce1672797473eef1384d95a054a630ebcd539fbf","tarball":"http://registry.npmjs.org/property-accessors/-/property-accessors-1.1.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"}],"directories":{}},"1.1.1":{"name":"property-accessors","version":"1.1.1","description":"A mixin for declaring property accessors","main":"lib/property-accessors","scripts":{"test":"grunt test","publish":"grunt"},"repository":{"type":"git","url":"https://github.com/atom/property-accessors"},"keywords":["property","accessors","metaprogramming"],"author":{"name":"Nathan Sobo"},"licenses":[{"type":"MIT","url":"http://github.com/atom/telepath/raw/master/LICENSE.md"}],"bugs":{"url":"https://github.com/atom/property-accessors/issues"},"homepage":"http://atom.github.io/property-accessors/","dependencies":{"mixto":"1.x","es6-weak-map":"^0.1.2"},"devDependencies":{"jasmine-focused":"1.x","grunt-contrib-coffee":"~0.7.0","grunt-cli":"~0.1.8","grunt":"~0.4.1","grunt-shell":"~0.2.2","grunt-coffeelint":"0.0.6","rimraf":"~2.2.2"},"gitHead":"e88b27f7972e4439b4c243d1755fde520374b55d","_id":"property-accessors@1.1.1","_shasum":"47de50880e086b035f1bfcf7cb0a10daab06091b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nathansobo","email":"nathan@github.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"benogle","email":"ogle.ben@gmail.com"}],"dist":{"shasum":"47de50880e086b035f1bfcf7cb0a10daab06091b","tarball":"http://registry.npmjs.org/property-accessors/-/property-accessors-1.1.1.tgz"},"directories":{}},"1.1.2":{"name":"property-accessors","version":"1.1.2","description":"A mixin for declaring property accessors","main":"lib/property-accessors","scripts":{"test":"grunt test","publish":"grunt"},"repository":{"type":"git","url":"https://github.com/atom/property-accessors"},"keywords":["property","accessors","metaprogramming"],"author":{"name":"Nathan Sobo"},"licenses":[{"type":"MIT","url":"http://github.com/atom/telepath/raw/master/LICENSE.md"}],"bugs":{"url":"https://github.com/atom/property-accessors/issues"},"homepage":"http://atom.github.io/property-accessors/","dependencies":{"mixto":"1.x","es6-weak-map":"^0.1.2"},"devDependencies":{"jasmine-focused":"1.x","grunt-contrib-coffee":"~0.7.0","grunt-cli":"~0.1.8","grunt":"~0.4.1","grunt-shell":"~0.2.2","grunt-coffeelint":"0.0.6","rimraf":"~2.2.2"},"gitHead":"80b46d68b16f72e8e3ea26e27cc4d36f5d9bfe55","_id":"property-accessors@1.1.2","_shasum":"69c16e31ef1bb6ae16ebd01f694fe6b89a3f73be","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nathansobo","email":"nathan@github.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"benogle","email":"ogle.ben@gmail.com"}],"dist":{"shasum":"69c16e31ef1bb6ae16ebd01f694fe6b89a3f73be","tarball":"http://registry.npmjs.org/property-accessors/-/property-accessors-1.1.2.tgz"},"directories":{}},"1.1.3":{"name":"property-accessors","version":"1.1.3","description":"A mixin for declaring property accessors","main":"lib/property-accessors","scripts":{"test":"grunt test","publish":"grunt"},"repository":{"type":"git","url":"https://github.com/atom/property-accessors"},"keywords":["property","accessors","metaprogramming"],"author":{"name":"Nathan Sobo"},"licenses":[{"type":"MIT","url":"http://github.com/atom/telepath/raw/master/LICENSE.md"}],"bugs":{"url":"https://github.com/atom/property-accessors/issues"},"homepage":"http://atom.github.io/property-accessors/","dependencies":{"mixto":"1.x","es6-weak-map":"^0.1.2"},"devDependencies":{"jasmine-focused":"1.x","grunt-contrib-coffee":"~0.7.0","grunt-cli":"~0.1.8","grunt":"~0.4.1","grunt-shell":"~0.2.2","grunt-coffeelint":"0.0.6","rimraf":"~2.2.2"},"gitHead":"c90f096dfc8f589ecb8186cadfbfcf97dc5f5cc6","_id":"property-accessors@1.1.3","_shasum":"1dde84024631865909ef30703365680c5f928b15","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},"maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"benogle","email":"ogle.ben@gmail.com"}],"dist":{"shasum":"1dde84024631865909ef30703365680c5f928b15","tarball":"http://registry.npmjs.org/property-accessors/-/property-accessors-1.1.3.tgz"},"directories":{}}},"readme":"# Property Accessors Mixin [![Build Status](https://travis-ci.org/atom/property-accessors.svg?branch=master)](https://travis-ci.org/atom/property-accessors)\n\nA mixin for defining dynamic properties.\n\n## Basic Usage\n\nTo define a basic property accessor, use the `accessor` declaration. If you've\nincluded the mixin into a class, you define a prototype property by calling\n`@::accessor` on its prototype.\n\n```coffee\nPropertyAccessors = require 'property-accessors'\n\nclass Vehicle\n PropertyAccessors.includeInto(this)\n\n @::accessor 'type',\n get: ->\n switch @doorCount\n when 4 then 'sedan' # i know this isn't strictly accurate\n when 2 then 'coupe'\n set: (type) ->\n switch type\n when 'sedan' then @doorCount = 4\n when 'coupe' then @doorCount = 2\n\ncar = new Vehicle\ncar.doorCount = 2\ncar.type # => 'coupe'\n```\n\nYou can define a class-level property by *extending* with the mixin rather than\nincluding it (which extends the prototype).\n\n```coffee\nclass Vehicle\n PropertyAccessors.extend(this)\n\n @accessor 'vehicleCount', get: -> @allVehicles.length \n```\n\nYou can just pass a single function if you only want to define a getter:\n\n```coffee\nclass Vehicle\n PropertyAccessors.includeInto(this)\n\n @::accessor 'type', -> # ...\n```\n\n## Fancy Usage\n\n### Lazy Accessors\n\nLazy accessors call a function the first time a property is accessed. You are\nstill free to overwrite this value by assigning the property explicitly.\n\n```coffee\nclass ScienceLab\n PropertyAccessors.includeInto(this)\n\n @::lazyAccessor 'crazyComputation', -> computeCrazyComputation()\n```\n\n### Advised Accessors\n\nAdvised accessors allow you to call code before the reading or writing of a\nproperty value. If a property is being assigned, your advice function is called\nwith the value being assigned and the old value.\n\n```coffee\nclass SpyStation\n @advisedAccessor 'online',\n get: -> @ensureAllSystemsNominal()\n set: -> @ensureUserIsSpy()\n\nstation = new SpyStation\nstation.online = true # ensures user is a spy, then assigns true\nstation.online # ensures all systems are nominal, then returns true\n```\n","maintainers":[{"name":"nathansobo","email":"nathansobo@gmail.com"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"benogle","email":"ogle.ben@gmail.com"}],"time":{"modified":"2015-02-13T17:23:15.165Z","created":"2013-12-07T05:11:48.077Z","0.1.0":"2013-12-07T05:11:49.082Z","1.0.0":"2014-01-16T23:38:42.052Z","1.1.0":"2014-03-18T16:54:33.364Z","1.1.1":"2015-02-11T16:33:22.256Z","1.1.2":"2015-02-11T16:41:05.300Z","1.1.3":"2015-02-13T17:23:15.165Z"},"author":{"name":"Nathan Sobo"},"repository":{"type":"git","url":"https://github.com/atom/property-accessors"},"readmeFilename":"README.md","homepage":"http://atom.github.io/property-accessors/","keywords":["property","accessors","metaprogramming"],"bugs":{"url":"https://github.com/atom/property-accessors/issues"},"_attachments":{},"_etag":"\"BJDECPVJZJRVIYVM7A8X5OTE\""}