edifice-facade
Advanced tools
Comparing version 0.3.1 to 0.3.3
@@ -1,1 +0,1 @@ | ||
{"filter":false,"title":"facade.js","tooltip":"/lib/facade.js","undoManager":{"mark":100,"position":100,"stack":[[{"start":{"row":10,"column":60},"end":{"row":10,"column":61},"action":"insert","lines":["e"],"id":3740}],[{"start":{"row":10,"column":61},"end":{"row":10,"column":62},"action":"insert","lines":["r"],"id":3741}],[{"start":{"row":10,"column":62},"end":{"row":10,"column":63},"action":"insert","lines":["'"],"id":3742}],[{"start":{"row":10,"column":63},"end":{"row":10,"column":64},"action":"insert","lines":["s"],"id":3743}],[{"start":{"row":10,"column":64},"end":{"row":10,"column":65},"action":"insert","lines":[" "],"id":3744}],[{"start":{"row":10,"column":65},"end":{"row":10,"column":66},"action":"insert","lines":["a"],"id":3745}],[{"start":{"row":10,"column":66},"end":{"row":10,"column":67},"action":"insert","lines":["l"],"id":3746}],[{"start":{"row":10,"column":67},"end":{"row":10,"column":68},"action":"insert","lines":["w"],"id":3747}],[{"start":{"row":10,"column":68},"end":{"row":10,"column":69},"action":"insert","lines":["a"],"id":3748}],[{"start":{"row":10,"column":69},"end":{"row":10,"column":70},"action":"insert","lines":["y"],"id":3749}],[{"start":{"row":10,"column":70},"end":{"row":10,"column":71},"action":"insert","lines":["s"],"id":3750}],[{"start":{"row":10,"column":71},"end":{"row":10,"column":72},"action":"insert","lines":[" "],"id":3751}],[{"start":{"row":10,"column":72},"end":{"row":10,"column":73},"action":"insert","lines":["a"],"id":3752}],[{"start":{"row":10,"column":73},"end":{"row":10,"column":74},"action":"insert","lines":["r"],"id":3753}],[{"start":{"row":10,"column":74},"end":{"row":10,"column":75},"action":"insert","lines":["e"],"id":3754}],[{"start":{"row":10,"column":75},"end":{"row":10,"column":76},"action":"insert","lines":["."],"id":3755}],[{"start":{"row":11,"column":21},"end":{"row":12,"column":0},"action":"insert","lines":["",""],"id":3756},{"start":{"row":12,"column":0},"end":{"row":12,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":12,"column":2},"end":{"row":12,"column":4},"action":"remove","lines":[" "],"id":3757}],[{"start":{"row":12,"column":0},"end":{"row":12,"column":2},"action":"remove","lines":[" "],"id":3758}],[{"start":{"row":10,"column":7},"end":{"row":10,"column":41},"action":"remove","lines":["This relies on the core being sync"],"id":3759},{"start":{"row":10,"column":7},"end":{"row":10,"column":8},"action":"insert","lines":["S"]}],[{"start":{"row":10,"column":8},"end":{"row":10,"column":9},"action":"insert","lines":["t"],"id":3760}],[{"start":{"row":10,"column":9},"end":{"row":10,"column":10},"action":"insert","lines":["o"],"id":3761}],[{"start":{"row":10,"column":10},"end":{"row":10,"column":11},"action":"insert","lines":["p"],"id":3762}],[{"start":{"row":10,"column":11},"end":{"row":10,"column":12},"action":"insert","lines":[" "],"id":3763}],[{"start":{"row":10,"column":12},"end":{"row":10,"column":13},"action":"insert","lines":["f"],"id":3764}],[{"start":{"row":10,"column":13},"end":{"row":10,"column":14},"action":"insert","lines":["a"],"id":3765}],[{"start":{"row":10,"column":14},"end":{"row":10,"column":15},"action":"insert","lines":["c"],"id":3766}],[{"start":{"row":10,"column":15},"end":{"row":10,"column":16},"action":"insert","lines":["a"],"id":3767}],[{"start":{"row":10,"column":16},"end":{"row":10,"column":17},"action":"insert","lines":["d"],"id":3768}],[{"start":{"row":10,"column":17},"end":{"row":10,"column":18},"action":"insert","lines":["e"],"id":3769}],[{"start":{"row":10,"column":18},"end":{"row":10,"column":19},"action":"insert","lines":[" "],"id":3770}],[{"start":{"row":10,"column":19},"end":{"row":10,"column":20},"action":"insert","lines":["f"],"id":3771}],[{"start":{"row":10,"column":20},"end":{"row":10,"column":21},"action":"insert","lines":["r"],"id":3772}],[{"start":{"row":10,"column":21},"end":{"row":10,"column":22},"action":"insert","lines":["o"],"id":3773}],[{"start":{"row":10,"column":22},"end":{"row":10,"column":23},"action":"insert","lines":["m"],"id":3774}],[{"start":{"row":10,"column":23},"end":{"row":10,"column":24},"action":"insert","lines":[" "],"id":3775}],[{"start":{"row":10,"column":24},"end":{"row":10,"column":25},"action":"insert","lines":["f"],"id":3776}],[{"start":{"row":10,"column":25},"end":{"row":10,"column":26},"action":"insert","lines":["i"],"id":3777}],[{"start":{"row":10,"column":26},"end":{"row":10,"column":27},"action":"insert","lines":["r"],"id":3778}],[{"start":{"row":10,"column":27},"end":{"row":10,"column":28},"action":"insert","lines":["i"],"id":3779}],[{"start":{"row":10,"column":28},"end":{"row":10,"column":29},"action":"insert","lines":["n"],"id":3780}],[{"start":{"row":10,"column":29},"end":{"row":10,"column":30},"action":"insert","lines":["g"],"id":3781}],[{"start":{"row":10,"column":30},"end":{"row":10,"column":31},"action":"insert","lines":[" "],"id":3782}],[{"start":{"row":10,"column":31},"end":{"row":10,"column":32},"action":"insert","lines":["o"],"id":3783}],[{"start":{"row":10,"column":32},"end":{"row":10,"column":33},"action":"insert","lines":["w"],"id":3784}],[{"start":{"row":10,"column":33},"end":{"row":10,"column":34},"action":"insert","lines":["n"],"id":3785}],[{"start":{"row":10,"column":34},"end":{"row":10,"column":35},"action":"insert","lines":[" "],"id":3786}],[{"start":{"row":10,"column":35},"end":{"row":10,"column":36},"action":"insert","lines":["e"],"id":3787}],[{"start":{"row":10,"column":36},"end":{"row":10,"column":37},"action":"insert","lines":["v"],"id":3788}],[{"start":{"row":10,"column":37},"end":{"row":10,"column":38},"action":"insert","lines":["e"],"id":3789}],[{"start":{"row":10,"column":38},"end":{"row":10,"column":39},"action":"insert","lines":["n"],"id":3790}],[{"start":{"row":10,"column":39},"end":{"row":10,"column":40},"action":"insert","lines":["t"],"id":3791}],[{"start":{"row":10,"column":40},"end":{"row":10,"column":41},"action":"insert","lines":["s"],"id":3792}],[{"start":{"row":10,"column":42},"end":{"row":10,"column":43},"action":"insert","lines":[" "],"id":3793}],[{"start":{"row":10,"column":43},"end":{"row":10,"column":44},"action":"insert","lines":["T"],"id":3794}],[{"start":{"row":10,"column":44},"end":{"row":10,"column":45},"action":"insert","lines":["h"],"id":3795}],[{"start":{"row":10,"column":45},"end":{"row":10,"column":46},"action":"insert","lines":["i"],"id":3796}],[{"start":{"row":10,"column":46},"end":{"row":10,"column":47},"action":"insert","lines":["s"],"id":3797}],[{"start":{"row":10,"column":47},"end":{"row":10,"column":48},"action":"insert","lines":[" "],"id":3798}],[{"start":{"row":10,"column":48},"end":{"row":10,"column":49},"action":"insert","lines":["r"],"id":3799}],[{"start":{"row":10,"column":49},"end":{"row":10,"column":50},"action":"insert","lines":["e"],"id":3800}],[{"start":{"row":10,"column":50},"end":{"row":10,"column":51},"action":"insert","lines":["l"],"id":3801}],[{"start":{"row":10,"column":51},"end":{"row":10,"column":52},"action":"insert","lines":["i"],"id":3802}],[{"start":{"row":10,"column":52},"end":{"row":10,"column":53},"action":"insert","lines":["e"],"id":3803}],[{"start":{"row":10,"column":53},"end":{"row":10,"column":54},"action":"insert","lines":["s"],"id":3804}],[{"start":{"row":10,"column":54},"end":{"row":10,"column":55},"action":"insert","lines":[" "],"id":3805}],[{"start":{"row":10,"column":55},"end":{"row":10,"column":56},"action":"insert","lines":["o"],"id":3806}],[{"start":{"row":10,"column":56},"end":{"row":10,"column":57},"action":"insert","lines":["n"],"id":3807}],[{"start":{"row":10,"column":57},"end":{"row":10,"column":58},"action":"insert","lines":[" "],"id":3808}],[{"start":{"row":10,"column":58},"end":{"row":10,"column":59},"action":"insert","lines":["c"],"id":3809}],[{"start":{"row":10,"column":59},"end":{"row":10,"column":60},"action":"insert","lines":["o"],"id":3810}],[{"start":{"row":10,"column":60},"end":{"row":10,"column":61},"action":"insert","lines":["r"],"id":3811}],[{"start":{"row":10,"column":61},"end":{"row":10,"column":62},"action":"insert","lines":["e"],"id":3812}],[{"start":{"row":10,"column":62},"end":{"row":10,"column":63},"action":"insert","lines":[" "],"id":3813}],[{"start":{"row":10,"column":63},"end":{"row":10,"column":64},"action":"insert","lines":["b"],"id":3814}],[{"start":{"row":10,"column":64},"end":{"row":10,"column":65},"action":"insert","lines":["e"],"id":3815}],[{"start":{"row":10,"column":65},"end":{"row":10,"column":66},"action":"insert","lines":["i"],"id":3816}],[{"start":{"row":10,"column":66},"end":{"row":10,"column":67},"action":"insert","lines":["n"],"id":3817}],[{"start":{"row":10,"column":67},"end":{"row":10,"column":68},"action":"insert","lines":["g"],"id":3818}],[{"start":{"row":10,"column":68},"end":{"row":10,"column":69},"action":"insert","lines":[" "],"id":3819}],[{"start":{"row":10,"column":69},"end":{"row":10,"column":70},"action":"insert","lines":["s"],"id":3820}],[{"start":{"row":10,"column":70},"end":{"row":10,"column":71},"action":"insert","lines":["y"],"id":3821}],[{"start":{"row":10,"column":71},"end":{"row":10,"column":72},"action":"insert","lines":["n"],"id":3822}],[{"start":{"row":10,"column":72},"end":{"row":10,"column":73},"action":"insert","lines":["c"],"id":3823}],[{"start":{"row":10,"column":73},"end":{"row":10,"column":74},"action":"insert","lines":["."],"id":3824}],[{"start":{"row":10,"column":74},"end":{"row":10,"column":75},"action":"remove","lines":[" "],"id":3825}],[{"start":{"row":10,"column":74},"end":{"row":11,"column":0},"action":"insert","lines":["",""],"id":3826},{"start":{"row":11,"column":0},"end":{"row":11,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":11,"column":4},"end":{"row":11,"column":5},"action":"insert","lines":["/"],"id":3827}],[{"start":{"row":11,"column":5},"end":{"row":11,"column":6},"action":"insert","lines":["/"],"id":3828}],[{"start":{"row":11,"column":6},"end":{"row":11,"column":7},"action":"insert","lines":[" "],"id":3829}],[{"start":{"row":10,"column":62},"end":{"row":10,"column":63},"action":"insert","lines":[" "],"id":3830}],[{"start":{"row":10,"column":63},"end":{"row":10,"column":64},"action":"insert","lines":["e"],"id":3831}],[{"start":{"row":10,"column":64},"end":{"row":10,"column":65},"action":"insert","lines":["v"],"id":3832}],[{"start":{"row":10,"column":65},"end":{"row":10,"column":66},"action":"insert","lines":["e"],"id":3833}],[{"start":{"row":10,"column":66},"end":{"row":10,"column":67},"action":"insert","lines":["n"],"id":3834}],[{"start":{"row":10,"column":67},"end":{"row":10,"column":68},"action":"insert","lines":["t"],"id":3835}],[{"start":{"row":10,"column":68},"end":{"row":10,"column":69},"action":"insert","lines":["s"],"id":3836}],[{"start":{"row":10,"column":63},"end":{"row":10,"column":69},"action":"remove","lines":["events"],"id":3837}],[{"start":{"row":10,"column":62},"end":{"row":10,"column":63},"action":"remove","lines":[" "],"id":3838}],[{"start":{"row":11,"column":26},"end":{"row":11,"column":27},"action":"remove","lines":["'"],"id":3839}],[{"start":{"row":9,"column":0},"end":{"row":9,"column":4},"action":"remove","lines":[" "],"id":3840}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":32,"column":0},"end":{"row":32,"column":0},"isBackwards":false},"options":{"tabSize":2,"useSoftTabs":true,"guessTabSize":false,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1517916208801,"hash":"385502528ecbb29d92858dbc1c5930479c12bc94"} | ||
{"filter":false,"title":"facade.js","tooltip":"/lib/facade.js","undoManager":{"mark":100,"position":100,"stack":[[{"start":{"row":2,"column":7},"end":{"row":2,"column":8},"action":"insert","lines":["="],"id":53}],[{"start":{"row":2,"column":8},"end":{"row":2,"column":9},"action":"insert","lines":[" "],"id":54}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":10},"action":"insert","lines":["r"],"id":55}],[{"start":{"row":2,"column":10},"end":{"row":2,"column":11},"action":"insert","lines":["q"],"id":56}],[{"start":{"row":2,"column":11},"end":{"row":2,"column":12},"action":"insert","lines":["u"],"id":57}],[{"start":{"row":2,"column":11},"end":{"row":2,"column":12},"action":"remove","lines":["u"],"id":58}],[{"start":{"row":2,"column":10},"end":{"row":2,"column":11},"action":"remove","lines":["q"],"id":59}],[{"start":{"row":2,"column":10},"end":{"row":2,"column":11},"action":"insert","lines":["e"],"id":60}],[{"start":{"row":2,"column":11},"end":{"row":2,"column":12},"action":"insert","lines":["q"],"id":61}],[{"start":{"row":2,"column":12},"end":{"row":2,"column":13},"action":"insert","lines":["u"],"id":62}],[{"start":{"row":2,"column":13},"end":{"row":2,"column":14},"action":"insert","lines":["i"],"id":63}],[{"start":{"row":2,"column":14},"end":{"row":2,"column":15},"action":"insert","lines":["r"],"id":64}],[{"start":{"row":2,"column":15},"end":{"row":2,"column":16},"action":"insert","lines":["e"],"id":65}],[{"start":{"row":2,"column":16},"end":{"row":2,"column":18},"action":"insert","lines":["()"],"id":66}],[{"start":{"row":2,"column":17},"end":{"row":2,"column":19},"action":"insert","lines":["\"\""],"id":67}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["u"],"id":68}],[{"start":{"row":2,"column":19},"end":{"row":2,"column":20},"action":"insert","lines":["t"],"id":69}],[{"start":{"row":2,"column":20},"end":{"row":2,"column":21},"action":"insert","lines":["i"],"id":70}],[{"start":{"row":2,"column":21},"end":{"row":2,"column":22},"action":"insert","lines":["l"],"id":71}],[{"start":{"row":2,"column":24},"end":{"row":2,"column":25},"action":"insert","lines":[";"],"id":72}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":15},"action":"remove","lines":["require(\"util\")"],"id":73},{"start":{"row":7,"column":0},"end":{"row":7,"column":1},"action":"insert","lines":["u"]}],[{"start":{"row":7,"column":1},"end":{"row":7,"column":2},"action":"insert","lines":["t"],"id":74}],[{"start":{"row":7,"column":2},"end":{"row":7,"column":3},"action":"insert","lines":["i"],"id":75}],[{"start":{"row":7,"column":3},"end":{"row":7,"column":4},"action":"insert","lines":["l"],"id":76}],[{"start":{"row":53,"column":52},"end":{"row":53,"column":76},"action":"remove","lines":[" in '\" + type + \"' array"],"id":77},{"start":{"row":53,"column":52},"end":{"row":53,"column":53},"action":"insert","lines":[" "]}],[{"start":{"row":53,"column":53},"end":{"row":53,"column":54},"action":"insert","lines":["p"],"id":78}],[{"start":{"row":53,"column":54},"end":{"row":53,"column":55},"action":"insert","lines":["e"],"id":79}],[{"start":{"row":53,"column":55},"end":{"row":53,"column":56},"action":"insert","lines":["r"],"id":80}],[{"start":{"row":53,"column":56},"end":{"row":53,"column":57},"action":"insert","lines":["m"],"id":81}],[{"start":{"row":53,"column":57},"end":{"row":53,"column":58},"action":"insert","lines":["i"],"id":82}],[{"start":{"row":53,"column":58},"end":{"row":53,"column":59},"action":"insert","lines":["t"],"id":83}],[{"start":{"row":53,"column":59},"end":{"row":53,"column":60},"action":"insert","lines":["t"],"id":84}],[{"start":{"row":53,"column":60},"end":{"row":53,"column":61},"action":"insert","lines":["e"],"id":85}],[{"start":{"row":53,"column":61},"end":{"row":53,"column":62},"action":"insert","lines":["d"],"id":86}],[{"start":{"row":53,"column":62},"end":{"row":53,"column":63},"action":"insert","lines":[" "],"id":87}],[{"start":{"row":53,"column":63},"end":{"row":53,"column":64},"action":"insert","lines":["b"],"id":88}],[{"start":{"row":53,"column":64},"end":{"row":53,"column":65},"action":"insert","lines":["y"],"id":89}],[{"start":{"row":53,"column":65},"end":{"row":53,"column":66},"action":"insert","lines":[" "],"id":90}],[{"start":{"row":53,"column":66},"end":{"row":53,"column":67},"action":"insert","lines":["t"],"id":91}],[{"start":{"row":53,"column":67},"end":{"row":53,"column":68},"action":"insert","lines":["h"],"id":92}],[{"start":{"row":53,"column":68},"end":{"row":53,"column":69},"action":"insert","lines":["i"],"id":93}],[{"start":{"row":53,"column":69},"end":{"row":53,"column":70},"action":"insert","lines":["s"],"id":94}],[{"start":{"row":53,"column":70},"end":{"row":53,"column":71},"action":"insert","lines":[" "],"id":95}],[{"start":{"row":53,"column":71},"end":{"row":53,"column":72},"action":"insert","lines":["f"],"id":96}],[{"start":{"row":53,"column":72},"end":{"row":53,"column":73},"action":"insert","lines":["a"],"id":97}],[{"start":{"row":53,"column":73},"end":{"row":53,"column":74},"action":"insert","lines":["c"],"id":98}],[{"start":{"row":53,"column":74},"end":{"row":53,"column":75},"action":"insert","lines":["a"],"id":99}],[{"start":{"row":53,"column":75},"end":{"row":53,"column":76},"action":"insert","lines":["d"],"id":100}],[{"start":{"row":53,"column":76},"end":{"row":53,"column":77},"action":"insert","lines":["e"],"id":101}],[{"start":{"row":53,"column":77},"end":{"row":53,"column":78},"action":"insert","lines":["'"],"id":102}],[{"start":{"row":53,"column":78},"end":{"row":53,"column":79},"action":"insert","lines":["s"],"id":103}],[{"start":{"row":53,"column":79},"end":{"row":53,"column":80},"action":"insert","lines":[" "],"id":104}],[{"start":{"row":53,"column":79},"end":{"row":53,"column":80},"action":"remove","lines":[" "],"id":105}],[{"start":{"row":53,"column":78},"end":{"row":53,"column":79},"action":"remove","lines":["s"],"id":106}],[{"start":{"row":53,"column":77},"end":{"row":53,"column":78},"action":"remove","lines":["'"],"id":107}],[{"start":{"row":53,"column":77},"end":{"row":53,"column":78},"action":"insert","lines":[","],"id":108}],[{"start":{"row":53,"column":77},"end":{"row":53,"column":78},"action":"remove","lines":[","],"id":109}],[{"start":{"row":53,"column":77},"end":{"row":53,"column":78},"action":"insert","lines":["."],"id":110}],[{"start":{"row":53,"column":79},"end":{"row":54,"column":0},"action":"insert","lines":["",""],"id":111},{"start":{"row":54,"column":0},"end":{"row":54,"column":6},"action":"insert","lines":[" "]}],[{"start":{"row":54,"column":6},"end":{"row":54,"column":8},"action":"insert","lines":[" "],"id":112}],[{"start":{"row":13,"column":16},"end":{"row":13,"column":21},"action":"remove","lines":["false"],"id":113},{"start":{"row":13,"column":16},"end":{"row":13,"column":17},"action":"insert","lines":["n"]}],[{"start":{"row":13,"column":17},"end":{"row":13,"column":18},"action":"insert","lines":["u"],"id":114}],[{"start":{"row":13,"column":18},"end":{"row":13,"column":19},"action":"insert","lines":["l"],"id":115}],[{"start":{"row":13,"column":19},"end":{"row":13,"column":20},"action":"insert","lines":["l"],"id":116}],[{"start":{"row":30,"column":19},"end":{"row":30,"column":20},"action":"insert","lines":[" "],"id":117}],[{"start":{"row":30,"column":20},"end":{"row":30,"column":21},"action":"insert","lines":[" "],"id":118}],[{"start":{"row":30,"column":20},"end":{"row":30,"column":21},"action":"remove","lines":[" "],"id":119}],[{"start":{"row":30,"column":20},"end":{"row":30,"column":21},"action":"insert","lines":["="],"id":120}],[{"start":{"row":30,"column":21},"end":{"row":30,"column":22},"action":"insert","lines":["="],"id":121}],[{"start":{"row":30,"column":22},"end":{"row":30,"column":23},"action":"insert","lines":["="],"id":122}],[{"start":{"row":30,"column":23},"end":{"row":30,"column":24},"action":"insert","lines":[" "],"id":123}],[{"start":{"row":30,"column":24},"end":{"row":30,"column":25},"action":"insert","lines":["e"],"id":124}],[{"start":{"row":30,"column":25},"end":{"row":30,"column":26},"action":"insert","lines":["v"],"id":125}],[{"start":{"row":30,"column":26},"end":{"row":30,"column":27},"action":"insert","lines":["n"],"id":126}],[{"start":{"row":30,"column":27},"end":{"row":30,"column":28},"action":"insert","lines":["e"],"id":127}],[{"start":{"row":30,"column":28},"end":{"row":30,"column":29},"action":"insert","lines":["t"],"id":128}],[{"start":{"row":30,"column":28},"end":{"row":30,"column":29},"action":"remove","lines":["t"],"id":129}],[{"start":{"row":30,"column":27},"end":{"row":30,"column":28},"action":"remove","lines":["e"],"id":130}],[{"start":{"row":30,"column":26},"end":{"row":30,"column":27},"action":"remove","lines":["n"],"id":131}],[{"start":{"row":30,"column":26},"end":{"row":30,"column":27},"action":"insert","lines":["e"],"id":132}],[{"start":{"row":30,"column":27},"end":{"row":30,"column":28},"action":"insert","lines":["n"],"id":133}],[{"start":{"row":30,"column":28},"end":{"row":30,"column":29},"action":"insert","lines":["t"],"id":134}],[{"start":{"row":45,"column":16},"end":{"row":45,"column":20},"action":"remove","lines":["true"],"id":135},{"start":{"row":45,"column":16},"end":{"row":45,"column":17},"action":"insert","lines":["e"]}],[{"start":{"row":45,"column":17},"end":{"row":45,"column":18},"action":"insert","lines":["v"],"id":136}],[{"start":{"row":45,"column":18},"end":{"row":45,"column":19},"action":"insert","lines":["e"],"id":137}],[{"start":{"row":45,"column":19},"end":{"row":45,"column":20},"action":"insert","lines":["n"],"id":138}],[{"start":{"row":45,"column":20},"end":{"row":45,"column":21},"action":"insert","lines":["t"],"id":139}],[{"start":{"row":47,"column":16},"end":{"row":47,"column":21},"action":"remove","lines":["false"],"id":140}],[{"start":{"row":47,"column":16},"end":{"row":47,"column":17},"action":"insert","lines":["n"],"id":141}],[{"start":{"row":47,"column":17},"end":{"row":47,"column":18},"action":"insert","lines":["u"],"id":142}],[{"start":{"row":47,"column":18},"end":{"row":47,"column":19},"action":"insert","lines":["l"],"id":143}],[{"start":{"row":47,"column":19},"end":{"row":47,"column":20},"action":"insert","lines":["l"],"id":144}],[{"start":{"row":13,"column":13},"end":{"row":13,"column":14},"action":"insert","lines":["F"],"id":145},{"start":{"row":47,"column":13},"end":{"row":47,"column":14},"action":"insert","lines":["F"]},{"start":{"row":45,"column":13},"end":{"row":45,"column":14},"action":"insert","lines":["F"]},{"start":{"row":30,"column":19},"end":{"row":30,"column":20},"action":"insert","lines":["F"]}],[{"start":{"row":13,"column":14},"end":{"row":13,"column":15},"action":"insert","lines":["o"],"id":225}],[{"start":{"row":13,"column":15},"end":{"row":13,"column":16},"action":"insert","lines":["r"],"id":226}],[{"start":{"row":30,"column":20},"end":{"row":30,"column":21},"action":"insert","lines":["o"],"id":227}],[{"start":{"row":30,"column":21},"end":{"row":30,"column":22},"action":"insert","lines":["r"],"id":228}],[{"start":{"row":45,"column":14},"end":{"row":45,"column":15},"action":"insert","lines":["o"],"id":229}],[{"start":{"row":45,"column":15},"end":{"row":45,"column":16},"action":"insert","lines":["r"],"id":230}],[{"start":{"row":47,"column":14},"end":{"row":47,"column":15},"action":"insert","lines":["o"],"id":231}],[{"start":{"row":47,"column":15},"end":{"row":47,"column":16},"action":"insert","lines":["r"],"id":232}]]},"ace":{"folds":[],"scrolltop":300,"scrollleft":0,"selection":{"start":{"row":54,"column":10},"end":{"row":54,"column":10},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":15,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1518083671660,"hash":"be9edb2d4e2849e339eb5935f93f0685476b8935"} |
@@ -1,1 +0,1 @@ | ||
{"filter":false,"title":"package.json","tooltip":"/package.json","undoManager":{"mark":7,"position":7,"stack":[[{"start":{"row":31,"column":24},"end":{"row":32,"column":0},"action":"insert","lines":["",""],"id":2},{"start":{"row":32,"column":0},"end":{"row":32,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":32,"column":2},"end":{"row":32,"column":4},"action":"remove","lines":[" "],"id":3}],[{"start":{"row":32,"column":0},"end":{"row":32,"column":2},"action":"remove","lines":[" "],"id":4}],[{"start":{"row":32,"column":0},"end":{"row":43,"column":24},"action":"insert","lines":[""," \"chance\": \"^1.0.3\","," \"expect.js\": \"^0.3.1\","," \"grunt\": \"^1.0.1\","," \"grunt-jscs\": \"^3.0.1\","," \"grunt-contrib-jshint\": \"^1.0.0\","," \"grunt-contrib-watch\": \"^1.0.0\","," \"grunt-mocha-test\": \"^0.12.7\","," \"injectr\": \"^0.5.1\","," \"jshint\": \"^2.9.2\","," \"mocha\": \"^2.4.5\","," \"pretendr\": \"^0.6.2\""],"id":5}],[{"start":{"row":32,"column":0},"end":{"row":33,"column":23},"action":"remove","lines":[""," \"chance\": \"^1.0.3\","],"id":6}],[{"start":{"row":23,"column":22},"end":{"row":32,"column":0},"action":"remove","lines":[""," \"expect.js\": \"~0.3.1\","," \"grunt\": \"~0.4.4\","," \"grunt-contrib-jshint\": \"~0.10.0\","," \"grunt-contrib-watch\": \"~0.6.1\","," \"grunt-mocha-test\": \"~0.10.2\","," \"injectr\": \"~0.5.1\","," \"jshint\": \"~2.5.0\","," \"pretendr\": \"^0.7.0\"",""],"id":7}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["0"],"id":8}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["1"],"id":9}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":3,"column":0},"end":{"row":3,"column":0},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1517916723834,"hash":"c3b9e079edfabd1d5aec81099551b74299780b79"} | ||
{"filter":false,"title":"package.json","tooltip":"/package.json","undoManager":{"mark":1,"position":1,"stack":[[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["2"],"id":14}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["3"],"id":15}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":2,"column":21},"end":{"row":2,"column":21},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1518024914900,"hash":"483ad7f709e83076dbc7720f9eff98eec630a166"} |
@@ -1,1 +0,1 @@ | ||
{"filter":false,"title":"README.md","tooltip":"/README.md","undoManager":{"mark":100,"position":100,"stack":[[{"start":{"row":50,"column":59},"end":{"row":50,"column":60},"action":"insert","lines":[" "],"id":4951}],[{"start":{"row":50,"column":60},"end":{"row":50,"column":61},"action":"insert","lines":["m"],"id":4952}],[{"start":{"row":50,"column":61},"end":{"row":50,"column":62},"action":"insert","lines":["o"],"id":4953}],[{"start":{"row":50,"column":62},"end":{"row":50,"column":63},"action":"insert","lines":["d"],"id":4954}],[{"start":{"row":50,"column":63},"end":{"row":50,"column":64},"action":"insert","lines":["u"],"id":4955}],[{"start":{"row":50,"column":64},"end":{"row":50,"column":65},"action":"insert","lines":["l"],"id":4956}],[{"start":{"row":50,"column":65},"end":{"row":50,"column":66},"action":"insert","lines":["e"],"id":4957}],[{"start":{"row":50,"column":66},"end":{"row":50,"column":67},"action":"insert","lines":["s"],"id":4958}],[{"start":{"row":50,"column":67},"end":{"row":50,"column":68},"action":"insert","lines":["."],"id":4959}],[{"start":{"row":50,"column":68},"end":{"row":51,"column":0},"action":"insert","lines":["",""],"id":4960}],[{"start":{"row":51,"column":0},"end":{"row":51,"column":1},"action":"insert","lines":["`"],"id":4961}],[{"start":{"row":51,"column":1},"end":{"row":51,"column":2},"action":"insert","lines":["`"],"id":4962}],[{"start":{"row":51,"column":2},"end":{"row":51,"column":3},"action":"insert","lines":["`"],"id":4963}],[{"start":{"row":51,"column":3},"end":{"row":51,"column":4},"action":"insert","lines":["`"],"id":4964}],[{"start":{"row":51,"column":4},"end":{"row":51,"column":5},"action":"insert","lines":["h"],"id":4965}],[{"start":{"row":51,"column":4},"end":{"row":51,"column":5},"action":"remove","lines":["h"],"id":4966}],[{"start":{"row":51,"column":4},"end":{"row":51,"column":5},"action":"insert","lines":["j"],"id":4967}],[{"start":{"row":51,"column":5},"end":{"row":51,"column":6},"action":"insert","lines":["s"],"id":4968}],[{"start":{"row":51,"column":6},"end":{"row":52,"column":0},"action":"insert","lines":["",""],"id":4969}],[{"start":{"row":52,"column":0},"end":{"row":52,"column":1},"action":"insert","lines":["m"],"id":4970}],[{"start":{"row":52,"column":1},"end":{"row":52,"column":2},"action":"insert","lines":["o"],"id":4971}],[{"start":{"row":52,"column":2},"end":{"row":52,"column":3},"action":"insert","lines":["d"],"id":4972}],[{"start":{"row":52,"column":3},"end":{"row":52,"column":4},"action":"insert","lines":["u"],"id":4973}],[{"start":{"row":52,"column":3},"end":{"row":52,"column":4},"action":"remove","lines":["u"],"id":4974}],[{"start":{"row":52,"column":2},"end":{"row":52,"column":3},"action":"remove","lines":["d"],"id":4975}],[{"start":{"row":52,"column":1},"end":{"row":52,"column":2},"action":"remove","lines":["o"],"id":4976}],[{"start":{"row":52,"column":0},"end":{"row":52,"column":1},"action":"remove","lines":["m"],"id":4977}],[{"start":{"row":52,"column":0},"end":{"row":52,"column":1},"action":"insert","lines":["r"],"id":4978}],[{"start":{"row":52,"column":1},"end":{"row":52,"column":2},"action":"insert","lines":["e"],"id":4979}],[{"start":{"row":52,"column":2},"end":{"row":52,"column":3},"action":"insert","lines":["q"],"id":4980}],[{"start":{"row":52,"column":3},"end":{"row":52,"column":4},"action":"insert","lines":["u"],"id":4981}],[{"start":{"row":52,"column":4},"end":{"row":52,"column":5},"action":"insert","lines":["i"],"id":4982}],[{"start":{"row":52,"column":5},"end":{"row":52,"column":6},"action":"insert","lines":["r"],"id":4983}],[{"start":{"row":52,"column":6},"end":{"row":52,"column":7},"action":"insert","lines":["e"],"id":4984}],[{"start":{"row":52,"column":7},"end":{"row":52,"column":9},"action":"insert","lines":["()"],"id":4985}],[{"start":{"row":52,"column":8},"end":{"row":52,"column":9},"action":"insert","lines":["."],"id":4986}],[{"start":{"row":52,"column":8},"end":{"row":52,"column":9},"action":"remove","lines":["."],"id":4987}],[{"start":{"row":52,"column":8},"end":{"row":52,"column":10},"action":"insert","lines":["\"\""],"id":4988}],[{"start":{"row":52,"column":9},"end":{"row":52,"column":10},"action":"insert","lines":["."],"id":4989}],[{"start":{"row":52,"column":10},"end":{"row":52,"column":11},"action":"insert","lines":["/"],"id":4990}],[{"start":{"row":52,"column":11},"end":{"row":52,"column":12},"action":"insert","lines":["m"],"id":4991}],[{"start":{"row":52,"column":12},"end":{"row":52,"column":13},"action":"insert","lines":["o"],"id":4992}],[{"start":{"row":52,"column":13},"end":{"row":52,"column":14},"action":"insert","lines":["d"],"id":4993}],[{"start":{"row":52,"column":14},"end":{"row":52,"column":15},"action":"insert","lines":["u"],"id":4994}],[{"start":{"row":52,"column":15},"end":{"row":52,"column":16},"action":"insert","lines":["l"],"id":4995}],[{"start":{"row":52,"column":16},"end":{"row":52,"column":17},"action":"insert","lines":["e"],"id":4996}],[{"start":{"row":52,"column":17},"end":{"row":52,"column":18},"action":"insert","lines":["s"],"id":4997}],[{"start":{"row":52,"column":18},"end":{"row":52,"column":19},"action":"insert","lines":["/"],"id":4998}],[{"start":{"row":52,"column":18},"end":{"row":52,"column":19},"action":"remove","lines":["/"],"id":4999}],[{"start":{"row":52,"column":17},"end":{"row":52,"column":18},"action":"remove","lines":["s"],"id":5000}],[{"start":{"row":52,"column":16},"end":{"row":52,"column":17},"action":"remove","lines":["e"],"id":5001}],[{"start":{"row":52,"column":15},"end":{"row":52,"column":16},"action":"remove","lines":["l"],"id":5002}],[{"start":{"row":52,"column":14},"end":{"row":52,"column":15},"action":"remove","lines":["u"],"id":5003}],[{"start":{"row":52,"column":13},"end":{"row":52,"column":14},"action":"remove","lines":["d"],"id":5004}],[{"start":{"row":52,"column":12},"end":{"row":52,"column":13},"action":"remove","lines":["o"],"id":5005}],[{"start":{"row":52,"column":11},"end":{"row":52,"column":12},"action":"remove","lines":["m"],"id":5006}],[{"start":{"row":52,"column":11},"end":{"row":52,"column":12},"action":"insert","lines":["i"],"id":5007}],[{"start":{"row":52,"column":12},"end":{"row":52,"column":13},"action":"insert","lines":["n"],"id":5008}],[{"start":{"row":52,"column":13},"end":{"row":52,"column":14},"action":"insert","lines":["i"],"id":5009}],[{"start":{"row":52,"column":14},"end":{"row":52,"column":15},"action":"insert","lines":["t"],"id":5010}],[{"start":{"row":52,"column":14},"end":{"row":52,"column":15},"action":"remove","lines":["t"],"id":5011}],[{"start":{"row":52,"column":13},"end":{"row":52,"column":14},"action":"remove","lines":["i"],"id":5012}],[{"start":{"row":52,"column":12},"end":{"row":52,"column":13},"action":"remove","lines":["n"],"id":5013}],[{"start":{"row":52,"column":11},"end":{"row":52,"column":12},"action":"remove","lines":["i"],"id":5014}],[{"start":{"row":52,"column":11},"end":{"row":52,"column":12},"action":"insert","lines":["u"],"id":5015}],[{"start":{"row":52,"column":12},"end":{"row":52,"column":13},"action":"insert","lines":["s"],"id":5016}],[{"start":{"row":52,"column":13},"end":{"row":52,"column":14},"action":"insert","lines":["e"],"id":5017}],[{"start":{"row":52,"column":14},"end":{"row":52,"column":15},"action":"insert","lines":["r"],"id":5018}],[{"start":{"row":52,"column":15},"end":{"row":52,"column":16},"action":"insert","lines":["I"],"id":5019}],[{"start":{"row":52,"column":16},"end":{"row":52,"column":17},"action":"insert","lines":["n"],"id":5020}],[{"start":{"row":52,"column":17},"end":{"row":52,"column":18},"action":"insert","lines":["t"],"id":5021}],[{"start":{"row":52,"column":18},"end":{"row":52,"column":19},"action":"insert","lines":["e"],"id":5022}],[{"start":{"row":52,"column":19},"end":{"row":52,"column":20},"action":"insert","lines":["r"],"id":5023}],[{"start":{"row":52,"column":20},"end":{"row":52,"column":21},"action":"insert","lines":["f"],"id":5024}],[{"start":{"row":52,"column":21},"end":{"row":52,"column":22},"action":"insert","lines":["a"],"id":5025}],[{"start":{"row":52,"column":22},"end":{"row":52,"column":23},"action":"insert","lines":["c"],"id":5026}],[{"start":{"row":52,"column":23},"end":{"row":52,"column":24},"action":"insert","lines":["e"],"id":5027}],[{"start":{"row":52,"column":26},"end":{"row":52,"column":27},"action":"insert","lines":["."],"id":5028}],[{"start":{"row":52,"column":27},"end":{"row":52,"column":28},"action":"insert","lines":["i"],"id":5029}],[{"start":{"row":52,"column":28},"end":{"row":52,"column":29},"action":"insert","lines":["n"],"id":5030}],[{"start":{"row":52,"column":29},"end":{"row":52,"column":30},"action":"insert","lines":["i"],"id":5031}],[{"start":{"row":52,"column":30},"end":{"row":52,"column":31},"action":"insert","lines":["t"],"id":5032}],[{"start":{"row":52,"column":31},"end":{"row":52,"column":33},"action":"insert","lines":["()"],"id":5033}],[{"start":{"row":52,"column":32},"end":{"row":52,"column":33},"action":"insert","lines":["u"],"id":5034}],[{"start":{"row":52,"column":33},"end":{"row":52,"column":34},"action":"insert","lines":["i"],"id":5035}],[{"start":{"row":52,"column":34},"end":{"row":52,"column":35},"action":"insert","lines":["F"],"id":5036}],[{"start":{"row":52,"column":35},"end":{"row":52,"column":36},"action":"insert","lines":["a"],"id":5037}],[{"start":{"row":52,"column":36},"end":{"row":52,"column":37},"action":"insert","lines":["c"],"id":5038}],[{"start":{"row":52,"column":37},"end":{"row":52,"column":38},"action":"insert","lines":["a"],"id":5039}],[{"start":{"row":52,"column":38},"end":{"row":52,"column":39},"action":"insert","lines":["d"],"id":5040}],[{"start":{"row":52,"column":39},"end":{"row":52,"column":40},"action":"insert","lines":["e"],"id":5041}],[{"start":{"row":52,"column":41},"end":{"row":52,"column":42},"action":"insert","lines":[";"],"id":5042}],[{"start":{"row":52,"column":42},"end":{"row":53,"column":0},"action":"insert","lines":["",""],"id":5043}],[{"start":{"row":53,"column":0},"end":{"row":53,"column":1},"action":"insert","lines":["`"],"id":5044}],[{"start":{"row":53,"column":1},"end":{"row":53,"column":2},"action":"insert","lines":["`"],"id":5045}],[{"start":{"row":53,"column":2},"end":{"row":53,"column":3},"action":"insert","lines":["`"],"id":5046}],[{"start":{"row":53,"column":3},"end":{"row":53,"column":4},"action":"insert","lines":["`"],"id":5047}],[{"start":{"row":57,"column":77},"end":{"row":57,"column":78},"action":"remove","lines":[" "],"id":5048}],[{"start":{"row":57,"column":77},"end":{"row":58,"column":0},"action":"insert","lines":["",""],"id":5049}],[{"start":{"row":58,"column":0},"end":{"row":58,"column":1},"action":"insert","lines":[" "],"id":5050}],[{"start":{"row":58,"column":1},"end":{"row":58,"column":2},"action":"insert","lines":[" "],"id":5051}]]},"ace":{"folds":[],"scrolltop":443,"scrollleft":0,"selection":{"start":{"row":60,"column":0},"end":{"row":60,"column":0},"isBackwards":false},"options":{"tabSize":2,"useSoftTabs":true,"guessTabSize":false,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":23,"state":"githubblock","mode":"ace/mode/markdown"}},"timestamp":1517914163203,"hash":"7a05e9b905e576b42c715ec45c2abcb109134af4"} | ||
{"filter":false,"title":"README.md","tooltip":"/README.md","undoManager":{"mark":-1,"position":-1,"stack":[[{"start":{"row":53,"column":4},"end":{"row":54,"column":45},"action":"remove","lines":["","Currently on `emit` and `on` are implemented."],"id":5100}],[{"start":{"row":54,"column":44},"end":{"row":54,"column":45},"action":"insert","lines":["."],"id":5099}],[{"start":{"row":54,"column":43},"end":{"row":54,"column":44},"action":"insert","lines":["d"],"id":5098}],[{"start":{"row":54,"column":42},"end":{"row":54,"column":43},"action":"insert","lines":["e"],"id":5097}],[{"start":{"row":54,"column":41},"end":{"row":54,"column":42},"action":"insert","lines":["t"],"id":5096}],[{"start":{"row":54,"column":40},"end":{"row":54,"column":41},"action":"insert","lines":["n"],"id":5095}],[{"start":{"row":54,"column":39},"end":{"row":54,"column":40},"action":"insert","lines":["e"],"id":5094}],[{"start":{"row":54,"column":38},"end":{"row":54,"column":39},"action":"insert","lines":["m"],"id":5093}],[{"start":{"row":54,"column":37},"end":{"row":54,"column":38},"action":"insert","lines":["e"],"id":5092}],[{"start":{"row":54,"column":36},"end":{"row":54,"column":37},"action":"insert","lines":["l"],"id":5091}],[{"start":{"row":54,"column":35},"end":{"row":54,"column":36},"action":"insert","lines":["p"],"id":5090}],[{"start":{"row":54,"column":34},"end":{"row":54,"column":35},"action":"insert","lines":["m"],"id":5089}],[{"start":{"row":54,"column":33},"end":{"row":54,"column":34},"action":"insert","lines":["i"],"id":5088}],[{"start":{"row":54,"column":32},"end":{"row":54,"column":33},"action":"insert","lines":[" "],"id":5087}],[{"start":{"row":54,"column":31},"end":{"row":54,"column":32},"action":"insert","lines":["e"],"id":5086}],[{"start":{"row":54,"column":30},"end":{"row":54,"column":31},"action":"insert","lines":["r"],"id":5085}],[{"start":{"row":54,"column":29},"end":{"row":54,"column":30},"action":"insert","lines":["a"],"id":5084}],[{"start":{"row":54,"column":28},"end":{"row":54,"column":29},"action":"insert","lines":[" "],"id":5083}],[{"start":{"row":54,"column":27},"end":{"row":54,"column":28},"action":"insert","lines":["`"],"id":5082}],[{"start":{"row":54,"column":26},"end":{"row":54,"column":27},"action":"insert","lines":["n"],"id":5081}],[{"start":{"row":54,"column":25},"end":{"row":54,"column":26},"action":"insert","lines":["o"],"id":5080}],[{"start":{"row":54,"column":24},"end":{"row":54,"column":25},"action":"insert","lines":["`"],"id":5079}],[{"start":{"row":54,"column":23},"end":{"row":54,"column":24},"action":"insert","lines":[" "],"id":5078}],[{"start":{"row":54,"column":22},"end":{"row":54,"column":23},"action":"insert","lines":["d"],"id":5077}],[{"start":{"row":54,"column":21},"end":{"row":54,"column":22},"action":"insert","lines":["n"],"id":5076}],[{"start":{"row":54,"column":20},"end":{"row":54,"column":21},"action":"insert","lines":["a"],"id":5075}],[{"start":{"row":54,"column":19},"end":{"row":54,"column":20},"action":"insert","lines":[" "],"id":5074}],[{"start":{"row":54,"column":18},"end":{"row":54,"column":19},"action":"insert","lines":["`"],"id":5073}],[{"start":{"row":54,"column":17},"end":{"row":54,"column":18},"action":"insert","lines":["t"],"id":5072}],[{"start":{"row":54,"column":16},"end":{"row":54,"column":17},"action":"insert","lines":["i"],"id":5071}],[{"start":{"row":54,"column":15},"end":{"row":54,"column":16},"action":"insert","lines":["m"],"id":5070}],[{"start":{"row":54,"column":14},"end":{"row":54,"column":15},"action":"insert","lines":["e"],"id":5069}],[{"start":{"row":54,"column":13},"end":{"row":54,"column":14},"action":"insert","lines":["`"],"id":5068}],[{"start":{"row":54,"column":12},"end":{"row":54,"column":13},"action":"insert","lines":[" "],"id":5067}],[{"start":{"row":54,"column":11},"end":{"row":54,"column":12},"action":"insert","lines":["n"],"id":5066}],[{"start":{"row":54,"column":10},"end":{"row":54,"column":11},"action":"insert","lines":["o"],"id":5065}],[{"start":{"row":54,"column":9},"end":{"row":54,"column":10},"action":"insert","lines":[" "],"id":5064}],[{"start":{"row":54,"column":8},"end":{"row":54,"column":9},"action":"insert","lines":["y"],"id":5063}],[{"start":{"row":54,"column":7},"end":{"row":54,"column":8},"action":"insert","lines":["l"],"id":5062}],[{"start":{"row":54,"column":6},"end":{"row":54,"column":7},"action":"insert","lines":["t"],"id":5061}],[{"start":{"row":54,"column":5},"end":{"row":54,"column":6},"action":"insert","lines":["n"],"id":5060}],[{"start":{"row":54,"column":4},"end":{"row":54,"column":5},"action":"insert","lines":["e"],"id":5059}],[{"start":{"row":54,"column":3},"end":{"row":54,"column":4},"action":"insert","lines":["r"],"id":5058}],[{"start":{"row":54,"column":2},"end":{"row":54,"column":3},"action":"insert","lines":["r"],"id":5057}],[{"start":{"row":54,"column":1},"end":{"row":54,"column":2},"action":"insert","lines":["u"],"id":5056}],[{"start":{"row":54,"column":0},"end":{"row":54,"column":1},"action":"insert","lines":["C"],"id":5055}],[{"start":{"row":54,"column":0},"end":{"row":55,"column":0},"action":"insert","lines":["",""],"id":5054}]]},"ace":{"folds":[],"scrolltop":720,"scrollleft":0,"selection":{"start":{"row":54,"column":0},"end":{"row":54,"column":0},"isBackwards":false},"options":{"tabSize":2,"useSoftTabs":true,"guessTabSize":false,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":39,"state":"allowBlock","mode":"ace/mode/markdown"}},"timestamp":1517919004553,"hash":"023c736374bc38e39507203ed48d895d76103000"} |
@@ -1,1 +0,1 @@ | ||
{"filter":false,"title":"testFacade.js","tooltip":"/test/testFacade.js","undoManager":{"mark":100,"position":100,"stack":[[{"start":{"row":25,"column":6},"end":{"row":25,"column":7},"action":"insert","lines":["c"],"id":2560}],[{"start":{"row":25,"column":7},"end":{"row":25,"column":8},"action":"insert","lines":["o"],"id":2561}],[{"start":{"row":25,"column":8},"end":{"row":25,"column":9},"action":"insert","lines":["n"],"id":2562}],[{"start":{"row":25,"column":9},"end":{"row":25,"column":10},"action":"insert","lines":["s"],"id":2563}],[{"start":{"row":25,"column":10},"end":{"row":25,"column":11},"action":"insert","lines":["t"],"id":2564}],[{"start":{"row":25,"column":11},"end":{"row":25,"column":12},"action":"remove","lines":[" "],"id":2565}],[{"start":{"row":25,"column":11},"end":{"row":26,"column":0},"action":"insert","lines":["",""],"id":2566},{"start":{"row":26,"column":0},"end":{"row":26,"column":6},"action":"insert","lines":[" "]}],[{"start":{"row":26,"column":6},"end":{"row":26,"column":8},"action":"insert","lines":[" "],"id":2567}],[{"start":{"row":34,"column":6},"end":{"row":34,"column":7},"action":"remove","lines":["v"],"id":2568}],[{"start":{"row":34,"column":6},"end":{"row":34,"column":7},"action":"remove","lines":["a"],"id":2569}],[{"start":{"row":34,"column":6},"end":{"row":34,"column":7},"action":"remove","lines":["r"],"id":2570}],[{"start":{"row":34,"column":6},"end":{"row":34,"column":7},"action":"insert","lines":["c"],"id":2571}],[{"start":{"row":34,"column":7},"end":{"row":34,"column":8},"action":"insert","lines":["o"],"id":2572}],[{"start":{"row":34,"column":8},"end":{"row":34,"column":9},"action":"insert","lines":["n"],"id":2573}],[{"start":{"row":34,"column":9},"end":{"row":34,"column":10},"action":"insert","lines":["s"],"id":2574}],[{"start":{"row":34,"column":10},"end":{"row":34,"column":11},"action":"insert","lines":["t"],"id":2575}],[{"start":{"row":34,"column":11},"end":{"row":34,"column":12},"action":"insert","lines":["o"],"id":2576}],[{"start":{"row":34,"column":11},"end":{"row":34,"column":12},"action":"remove","lines":["o"],"id":2577}],[{"start":{"row":34,"column":11},"end":{"row":34,"column":12},"action":"remove","lines":[" "],"id":2578}],[{"start":{"row":34,"column":11},"end":{"row":35,"column":0},"action":"insert","lines":["",""],"id":2579},{"start":{"row":35,"column":0},"end":{"row":35,"column":6},"action":"insert","lines":[" "]}],[{"start":{"row":35,"column":6},"end":{"row":35,"column":8},"action":"insert","lines":[" "],"id":2580}],[{"start":{"row":34,"column":11},"end":{"row":35,"column":8},"action":"remove","lines":[""," "],"id":2581}],[{"start":{"row":34,"column":11},"end":{"row":34,"column":12},"action":"insert","lines":[" "],"id":2582}],[{"start":{"row":42,"column":8},"end":{"row":42,"column":9},"action":"remove","lines":["r"],"id":2583}],[{"start":{"row":42,"column":7},"end":{"row":42,"column":8},"action":"remove","lines":["a"],"id":2584}],[{"start":{"row":42,"column":6},"end":{"row":42,"column":7},"action":"remove","lines":["v"],"id":2585}],[{"start":{"row":42,"column":6},"end":{"row":42,"column":7},"action":"insert","lines":["c"],"id":2586}],[{"start":{"row":42,"column":7},"end":{"row":42,"column":8},"action":"insert","lines":["o"],"id":2587}],[{"start":{"row":42,"column":8},"end":{"row":42,"column":9},"action":"insert","lines":["n"],"id":2588}],[{"start":{"row":42,"column":9},"end":{"row":42,"column":10},"action":"insert","lines":["s"],"id":2589}],[{"start":{"row":42,"column":10},"end":{"row":42,"column":11},"action":"insert","lines":["t"],"id":2590}],[{"start":{"row":51,"column":4},"end":{"row":51,"column":7},"action":"remove","lines":["var"],"id":2591},{"start":{"row":51,"column":4},"end":{"row":51,"column":5},"action":"insert","lines":["l"]}],[{"start":{"row":51,"column":5},"end":{"row":51,"column":6},"action":"insert","lines":["e"],"id":2592}],[{"start":{"row":51,"column":6},"end":{"row":51,"column":7},"action":"insert","lines":["t"],"id":2593}],[{"start":{"row":57,"column":6},"end":{"row":57,"column":9},"action":"remove","lines":["var"],"id":2594},{"start":{"row":57,"column":6},"end":{"row":57,"column":7},"action":"insert","lines":["c"]}],[{"start":{"row":57,"column":7},"end":{"row":57,"column":8},"action":"insert","lines":["o"],"id":2595}],[{"start":{"row":57,"column":8},"end":{"row":57,"column":9},"action":"insert","lines":["o"],"id":2596}],[{"start":{"row":57,"column":8},"end":{"row":57,"column":9},"action":"remove","lines":["o"],"id":2597}],[{"start":{"row":57,"column":8},"end":{"row":57,"column":9},"action":"insert","lines":["n"],"id":2598}],[{"start":{"row":57,"column":9},"end":{"row":57,"column":10},"action":"insert","lines":["s"],"id":2599}],[{"start":{"row":57,"column":10},"end":{"row":57,"column":11},"action":"insert","lines":["t"],"id":2600}],[{"start":{"row":63,"column":8},"end":{"row":63,"column":9},"action":"remove","lines":["r"],"id":2601}],[{"start":{"row":63,"column":7},"end":{"row":63,"column":8},"action":"remove","lines":["a"],"id":2602}],[{"start":{"row":63,"column":6},"end":{"row":63,"column":7},"action":"remove","lines":["v"],"id":2603}],[{"start":{"row":63,"column":6},"end":{"row":63,"column":7},"action":"insert","lines":["c"],"id":2604}],[{"start":{"row":63,"column":7},"end":{"row":63,"column":8},"action":"insert","lines":["o"],"id":2605}],[{"start":{"row":63,"column":8},"end":{"row":63,"column":9},"action":"insert","lines":["n"],"id":2606}],[{"start":{"row":63,"column":9},"end":{"row":63,"column":10},"action":"insert","lines":["s"],"id":2607}],[{"start":{"row":63,"column":10},"end":{"row":63,"column":11},"action":"insert","lines":["t"],"id":2608}],[{"start":{"row":69,"column":8},"end":{"row":69,"column":9},"action":"remove","lines":["r"],"id":2609}],[{"start":{"row":69,"column":7},"end":{"row":69,"column":8},"action":"remove","lines":["a"],"id":2610}],[{"start":{"row":69,"column":6},"end":{"row":69,"column":7},"action":"remove","lines":["v"],"id":2611}],[{"start":{"row":69,"column":6},"end":{"row":69,"column":7},"action":"insert","lines":["c"],"id":2612}],[{"start":{"row":69,"column":7},"end":{"row":69,"column":8},"action":"insert","lines":["o"],"id":2613}],[{"start":{"row":69,"column":8},"end":{"row":69,"column":9},"action":"insert","lines":["n"],"id":2614}],[{"start":{"row":69,"column":9},"end":{"row":69,"column":10},"action":"insert","lines":["s"],"id":2615}],[{"start":{"row":69,"column":10},"end":{"row":69,"column":11},"action":"insert","lines":["t"],"id":2616}],[{"start":{"row":76,"column":8},"end":{"row":76,"column":9},"action":"remove","lines":["r"],"id":2617}],[{"start":{"row":76,"column":7},"end":{"row":76,"column":8},"action":"remove","lines":["a"],"id":2618}],[{"start":{"row":76,"column":6},"end":{"row":76,"column":7},"action":"remove","lines":["v"],"id":2619}],[{"start":{"row":76,"column":6},"end":{"row":76,"column":7},"action":"insert","lines":["c"],"id":2620}],[{"start":{"row":76,"column":7},"end":{"row":76,"column":8},"action":"insert","lines":["o"],"id":2621}],[{"start":{"row":76,"column":8},"end":{"row":76,"column":9},"action":"insert","lines":["n"],"id":2622}],[{"start":{"row":76,"column":9},"end":{"row":76,"column":10},"action":"insert","lines":["s"],"id":2623}],[{"start":{"row":76,"column":10},"end":{"row":76,"column":11},"action":"insert","lines":["t"],"id":2624}],[{"start":{"row":84,"column":8},"end":{"row":84,"column":9},"action":"remove","lines":["r"],"id":2625}],[{"start":{"row":84,"column":7},"end":{"row":84,"column":8},"action":"remove","lines":["a"],"id":2626}],[{"start":{"row":84,"column":6},"end":{"row":84,"column":7},"action":"remove","lines":["v"],"id":2627}],[{"start":{"row":84,"column":6},"end":{"row":84,"column":7},"action":"insert","lines":["c"],"id":2628}],[{"start":{"row":84,"column":7},"end":{"row":84,"column":8},"action":"insert","lines":["o"],"id":2629}],[{"start":{"row":84,"column":8},"end":{"row":84,"column":9},"action":"insert","lines":["n"],"id":2630}],[{"start":{"row":84,"column":9},"end":{"row":84,"column":10},"action":"insert","lines":["s"],"id":2631}],[{"start":{"row":84,"column":10},"end":{"row":84,"column":11},"action":"insert","lines":["t"],"id":2632}],[{"start":{"row":93,"column":4},"end":{"row":93,"column":7},"action":"remove","lines":["var"],"id":2633},{"start":{"row":93,"column":4},"end":{"row":93,"column":5},"action":"insert","lines":["l"]}],[{"start":{"row":93,"column":5},"end":{"row":93,"column":6},"action":"insert","lines":["e"],"id":2634}],[{"start":{"row":93,"column":6},"end":{"row":93,"column":7},"action":"insert","lines":["t"],"id":2635}],[{"start":{"row":93,"column":7},"end":{"row":93,"column":8},"action":"remove","lines":[" "],"id":2636}],[{"start":{"row":93,"column":7},"end":{"row":94,"column":0},"action":"insert","lines":["",""],"id":2637},{"start":{"row":94,"column":0},"end":{"row":94,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":94,"column":4},"end":{"row":94,"column":6},"action":"insert","lines":[" "],"id":2638}],[{"start":{"row":102,"column":8},"end":{"row":102,"column":9},"action":"remove","lines":["r"],"id":2639}],[{"start":{"row":102,"column":7},"end":{"row":102,"column":8},"action":"remove","lines":["a"],"id":2640}],[{"start":{"row":102,"column":6},"end":{"row":102,"column":7},"action":"remove","lines":["v"],"id":2641}],[{"start":{"row":102,"column":6},"end":{"row":102,"column":7},"action":"insert","lines":["c"],"id":2642}],[{"start":{"row":102,"column":7},"end":{"row":102,"column":8},"action":"insert","lines":["o"],"id":2643}],[{"start":{"row":102,"column":8},"end":{"row":102,"column":9},"action":"insert","lines":["n"],"id":2644}],[{"start":{"row":102,"column":9},"end":{"row":102,"column":10},"action":"insert","lines":["s"],"id":2645}],[{"start":{"row":102,"column":10},"end":{"row":102,"column":11},"action":"insert","lines":["t"],"id":2646}],[{"start":{"row":0,"column":0},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":2647}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":2648}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":2},"action":"insert","lines":["\"\""],"id":2649}],[{"start":{"row":0,"column":1},"end":{"row":0,"column":2},"action":"insert","lines":["u"],"id":2650}],[{"start":{"row":0,"column":2},"end":{"row":0,"column":3},"action":"insert","lines":["s"],"id":2651}],[{"start":{"row":0,"column":3},"end":{"row":0,"column":4},"action":"insert","lines":["e"],"id":2652}],[{"start":{"row":0,"column":4},"end":{"row":0,"column":5},"action":"insert","lines":[" "],"id":2653}],[{"start":{"row":0,"column":5},"end":{"row":0,"column":6},"action":"insert","lines":["s"],"id":2654}],[{"start":{"row":0,"column":6},"end":{"row":0,"column":7},"action":"insert","lines":["t"],"id":2655}],[{"start":{"row":0,"column":7},"end":{"row":0,"column":8},"action":"insert","lines":["r"],"id":2656}],[{"start":{"row":0,"column":8},"end":{"row":0,"column":9},"action":"insert","lines":["i"],"id":2657}],[{"start":{"row":0,"column":9},"end":{"row":0,"column":10},"action":"insert","lines":["c"],"id":2658}],[{"start":{"row":0,"column":10},"end":{"row":0,"column":11},"action":"insert","lines":["t"],"id":2659}],[{"start":{"row":0,"column":12},"end":{"row":0,"column":13},"action":"insert","lines":[";"],"id":2660}]]},"ace":{"folds":[],"scrolltop":1380,"scrollleft":0,"selection":{"start":{"row":1,"column":0},"end":{"row":1,"column":0},"isBackwards":false},"options":{"tabSize":2,"useSoftTabs":true,"guessTabSize":false,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":75,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1517915841962,"hash":"0ed25ca51a4235de9be8a87781128050eb23fa07"} | ||
{"filter":false,"title":"testFacade.js","tooltip":"/test/testFacade.js","undoManager":{"mark":100,"position":100,"stack":[[{"start":{"row":188,"column":3},"end":{"row":188,"column":4},"action":"insert","lines":["*"],"id":5529}],[{"start":{"row":188,"column":4},"end":{"row":188,"column":5},"action":"insert","lines":[" "],"id":5530}],[{"start":{"row":212,"column":7},"end":{"row":212,"column":8},"action":"insert","lines":["*"],"id":5531}],[{"start":{"row":212,"column":8},"end":{"row":212,"column":9},"action":"insert","lines":["/"],"id":5532}],[{"start":{"row":212,"column":8},"end":{"row":212,"column":9},"action":"remove","lines":["/"],"id":5533}],[{"start":{"row":212,"column":7},"end":{"row":212,"column":8},"action":"remove","lines":["*"],"id":5534}],[{"start":{"row":213,"column":5},"end":{"row":213,"column":6},"action":"insert","lines":["*"],"id":5535}],[{"start":{"row":213,"column":6},"end":{"row":213,"column":7},"action":"insert","lines":["/"],"id":5536}],[{"start":{"row":188,"column":3},"end":{"row":188,"column":4},"action":"remove","lines":["*"],"id":5537}],[{"start":{"row":188,"column":2},"end":{"row":188,"column":3},"action":"remove","lines":["/"],"id":5538}],[{"start":{"row":213,"column":6},"end":{"row":213,"column":7},"action":"remove","lines":["/"],"id":5539}],[{"start":{"row":213,"column":5},"end":{"row":213,"column":6},"action":"remove","lines":["*"],"id":5540}],[{"start":{"row":205,"column":4},"end":{"row":205,"column":5},"action":"insert","lines":["/"],"id":5541}],[{"start":{"row":205,"column":5},"end":{"row":205,"column":6},"action":"insert","lines":["*"],"id":5542}],[{"start":{"row":213,"column":5},"end":{"row":213,"column":6},"action":"insert","lines":["*"],"id":5543}],[{"start":{"row":213,"column":6},"end":{"row":213,"column":7},"action":"insert","lines":["/"],"id":5544}],[{"start":{"row":213,"column":6},"end":{"row":213,"column":7},"action":"remove","lines":["/"],"id":5545}],[{"start":{"row":213,"column":5},"end":{"row":213,"column":6},"action":"remove","lines":["*"],"id":5546}],[{"start":{"row":212,"column":7},"end":{"row":212,"column":8},"action":"insert","lines":["*"],"id":5547}],[{"start":{"row":212,"column":8},"end":{"row":212,"column":9},"action":"insert","lines":["/"],"id":5548}],[{"start":{"row":188,"column":2},"end":{"row":188,"column":3},"action":"remove","lines":[" "],"id":5549}],[{"start":{"row":205,"column":6},"end":{"row":206,"column":0},"action":"insert","lines":["",""],"id":5550},{"start":{"row":206,"column":0},"end":{"row":206,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":205,"column":6},"end":{"row":205,"column":7},"action":"insert","lines":[" "],"id":5551}],[{"start":{"row":205,"column":7},"end":{"row":205,"column":8},"action":"insert","lines":["N"],"id":5552}],[{"start":{"row":205,"column":8},"end":{"row":205,"column":9},"action":"insert","lines":["o"],"id":5553}],[{"start":{"row":205,"column":9},"end":{"row":205,"column":10},"action":"insert","lines":[" "],"id":5554}],[{"start":{"row":205,"column":10},"end":{"row":205,"column":11},"action":"insert","lines":["e"],"id":5555}],[{"start":{"row":205,"column":11},"end":{"row":205,"column":12},"action":"insert","lines":["a"],"id":5556}],[{"start":{"row":205,"column":12},"end":{"row":205,"column":13},"action":"insert","lines":["s"],"id":5557}],[{"start":{"row":205,"column":13},"end":{"row":205,"column":14},"action":"insert","lines":["y"],"id":5558}],[{"start":{"row":205,"column":14},"end":{"row":205,"column":15},"action":"insert","lines":[" "],"id":5559}],[{"start":{"row":205,"column":15},"end":{"row":205,"column":16},"action":"insert","lines":["s"],"id":5560}],[{"start":{"row":205,"column":16},"end":{"row":205,"column":17},"action":"insert","lines":["o"],"id":5561}],[{"start":{"row":205,"column":17},"end":{"row":205,"column":18},"action":"insert","lines":["l"],"id":5562}],[{"start":{"row":205,"column":18},"end":{"row":205,"column":19},"action":"insert","lines":["u"],"id":5563}],[{"start":{"row":205,"column":19},"end":{"row":205,"column":20},"action":"insert","lines":["t"],"id":5564}],[{"start":{"row":205,"column":20},"end":{"row":205,"column":21},"action":"insert","lines":["i"],"id":5565}],[{"start":{"row":205,"column":21},"end":{"row":205,"column":22},"action":"insert","lines":["o"],"id":5566}],[{"start":{"row":205,"column":22},"end":{"row":205,"column":23},"action":"insert","lines":["n"],"id":5567}],[{"start":{"row":205,"column":23},"end":{"row":205,"column":24},"action":"insert","lines":[" "],"id":5568}],[{"start":{"row":205,"column":24},"end":{"row":205,"column":25},"action":"insert","lines":["t"],"id":5569}],[{"start":{"row":205,"column":25},"end":{"row":205,"column":26},"action":"insert","lines":["o"],"id":5570}],[{"start":{"row":205,"column":26},"end":{"row":205,"column":27},"action":"insert","lines":["t"],"id":5571}],[{"start":{"row":205,"column":26},"end":{"row":205,"column":27},"action":"remove","lines":["t"],"id":5572}],[{"start":{"row":205,"column":26},"end":{"row":205,"column":27},"action":"insert","lines":[" "],"id":5573}],[{"start":{"row":205,"column":27},"end":{"row":205,"column":28},"action":"insert","lines":["t"],"id":5574}],[{"start":{"row":205,"column":28},"end":{"row":205,"column":29},"action":"insert","lines":["h"],"id":5575}],[{"start":{"row":205,"column":29},"end":{"row":205,"column":30},"action":"insert","lines":["i"],"id":5576}],[{"start":{"row":205,"column":30},"end":{"row":205,"column":31},"action":"insert","lines":["s"],"id":5577}],[{"start":{"row":205,"column":31},"end":{"row":205,"column":32},"action":"insert","lines":[" "],"id":5578}],[{"start":{"row":205,"column":32},"end":{"row":205,"column":33},"action":"insert","lines":["b"],"id":5579}],[{"start":{"row":205,"column":33},"end":{"row":205,"column":34},"action":"insert","lines":["u"],"id":5580}],[{"start":{"row":205,"column":34},"end":{"row":205,"column":35},"action":"insert","lines":["g"],"id":5581}],[{"start":{"row":205,"column":35},"end":{"row":205,"column":36},"action":"insert","lines":["!"],"id":5582}],[{"start":{"row":205,"column":6},"end":{"row":205,"column":7},"action":"remove","lines":[" "],"id":5583}],[{"start":{"row":205,"column":6},"end":{"row":206,"column":0},"action":"insert","lines":["",""],"id":5584},{"start":{"row":206,"column":0},"end":{"row":206,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":206,"column":33},"end":{"row":207,"column":0},"action":"insert","lines":["",""],"id":5585},{"start":{"row":207,"column":0},"end":{"row":207,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":207,"column":4},"end":{"row":207,"column":5},"action":"insert","lines":["W"],"id":5586}],[{"start":{"row":207,"column":5},"end":{"row":207,"column":6},"action":"insert","lines":["e"],"id":5587}],[{"start":{"row":207,"column":6},"end":{"row":207,"column":7},"action":"insert","lines":[" "],"id":5588}],[{"start":{"row":207,"column":7},"end":{"row":207,"column":8},"action":"insert","lines":["c"],"id":5589}],[{"start":{"row":207,"column":8},"end":{"row":207,"column":9},"action":"insert","lines":["o"],"id":5590}],[{"start":{"row":207,"column":9},"end":{"row":207,"column":10},"action":"insert","lines":["u"],"id":5591}],[{"start":{"row":207,"column":10},"end":{"row":207,"column":11},"action":"insert","lines":["l"],"id":5592}],[{"start":{"row":207,"column":11},"end":{"row":207,"column":12},"action":"insert","lines":["d"],"id":5593}],[{"start":{"row":207,"column":12},"end":{"row":207,"column":13},"action":"insert","lines":[" "],"id":5594}],[{"start":{"row":207,"column":13},"end":{"row":207,"column":14},"action":"insert","lines":["m"],"id":5595}],[{"start":{"row":207,"column":14},"end":{"row":207,"column":15},"action":"insert","lines":["a"],"id":5596}],[{"start":{"row":207,"column":15},"end":{"row":207,"column":16},"action":"insert","lines":["k"],"id":5597}],[{"start":{"row":207,"column":16},"end":{"row":207,"column":17},"action":"insert","lines":["e"],"id":5598}],[{"start":{"row":207,"column":17},"end":{"row":207,"column":18},"action":"insert","lines":[" "],"id":5599}],[{"start":{"row":207,"column":18},"end":{"row":207,"column":19},"action":"insert","lines":["t"],"id":5600}],[{"start":{"row":207,"column":19},"end":{"row":207,"column":20},"action":"insert","lines":["h"],"id":5601}],[{"start":{"row":207,"column":20},"end":{"row":207,"column":21},"action":"insert","lines":["e"],"id":5602}],[{"start":{"row":207,"column":21},"end":{"row":207,"column":22},"action":"insert","lines":[" "],"id":5603}],[{"start":{"row":207,"column":22},"end":{"row":207,"column":23},"action":"insert","lines":["e"],"id":5604}],[{"start":{"row":207,"column":23},"end":{"row":207,"column":24},"action":"insert","lines":["m"],"id":5605}],[{"start":{"row":207,"column":24},"end":{"row":207,"column":25},"action":"insert","lines":["i"],"id":5606}],[{"start":{"row":207,"column":25},"end":{"row":207,"column":26},"action":"insert","lines":["t"],"id":5607}],[{"start":{"row":207,"column":26},"end":{"row":207,"column":27},"action":"insert","lines":[" "],"id":5608}],[{"start":{"row":207,"column":27},"end":{"row":207,"column":28},"action":"insert","lines":["f"],"id":5609}],[{"start":{"row":207,"column":28},"end":{"row":207,"column":29},"action":"insert","lines":["u"],"id":5610}],[{"start":{"row":207,"column":29},"end":{"row":207,"column":30},"action":"insert","lines":["n"],"id":5611}],[{"start":{"row":207,"column":30},"end":{"row":207,"column":31},"action":"insert","lines":["c"],"id":5612}],[{"start":{"row":207,"column":31},"end":{"row":207,"column":32},"action":"insert","lines":["t"],"id":5613}],[{"start":{"row":207,"column":32},"end":{"row":207,"column":33},"action":"insert","lines":["i"],"id":5614}],[{"start":{"row":207,"column":33},"end":{"row":207,"column":34},"action":"insert","lines":["o"],"id":5615}],[{"start":{"row":207,"column":34},"end":{"row":207,"column":35},"action":"insert","lines":["n"],"id":5616}],[{"start":{"row":207,"column":35},"end":{"row":207,"column":36},"action":"insert","lines":[" "],"id":5617}],[{"start":{"row":206,"column":33},"end":{"row":207,"column":36},"action":"remove","lines":[""," We could make the emit function "],"id":5618}],[{"start":{"row":206,"column":4},"end":{"row":206,"column":33},"action":"remove","lines":["No easy solution to this bug!"],"id":5619}],[{"start":{"row":204,"column":7},"end":{"row":214,"column":9},"action":"remove","lines":[""," /*"," "," it(\"ping-pongs events with the same name\", () => {"," facades[0].on(\"a\", () => {"," facades[0].emit(\"a\");"," });"," facades[1].on(\"a\", listener.mock);"," facades[1].emit(\"a\");"," expect(listener.calls).to.have.length(1);"," });*/"],"id":5620}],[{"start":{"row":204,"column":7},"end":{"row":214,"column":9},"action":"insert","lines":[""," /*"," "," it(\"ping-pongs events with the same name\", () => {"," facades[0].on(\"a\", () => {"," facades[0].emit(\"a\");"," });"," facades[1].on(\"a\", listener.mock);"," facades[1].emit(\"a\");"," expect(listener.calls).to.have.length(1);"," });*/"],"id":5622}],[{"start":{"row":205,"column":0},"end":{"row":206,"column":4},"action":"remove","lines":[" /*"," "],"id":5623}],[{"start":{"row":204,"column":7},"end":{"row":205,"column":0},"action":"remove","lines":["",""],"id":5624}],[{"start":{"row":212,"column":8},"end":{"row":212,"column":9},"action":"remove","lines":["/"],"id":5625}],[{"start":{"row":212,"column":7},"end":{"row":212,"column":8},"action":"remove","lines":["*"],"id":5626}],[{"start":{"row":205,"column":0},"end":{"row":213,"column":0},"action":"remove","lines":[" it(\"ping-pongs events with the same name\", () => {"," facades[0].on(\"a\", () => {"," facades[0].emit(\"a\");"," });"," facades[1].on(\"a\", listener.mock);"," facades[1].emit(\"a\");"," expect(listener.calls).to.have.length(1);"," });",""],"id":5627,"ignore":true}],[{"start":{"row":205,"column":0},"end":{"row":213,"column":0},"action":"insert","lines":[" it(\"ping-pongs events with the same name\", () => {"," facades[0].on(\"a\", () => {"," facades[0].emit(\"a\");"," });"," facades[1].on(\"a\", listener.mock);"," facades[1].emit(\"a\");"," expect(listener.calls).to.have.length(1);"," });",""],"id":5628,"ignore":true}],[{"start":{"row":205,"column":0},"end":{"row":213,"column":0},"action":"remove","lines":[" it(\"ping-pongs events with the same name\", () => {"," facades[0].on(\"a\", () => {"," facades[0].emit(\"a\");"," });"," facades[1].on(\"a\", listener.mock);"," facades[1].emit(\"a\");"," expect(listener.calls).to.have.length(1);"," });",""],"id":5629,"ignore":true}],[{"start":{"row":205,"column":0},"end":{"row":213,"column":0},"action":"insert","lines":[" it(\"ping-pongs events with the same name\", () => {"," facades[0].on(\"a\", () => {"," facades[0].emit(\"a\");"," });"," facades[1].on(\"a\", listener.mock);"," facades[1].emit(\"a\");"," expect(listener.calls).to.have.length(1);"," });",""],"id":5630,"ignore":true}]]},"ace":{"folds":[{"start":{"row":12,"column":20},"end":{"row":18,"column":2},"placeholder":"..."},{"start":{"row":20,"column":22},"end":{"row":22,"column":4},"placeholder":"..."},{"start":{"row":23,"column":30},"end":{"row":26,"column":4},"placeholder":"..."},{"start":{"row":27,"column":43},"end":{"row":31,"column":4},"placeholder":"..."},{"start":{"row":32,"column":46},"end":{"row":40,"column":4},"placeholder":"..."},{"start":{"row":41,"column":70},"end":{"row":48,"column":4},"placeholder":"..."},{"start":{"row":49,"column":74},"end":{"row":56,"column":4},"placeholder":"..."},{"start":{"row":59,"column":30},"end":{"row":62,"column":4},"placeholder":"..."},{"start":{"row":63,"column":48},"end":{"row":69,"column":4},"placeholder":"..."},{"start":{"row":70,"column":64},"end":{"row":75,"column":4},"placeholder":"..."},{"start":{"row":76,"column":51},"end":{"row":85,"column":4},"placeholder":"..."},{"start":{"row":86,"column":52},"end":{"row":92,"column":4},"placeholder":"..."},{"start":{"row":93,"column":70},"end":{"row":100,"column":4},"placeholder":"..."},{"start":{"row":101,"column":74},"end":{"row":108,"column":4},"placeholder":"..."},{"start":{"row":111,"column":30},"end":{"row":114,"column":4},"placeholder":"..."},{"start":{"row":115,"column":53},"end":{"row":121,"column":4},"placeholder":"..."},{"start":{"row":122,"column":64},"end":{"row":127,"column":4},"placeholder":"..."},{"start":{"row":128,"column":52},"end":{"row":134,"column":4},"placeholder":"..."},{"start":{"row":135,"column":52},"end":{"row":141,"column":4},"placeholder":"..."},{"start":{"row":142,"column":70},"end":{"row":149,"column":4},"placeholder":"..."},{"start":{"row":150,"column":74},"end":{"row":157,"column":4},"placeholder":"..."},{"start":{"row":160,"column":30},"end":{"row":163,"column":4},"placeholder":"..."},{"start":{"row":164,"column":48},"end":{"row":170,"column":4},"placeholder":"..."},{"start":{"row":171,"column":46},"end":{"row":186,"column":4},"placeholder":"..."},{"start":{"row":190,"column":22},"end":{"row":196,"column":4},"placeholder":"..."},{"start":{"row":197,"column":35},"end":{"row":204,"column":4},"placeholder":"..."},{"start":{"row":205,"column":54},"end":{"row":212,"column":4},"placeholder":"..."}],"scrolltop":563,"scrollleft":0,"selection":{"start":{"row":215,"column":0},"end":{"row":215,"column":0},"isBackwards":false},"options":{"tabSize":2,"useSoftTabs":true,"guessTabSize":false,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":110,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1518083898233,"hash":"e6af6e5681c70e5da9d4629b92764b7a456920dc"} |
@@ -0,32 +1,61 @@ | ||
var | ||
EventEmitter = require("events").EventEmitter, | ||
util = require("util"); | ||
module.exports = Facade; | ||
Facade.Facade = Facade; | ||
util.inherits(Facade, EventEmitter); | ||
function Facade(core, permissions) { | ||
var suspended = false; | ||
var | ||
addedListeners = [], | ||
facade = this, | ||
suspendedFor = null; | ||
permissions = permissions || {}; | ||
this.emit = function (eventName) { | ||
checkPermissible(eventName, "emit"); | ||
this.on("newListener", function (event) { | ||
checkPermissible(event, "on"); | ||
// Stop facade from firing own events. This relies on core being sync. | ||
// Node's EventEmitters always are. | ||
suspended = true; | ||
// Don't add this listener to core more than once. | ||
if (addedListeners.indexOf(event) !== -1) { | ||
return; | ||
} | ||
addedListeners.push(event); | ||
core.emit.apply(core, arguments); | ||
suspended = false; | ||
}; | ||
this.on = function (eventName, cb) { | ||
checkPermissible(eventName, "on"); | ||
core.on(eventName, function () { | ||
if (suspended) { | ||
core.on(event, function () { | ||
// The event will be suspended if our overwritten emit method called it. | ||
// This stops listeners firing for this facade's own events. It relies on | ||
// the core being synchronous (which EventEmitters always are). | ||
if (suspendedFor === event) { | ||
return; | ||
} | ||
cb.apply(null, arguments); | ||
nativeEmit.apply(null, [event].concat(Array.from(arguments))); | ||
}); | ||
}); | ||
this.emit = function (event) { | ||
// This is called internally by node's events module. | ||
if (event === "newListener") { | ||
return nativeEmit.apply(null, arguments); | ||
} | ||
checkPermissible(event, "emit"); | ||
suspendedFor = event; | ||
core.emit.apply(core, arguments); | ||
suspendedFor = null; | ||
return this; | ||
}; | ||
function checkPermissible(eventName, type) { | ||
if (permissions[type] && permissions[type].indexOf(eventName) === -1) { | ||
throw new Error("Event '" + eventName + "' not in '" + type + "' array"); | ||
throw new Error("Event '" + eventName + "' not permitted by this facade." | ||
); | ||
} | ||
} | ||
function nativeEmit() { | ||
return EventEmitter.prototype.emit.apply(facade, arguments); | ||
} | ||
} |
{ | ||
"name": "edifice-facade", | ||
"version": "0.3.1", | ||
"version": "0.3.3", | ||
"description": "Create facades to separate modules in your application", | ||
"main": "lib/facade.js", | ||
"scripts": { | ||
"test": "grunt test" | ||
"test": "grunt" | ||
}, | ||
@@ -9,0 +9,0 @@ "repository": { |
@@ -41,3 +41,3 @@ edifice-facade | ||
But we don't want the database module firing an `"alertuser"` event. We create | ||
But we don't want the database module firing an `alertuser` event. We create | ||
internal application security with permissions. | ||
@@ -44,0 +44,0 @@ |
@@ -12,16 +12,22 @@ "use strict"; | ||
core, | ||
coreListener; | ||
listener; | ||
beforeEach(() => { | ||
core = new EventEmitter(); | ||
coreListener = pretendr(); | ||
core.on("a", coreListener.mock); | ||
listener = pretendr(); | ||
Facade = injectr("../lib/facade.js", {}, { | ||
console : console | ||
}).Facade; | ||
}); | ||
describe("#emit", () => { | ||
beforeEach(() => { | ||
Facade = injectr("../lib/facade.js").Facade; | ||
core.on("a", listener.mock); | ||
}); | ||
it("is chainable", () => { | ||
const facade = new Facade(core); | ||
expect(facade.emit("a")).to.equal(facade); | ||
}); | ||
it("passes events to the core", () => { | ||
const facade = new Facade(core); | ||
facade.emit("a"); | ||
expect(coreListener.calls).to.have.length(1); | ||
expect(listener.calls).to.have.length(1); | ||
}); | ||
@@ -33,3 +39,3 @@ it("passes arguments to the core", () => { | ||
facade.emit("a", args[0], args[1], args[2]); | ||
expect(coreListener.calls[0].args).to.have.property(0, args[0]) | ||
expect(listener.calls[0].args).to.have.property(0, args[0]) | ||
.and.to.have.property(1, args[1]) | ||
@@ -44,3 +50,3 @@ .and.to.have.property(2, args[2]); | ||
facade.emit("a"); | ||
}).to.throwError(/Event 'a' not in 'emit' array/); | ||
}).to.throwError(/Event 'a' not permitted by this facade./); | ||
}); | ||
@@ -57,6 +63,5 @@ it("doesn't throw an error when events are in the emit array", () => { | ||
describe("#on", () => { | ||
let listener; | ||
beforeEach(() => { | ||
Facade = injectr("../lib/facade.js").Facade; | ||
listener = pretendr(() => {}); | ||
it("is chainable", () => { | ||
const facade = new Facade(core); | ||
expect(facade.on("a", () => {})).to.equal(facade); | ||
}); | ||
@@ -67,3 +72,4 @@ it("listens for events on the core", () => { | ||
core.emit("b"); | ||
expect(listener.calls).to.have.length(1); | ||
core.emit("b"); | ||
expect(listener.calls).to.have.length(2); | ||
}); | ||
@@ -76,2 +82,12 @@ it("does not listen for events created by own emit", () => { | ||
}); | ||
it("uses multiple listeners once each", () => { | ||
const | ||
facade = new Facade(core), | ||
listener2 = pretendr(); | ||
facade.on("a", listener.mock); | ||
facade.on("a", listener2.mock); | ||
core.emit("a"); | ||
expect(listener.calls).to.have.length(1); | ||
expect(listener2.calls).to.have.length(1); | ||
}); | ||
it("has arguments passed from the core", () => { | ||
@@ -89,4 +105,4 @@ const arg = {}, | ||
expect(() => { | ||
facade.on("a"); | ||
}).to.throwError(/Event 'a' not in 'on' array/); | ||
facade.on("a", () => {}); | ||
}).to.throwError(/Event 'a' not permitted by this facade./); | ||
}); | ||
@@ -98,26 +114,102 @@ it("doesn't throw an error when events are in the 'on' array", () => { | ||
expect(() => { | ||
facade.on("a"); | ||
facade.on("a", () => {}); | ||
}).not.to.throwError(); | ||
}); | ||
}); | ||
describe("#once", () => { | ||
it("is chainable", () => { | ||
const facade = new Facade(core); | ||
expect(facade.once("a", () => {})).to.equal(facade); | ||
}); | ||
it("listens once for events on the core", () => { | ||
const facade = new Facade(core); | ||
facade.once("b", listener.mock); | ||
core.emit("b"); | ||
core.emit("b"); | ||
expect(listener.calls).to.have.length(1); | ||
}); | ||
it("does not listen for events created by own emit", () => { | ||
const facade = new Facade(core); | ||
facade.once("c", listener.mock); | ||
facade.emit("c"); | ||
expect(listener.calls).to.have.length(0); | ||
}); | ||
it("has arguments passed from the core", () => { | ||
const arg = {}, | ||
facade = new Facade(core); | ||
facade.once("c", listener.mock); | ||
core.emit("c", arg); | ||
expect(listener.calls[0].args[0]).to.equal(arg); | ||
}); | ||
it("continues listening after own emit", () => { | ||
const facade = new Facade(core); | ||
facade.once("c", listener.mock); | ||
facade.emit("c"); | ||
core.emit("c"); | ||
expect(listener.calls).to.have.length(1); | ||
}); | ||
it("throws an error when events aren't in the 'on' array", () => { | ||
const facade = new Facade(core, { | ||
on : [] | ||
}); | ||
expect(() => { | ||
facade.once("a", () => {}); | ||
}).to.throwError(/Event 'a' not permitted by this facade./); | ||
}); | ||
it("doesn't throw an error when events are in the 'on' array", () => { | ||
const facade = new Facade(core, { | ||
on : ["a"] | ||
}); | ||
expect(() => { | ||
facade.once("a", () => {}); | ||
}).not.to.throwError(); | ||
}); | ||
}); | ||
describe("#removeListener", () => { | ||
it("is chainable", () => { | ||
const facade = new Facade(core); | ||
expect(facade.removeListener("a", () => {})).to.equal(facade); | ||
}); | ||
it("removes the specified listener", () => { | ||
const facade = new Facade(core); | ||
facade.on("b", listener.mock); | ||
facade.removeListener("b", listener.mock); | ||
core.emit("b"); | ||
expect(listener.calls).to.have.length(0); | ||
}); | ||
it("leaves other listeners alone", () => { | ||
const | ||
facade = new Facade(core), | ||
listener2 = pretendr(), | ||
listener3 = pretendr(); | ||
facade | ||
.on("a", listener.mock) | ||
.on("b", listener2.mock) | ||
.on("a", listener3.mock) | ||
.removeListener("a", listener.mock); | ||
core.emit("a"); | ||
core.emit("b"); | ||
expect(listener.calls).to.have.length(0); | ||
expect(listener2.calls).to.have.length(1); | ||
expect(listener3.calls).to.have.length(1); | ||
}); | ||
}); | ||
describe("pair of facades", () => { | ||
let | ||
facades, | ||
listener; | ||
const facades = []; | ||
beforeEach(() => { | ||
Facade = injectr("../lib/facade.js").Facade; | ||
listener = pretendr(() => {}); | ||
facades = [new Facade(core), new Facade(core)]; | ||
let i = 2; | ||
facades.splice(0); | ||
while (i--) { | ||
facades.push(new Facade(core)); | ||
} | ||
}); | ||
it("will pass all arguments between them", () => { | ||
const args = [{}, [], "3"]; | ||
facades[0].on("a", listener.mock); | ||
facades[1].emit("a", args[0], args[1], args[2]); | ||
expect(listener.calls[0].args) | ||
.to.have.length(3) | ||
.and.to.have.property(0, args[0]) | ||
.and.to.have.property(1, args[1]) | ||
.and.to.have.property(2, args[2]); | ||
it("ping-pongs events", () => { | ||
facades[0].on("a", () => { | ||
facades[0].emit("b"); | ||
}); | ||
facades[1].on("b", listener.mock); | ||
facades[1].emit("a"); | ||
expect(listener.calls).to.have.length(1); | ||
}); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
64598
24
312
1
80