mongoid_sortable_tree 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/assets/javascripts/mongoid_sortable_tree.coffee +11 -11
- data/lib/mongoid_sortable_tree/version.rb +1 -1
- data/test/dummy/app/assets/javascripts/tags.js +5 -1
- data/test/dummy/app/views/tags/index.html.erb +3 -1
- data/test/dummy/config/mongoid.yml +1 -1
- data/test/dummy/config/routes.rb +1 -1
- data/test/dummy/log/development.log +963 -0
- data/test/dummy/log/test.log +139 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-0HV0GSNwH4zG0knvIdhLteFlXREeE_o5kfNtAfcCdA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-MOdNHU2iRqcLebfVgOtmm6Op-CBJkX7_9izvnk8-OI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-WRT6rp5M7Vc4NoEEBpAUTiBRkOveF33n_Yhn470Vyk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-ega40oPpR1k1z7UY-d0fwDgqUxW_lZ6Zgoxm-4USqs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-pVx3gPojknu0AbxKwaR3Wae2FIQaBa-AexVO4SgzGw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0IybqBnS1jCY3gEYF2NmoSaIFp6QONpSMpicjTdYiQU.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0syabnX8JNY965zZBjpZZhDzDKGJ3Sr4NobxC_nqx4M.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1TvcBiC8LC-bv0Q04KB2kgnFNjygkoxZFouL5m2Pzbo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1lWHyPuxBbGEfZcnMATWvLOM7Rr5DebvZH25L8qfHQo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1spSyD3OikScWv9J-BHxLwoIyoc50Ie4Wod4p2Li1x0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1z1VgvxpJbSMoVKPmi9aN9Weh6dswrnfv7QVlae8bJ8.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/21LeFUk9TibRVQjHiT-8TRt67IESeBJRilh27NziMEA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/23R09nxlbuxYg-T5f8Pqz4G-gw59CYH0Z1Q2z8Dx4Rg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2T6B2h37fWsL-7qQrh8yknozIYkSaTWlk0pgaooOpQ4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2lcbWDtv9nIFoQG9Wo5y7ekmEnLADJ__j0GBLSCrA2g.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2y1Ro-xGCx4gLVceeTGeOleTnkKwTCByAWsVW1U4WfE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/32dRrIsG64YyQaZMsIdvCtN6jSWMwifph9_D9dfal1g.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/37XRcH_p7zS-g1DBFtUbX4yQm7HCFgHIECYIVJOKxt4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/39-6OUBF4YcnvVjFEGiblZr5ACe_-H6Z2BuAv2JYZ6w.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3cQMtZ1UFA7egJzJLiuA8wl5toaJQ7K7hrugObYYT7c.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3swldWQY1il2Y3d2G2MDHf-Md2PP121Qf4JOImhy5bQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/48HD9p8-cfOWznNNoi3zIbziLAa6_4GEyuTVwLC9obo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4900aRfymwPYuHlrLaeTIQVm8RWk-EOYcYAgKdOOOwg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4ac57j3KQHBp1y__tjbwnl0p8zbzzpvbh1dIApEEhyQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5L_QNqpgf1zrFbUihKEK_CmV_noxJSNz-t4K-gr0tm8.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5WJltI7ryhkRfkUSosU9k7TqhzV2gcc9J748UrIx2ZQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5Wlpx2-4ERa0FIQ2Zjdp6mQ9OC__H33SBvSBCvd1kZY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5dwH57t4G1f3AjO-KHJaoIFi0EJkRkBH_whufzp2zyI.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6-HYV4Je9iJkrW5tXQ4XXeMcE5nw6HqkFQ8lOFCPr08.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6L938BXMHrCxtQ-oomkliXYYqLdlGLM_0TfHV7j3zuw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6YB9Qem46KIN6c49prHt1J074vY_ixYhKzNiOIUL9sk.cache +96 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6_YMAF2Pe24TfDwR_dnjexDszjqIAm-8_8XDmMKSc9o.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6j14PziGP5Jhmtuk-3QSm98CbeGbcvV3PDSkDK7juZY.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6qra6k98bkRDlZAfwlIwhJhWYfpslFLS6XkP0saIqhs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6zZYgtEEaAwH7JoY_2HFyp09ZIcxAdZxbN5FbczWhKU.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7ZDe_ZWIuNNq_anrL61geXVF-RkYxpDaautJZ4PNRMU.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7y4cMutUjvsRajuUH6chMkJxl_la57dX9JvdC419Hr8.cache +105 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/85OekZBZpa1yg03Fh-PPxjAmzNk4P-yd68m4Z86SnwE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/86wiUre96bScYh_FF1yzAas_gs1i59A33CuIF77tQlQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8ATlRvc4bXB0cqab7YPr3824Tr__uGAOayc5YtvwcD0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8H6c2YzcMe7c0MRIvdecRx33es3zbve7WMn2wzbj698.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8OuJKUXRDikNqR50Ya6IJuFjNu21xIiMlgehWBAvsi4.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8eTlBYICdcBY2GZUyZosTlAPJ0BC-Ba2tFs-PWtX0HY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8kEZI4lIDr6hjtQb7g6kvXS2ktuV6N8JSJiUbj-dgx8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8la3CJts912md9oInRCOFZvw0KeRqnA4dpLNfFngDj8.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9sXB5T_AgQXak0PUrcp_mHVdDx1EH0hxVkFeqoqxyTE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/AluDS_0a78wiZR_Rkza4gIrfo_Mz2Yg2SXu_8R_h_M8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/AxjixA6-9f4n8ME-cf9gJjeMmnC-Kxg5_nA4U1_hUfE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Be7YJLsrpsBNqxYahS_PJFm0qGwTlSCCgpLykubfT8E.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Bo9sDc_-3C0NalWh9nO34IHUU0NKyyPXEv5LUgHiKBw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/C3-GmW_WSqr8Rjx_iv5TGEwbf5prtzzuNlmveOKM_bM.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/C7z4b6BoY-tVwJ00DC_F0XBEDP7aTPQKOVG245huh4o.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Cv5EJ0VCocnwBh5hL4zQaEhXRI72stxzeryQ2xF32GQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DKzQtJDLcn9QpPRHLiBLT3ZFbU4TZyGwMjmHwUCBZkI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DUAXEuuuw2IZVL8j_htt4re-g2f9asusn7DYyoEyCSk.cache +98 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DwXSTidHRczPUY0YP37TUqg4nJbMtiph46SE8zWFcec.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DwyxZ7qJNPURvI7d9BwICZBS7LzE50wz9Z5LN5eo4CA.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EN-_m7R7Fc0K7oqVD8qoKg83ReaQU8dgDLcfzLRCuRo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EQQd7fUflplFn1GAGyoOzIoS_FT3RxN2rNxyTW6pTfY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EVwSpiVM_Ou6acLUeBjY9goEOwTWQh64dwrz048_lck.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EgKNg2d89Qs7wM_qilPe_LGvM41z1HPhiWTuPOFTVb8.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Erjwjh9QeU2h6_Ckv-yQvmk08PpbPgFz019pqX7aVIs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/F1RpGZ90fbOvKy_PW9pw4yG5uBQyddUJkIOUTDuKcus.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FPdQ-3txBt97XRBOks_axbLuL18RZ4NEKxdDJuSTU6Q.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/F_56ccMcf3YRrclSzw6bLN-2HINrsuFKo92hoFYF888.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Gun9qY1U39VFdzoML2EYrwOtzYuZeAQBxSTAcTTQxKg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/H7HBhMBhJ0PjB_eOK0UQBWAaEvhpESC2XOfKNKBTpkI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HBXso8z4ZhVd1xH5KCjF-tMl1c3gUH1prIRsZPwzpjc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HIvhcEcy8kGdJxLanpidekvcJGeTNz6nbB87r08jnCA.cache +103 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HJcmchPkNmkMPoUh-mqXkh5YyouW3m6nSCo6W4JXZP8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IPGXQQCD2AnwsjikA5a5l5AAhkqpO1FD9zVl5Eukdqk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/J4UKAv4K7j2WBMPxThZSJilhG9ZoTZXiRuRuIM4vKMY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JA9Gf1aBVqM66P-tc29_DKqifQUoJdSHDuPYTuLBV7U.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JOaeOEkP615RFZqkkkbGmKPMivNPIfMFYeHm2qqGnmk.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JSoC1HeWSCYOuGh0MeBLxv3Fh--RAOK-ZJqI2RnNNKc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JrCD0LQr5otr5iuVYvy94N2Ro20LLEqYhJ9R_0jwKf4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/K1SgUqnmoyX-dAmKrf38OaQEjXzHOkLTNrN3Wc6FeV8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KQ8uO644HKTaoZ0kTmo2NfPmW_wQTPUjeMZSsgoy8x4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KcaaHNmDMcnY45bm-6mpz0xIpCd59JodtgtEjJTqpcg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KltXsy5Zh6r4nzw5qTO_7IjFM_RkArZXVA-2ktS4A4s.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LJzDjyjymoPCmmbRIVvFnNj7L8vhCVKKogLc9GVyKYY.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/M0Sa0psrHpkL0dIiCYtzW2bSH_XMbpzAW3u50Jxnz10.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MPhOQixX32IGMHOJ-77q_w85-Ucr7TE0TstY8UJaCQ8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MQQW_Y6p-cACsqzoiLnX-IJfgPl4lKTMrObDFf_WmBg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/N-_1aBMWWrovDFoafhaGQjAkVzFq7YE5XGdqD7IoNCw.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NCJG9F7gI-hlavcsxx4jeFTMbpN-99G1GN9QfeLU8tM.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NJnXGgxUrlLHlC_8oqzTYaoIiHK3iqYuHXEGO3PMlEw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ne99CW1BmLLHeSJzz_xdEDIBmW8GC-8nA4af42obWqg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PgRDRUnIqn2kfUXXt2E3_HA9uNsMc4DEzjsBKFplIQ4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QLSWeYxJjNFKY7Ru-Jb8GzTRcqw5HSbTmiu-tujZsvM.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QTw2XjdtDxva6ofmQisCpMd3HLAysJ9WMcmN4gG1Efg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QVLqMgYzcF_yYZ2tLM221vVIL3ny01x6QPL1tm_uwMM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/R4c54fjgGChqD3yrcxNdJyy30-Fy7yrvkvsSPCPYgDI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RGZ1khl1M7d5zBTcua5ojzaDsaN4OiVhFHagrh4Xayc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RUfxq8D3oaH4bu_031Dz2Fb82fPH6imfY3HWCjGY90c.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RcP_-JS5lUax56DITOimJJWyryrf9_AqIA31XKecNTQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/S1PivaNFawelFjnmH0FnwvNqCUqB6hpN3PfZ6UZgr7Q.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SG6rjcj6LRXrPgwKr95B68IeHKnsiWBfLTYL2wN6LjE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SfmJuOWJ1Enw48Nsib_oLzSvrbtwMkqygFlA-Z59EHE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SnzY-_CRaRon_Lfmh0b6z_zOjBhvHfyCUlbGE1xW_hs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TOUQkNZACmIqM2aaB31Tc3A7n6RB40E2uxnU4sRtgtA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VgQcvFtqYGDvZdYQYaGGKdmIPQBtleLpWo2vYW9WXOI.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VtZtWDrWMHCbXqPA1j2dA_UlLdmNfsiJ7ipqqMjrctg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vwc7D4WHaufErGsIeBBuA5c7tj2TjoUBdNokl3ksJgs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/W18YCk5hZnF_xtDGoJkriz1Ywb--fRvclATs8s-0eo4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WVY64BVM_WSwMHlVbymmEhnVblfqTBq9gXSZws9bj7w.cache +99 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WnTL8vAY4iSVQY2-OC5mTg3e6xH6KXAJLbuwPA-USV0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WuFoBKQ-5EAQ4qW9p-Iiz4Iu8gbyoFn8kKAFvnYo0U0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XE4vOvs4udVwnDTR80Uxmj8E-91ylNERM2EU0vF5QSQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Y-_h6jGIGVTJtZSvyS6fANLACrl-m3WVnMomVDENGuI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Y1l1FE62hwAh8HcAOjmqYo-JsV03iVGpsjWjVUuexjI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YcFSD3aZf3HYL24-NaqYwrzz9cMW1jmUmG4Muqgz-U0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ycl1W3bSHE9zjTulbRUpNUxuCs_Ftm2DUbWVDtgsYN8.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ypa_WEDy6Sp47Mo5rAeENYcbZdVgMtMfUgpcyp8m53E.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZGsw7IZElLbT8HzLBYrAqNeb81JQ9Vkpx-0y3BpiwWo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_3KcouaHTpiwPrd2ktuUC-EqEbk79ut3NGMuReUX0a8.cache +101 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_Ug7le1NTNs_XHr-NBRJMXH2S_XOxvwRAfu7x1laGME.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_lWoKL4VmFI3HPxrTGLKXwv6f9My9u5zJqL990j2hPE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_rw2s46VzILFWqa4gPD6AYo_RqLmPfQFCWYqYr5DgcA.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_sIu05bZKrQs8BPymiitKvp6_ckxZRukaS7mqH50xw4.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/b6QDTv-tnB42TBgho04O2sHCYsd3flNufaMIUZE1Iso.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bOmywW1-7LErAcJUpFLZpBXDSFApkBXj45jWVZQY1Ag.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cNvHu4em4H9CNeEFoz2lOObbbsvXAQszojzu0s1kp1s.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cbAiNkExRCpgYNOmJNYuMWICW7wKt2_eS9YjVuUYlGY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ccJvdi4CLTIP6AICydDIANYpqR8AYPrAA9aNjwmVhyw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cyYEgXu1E5u1b74wuQ3kijGfNe0TVcxhOu3-nx4U8-U.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dDJluOvx-tdwKcmaxAge8jNnnCfNSjaIV7MI0n55wnk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/do_tNJOj7nX7B4yKv8IozRKZXKAfp9PH8gz73Ji0y-A.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eHTNaWizKMR3YaAJTyeN3V43u14wi5OmY_ixp1Y1RiU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eK3O6QqMxLmjPHOvbd94y5CguH-sDz5orNgbYdBDsl0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eY0pT6SQkSeJK63rGs5DluuJcMJyoPvu8Sfee4FcIv4.cache +105 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/edDOzOyDBdL-ILT2D3epERWQHdNaBzyn_rx4xatHmdU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fK8xKwPwmbU37gxgXP1VN0cY9g0xm_mrS3oj-UWaRiU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fVFpKVXbA25ytjL6Zp23HmLBiDlBxfN1qbP_D8AIqSw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fjJQqpcEfELzcB6V0ieXnjY2zc_Yse1-2XWK8pbSqr8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hDGwXC_rUK8hV5lgUsqH3DsnhD5tBm2OA1feaYhbsi8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i3LW2N_jAlSkZzz4TZLKTrsYWSD6F2gbwzSp1vlcg_k.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/iZVQRrkdYA-2EK1p4IcEttC47bzph4qgevoFZg6ZxZc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i_to4G0G_oLDWXN1hTi6VV-pguaAkfSN87vC3IvX7Z0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jUhlMAc-5531Vu74p-fOQrFgBLfa6oaM9TKhxIUE_KI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kFKVh36Zz6rg_Jnmgi9VS_GipUrXM2lX72L1AtSLKZg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kLIrMBvxyPY6fxho7jns90Rc34SdZKG2kXuywK85B_c.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mW4iWNEi6BN-Zt7xgfxUR-qUCHS4YEc4SqSTd1DiPrg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mWp1yiCCzfbdq7gp9hQo3qstkWdPk6kYk5TDurBXkTI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mzm2XZ02YYvQl31USNjOfyaxbmogWSpMIEvK-13MwLg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/n0FmIYEiL_H4Rdn9FJ7Hcm9oq7QfD2Qvqvxbz9mCNhY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nKwbk0oYwVhudFkWF78EmO8yDLeJHo7gQ0X7lbFUIlM.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/njIIKID3PibQ9wz4jAbQmPWXHWez9iB4H4qxZRTpMUk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/o8U4w00lQIw6hEJgSInTKb5l3ci_mlvJWKpXO_uS9pw.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/oIaF-n7uYcXkx0lCV5y1Mv2JY6RRNFoB8v1Y9vufb3k.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/p4G53SBBATb1l4--kAIYVORg3F_et7YSgmT2zwbFd0E.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pbf5AUeJF2GdFvp3ILI0-Z0Cq7BjpmBeVU9_eq7DU-Y.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ph17nHPguZgYv0qjLjMq7Gnd_tR40PvlfBCNuD5S1kA.cache +97 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/porN9V0r8lpJZ2WAeboTYa1bnG2pMG1trKvMF7sYXRA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qt1aaanK4dep1l54QxeZW7dzsUwA1ZdYAxJ2LaJaPdQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rhxK59rrB67ynokQoxFeoWzBfVRujzwDjvLSD1UShB0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rm7HNGWld6oB04TRTNF671PvXdyxrQKFSt9u0OSPYTs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/s-vnUnMz7GAPKwIaRezBlDIhnt-t_Yc2IOwtusiQO7k.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/sQiYEjAezegATe9aZicB5CdpDDk2-ei2_fY1-O5PiMQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/sXJ8wWZ4bGTlsaoapKHbDI9SuiPNmSiNeQxPyG5Gdzw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/sl2Obo6SjYpa7REmpUGhyxH1T5Kaih0iS1EaN_XnBJc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tBBb6EHZ17CdPorvaw9HA5Isp5emKHyv4w6dVYNeA64.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tQjX4I4pwnrtknPpWsTOQ92b-I_rJFmkRmniVx-Aoww.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tjVhZOvCOx0_nP9jBKjtfs7Lo6UJmx9cS7UZnO3VEI0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ttqajwO8HhrZ3Fa6huTMcLeXhAoRC3ROR4ZoHdq_51s.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/txJ5VztVP4qSat5UB0vEcVL7jOSE5BkJpwjDu7s8jbQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/u3zehXrT4vrHpY9Na0G4uGcHpd26EmsR69bbOT57PJQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uSlIbsDBVMA1-ybp92d1Mx0AGR0wwoTRrpvBClR60Rw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/v65ncv-yxOZGeX_dKSz6aehJ6biAGaPqRaQR2wqjaG0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/viajYuU3hp-5shHzTNi8RM9XBSWQaHG58pJgiT1uzVk.cache +105 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vp1yBAsKQLUdoAZkEqoqCfIAhxY6e2Kd8uxSyk8qsMI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/w9EkEUBZGRDqKYLNebGOrA-1bIh8tCBvfZDJXYqHiT0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wGGGcuFWnjoSVpTUFjeSXxfHFi4_deeSD9B2JxVUDH4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xSZLzk7FQLPkSlRkQ9Ib_UQ5EXsTC_FHOarZGp9cSfs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xdK6V43TFhV2h7UcTH5epqOvX_n8lWYjlm3fgvk51Ks.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xpuYNFnGpiO5oSjKMKSjR3vFw9DUfvH0IOB1VU3Vfz8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yiEwDpZEeoKR8e7b0CVy5V-f1AACU2qQBMQmukydyEk.cache +105 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zZMsLSRwvUA0p8xE9xuNT2tTyP50CuiVOFXG3T2p3rQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zcDz5_FBRqd16eHPpoOzr4B4tf6diKggoeqFpvdnYUg.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/3fQQbFIWOutp36r9z4oL8-mHbCDi_drlTdlQbxn6f08.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6YB9Qem46KIN6c49prHt1J074vY_ixYhKzNiOIUL9sk.cache +96 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/9JkCqcFkns8hoM-neIac4qlFpaTdmkNvnXcG7xK2suk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FF5Y0nqJRIt1YvgSMFi4DPDynC44-4V-u_7nZdcaU-U.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FduFXT5_i0OBuLusaqQAzZIRyPRcjVp1MXexGCYdSwY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HqQVEDQDQEaNad9-ecE8DbJY61a2AzOFLnjGepIr8lg.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IvlF7ZH65VdvTVLjx5tPDTUOhSqbcZoAmknBu_kp83c.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Ne99CW1BmLLHeSJzz_xdEDIBmW8GC-8nA4af42obWqg.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UqIAfFjoURWFuuiXljXwCGwA8UzQdDIF_cpTriwH6Us.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_sIu05bZKrQs8BPymiitKvp6_ckxZRukaS7mqH50xw4.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/g_NuQ1_5SRRq3PhZmkMbV8xX3Tbx4iMnQ40_e2ICN9Q.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/sGflhkdCCceChPsjy4PRmlrX795UDyhVifoTECTPYrA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tQjX4I4pwnrtknPpWsTOQ92b-I_rJFmkRmniVx-Aoww.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yLDr6LmcQrVeFWkDOTbZlqPX7Ja0a-u5mANdUcd222Y.cache +2 -0
- data/test/features/can_crud_test.rb +8 -0
- metadata +388 -2
@@ -0,0 +1 @@
|
|
1
|
+
"%��gɠ��ʆ����K��./���&�ԓ D
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/tags.js?type=application/javascript&pipeline=self&id=580ddf76834911652acf81014faf24665c316c5a5b468f5fdef9ddce8f15f91a:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=f76dba82246dc46157ad016b7ad85f4b2acf4caa8d801ae31c37db31fbf7b003:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
"%�~��2%�a�5�p���L�Je5�-,$�o\2
|
@@ -0,0 +1,105 @@
|
|
1
|
+
I"�
|
2
|
+
jQuery(function() {
|
3
|
+
var jstree_helper;
|
4
|
+
jstree_helper = window.jstree_helper;
|
5
|
+
if (!jstree_helper) {
|
6
|
+
return jstree_helper = window.jstree_helper = {
|
7
|
+
default_setting: {
|
8
|
+
update_url: '/tags',
|
9
|
+
create_url: '/tags',
|
10
|
+
show_url: '/tags',
|
11
|
+
destroy_url: '/tags',
|
12
|
+
index_url: '/tags',
|
13
|
+
check_url: '/tags/check',
|
14
|
+
_new_node_id: ''
|
15
|
+
},
|
16
|
+
mregeSettings: function(optsArr) {
|
17
|
+
var curr, idx, k, key, len, setting;
|
18
|
+
setting = this.default_setting;
|
19
|
+
optsArr = typeof optsArr !== 'undefined' ? [optsArr] : [];
|
20
|
+
idx = 0;
|
21
|
+
len = optsArr.length;
|
22
|
+
curr = void 0;
|
23
|
+
key = void 0;
|
24
|
+
while (idx < len) {
|
25
|
+
curr = optsArr[idx];
|
26
|
+
for (key in curr) {
|
27
|
+
k = key;
|
28
|
+
setting[k] = curr[k];
|
29
|
+
}
|
30
|
+
idx++;
|
31
|
+
}
|
32
|
+
return setting;
|
33
|
+
},
|
34
|
+
create: function(parent_id, text) {
|
35
|
+
return $.ajax({
|
36
|
+
url: this.default_setting.create_url,
|
37
|
+
data: {
|
38
|
+
"text": data,
|
39
|
+
"parent_id": parent_id
|
40
|
+
},
|
41
|
+
type: 'POST'
|
42
|
+
});
|
43
|
+
},
|
44
|
+
init: function(target, args) {
|
45
|
+
var settings;
|
46
|
+
settings = this.mregeSettings(args);
|
47
|
+
$(target).jstree({
|
48
|
+
'core': {
|
49
|
+
'animation': 0,
|
50
|
+
'check_callback': function(operation, node, node_parent, info) {
|
51
|
+
if (this.get_buffer().mode === 'copy_node') {
|
52
|
+
operation = 'copy_node';
|
53
|
+
}
|
54
|
+
return $.when($.ajax({
|
55
|
+
url: settings.check_url,
|
56
|
+
data: {
|
57
|
+
"operation": operation,
|
58
|
+
"node": node,
|
59
|
+
"node_parent": node_parent,
|
60
|
+
"info": info
|
61
|
+
},
|
62
|
+
type: 'GET',
|
63
|
+
target: target,
|
64
|
+
node: node,
|
65
|
+
node_parent: node_parent
|
66
|
+
})).then(function(data, textStatus, jqXHR) {
|
67
|
+
var new_node_id;
|
68
|
+
if (textStatus === 'success') {
|
69
|
+
if (data.operation === 'create_node') {
|
70
|
+
debugger;
|
71
|
+
if (this.node_parent.id !== '#') {
|
72
|
+
new_node_id = $('#' + this.node_parent.id).find("input[value='" + this.node.text + "']").closest('li').attr('id');
|
73
|
+
$.jstree.reference(this.target).set_id(new_node_id, data.id);
|
74
|
+
}
|
75
|
+
this.default_setting._new_node_id = data.id;
|
76
|
+
}
|
77
|
+
if (data.operation === 'copy_node') {
|
78
|
+
location.reload();
|
79
|
+
}
|
80
|
+
return true;
|
81
|
+
}
|
82
|
+
}).fail(function() {
|
83
|
+
$.jstree.reference(this.target).refresh();
|
84
|
+
return false;
|
85
|
+
});
|
86
|
+
},
|
87
|
+
'themes': {
|
88
|
+
'stripes': true
|
89
|
+
}
|
90
|
+
},
|
91
|
+
'dnd': {
|
92
|
+
'check_while_dragging': false
|
93
|
+
},
|
94
|
+
'plugins': ['contextmenu', 'dnd', 'search', 'state', 'wholerow', 'changed']
|
95
|
+
});
|
96
|
+
return $(target).on('create_node.jstree', function(event, node) {
|
97
|
+
debugger;
|
98
|
+
});
|
99
|
+
}
|
100
|
+
};
|
101
|
+
}
|
102
|
+
});
|
103
|
+
|
104
|
+
}).call(this);
|
105
|
+
:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
"%gF�Z�H!�}��=8�o���.z� b�`[�
|
@@ -0,0 +1 @@
|
|
1
|
+
"%:k�mVqI���0�-�g�i�����F�
|
@@ -0,0 +1 @@
|
|
1
|
+
"%`�9i��x�x��
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/AlohaCC/Dropbox/rails_projects/mongoid_sortable_tree/app/assets/javascripts/mongoid_sortable_tree.coffee?type=application/javascript&pipeline=self&id=99209ef094bfb2491693f5ce854dbf43418d21c25601397a47bae2eb53df2d50:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/jstree-rails-4-3.2.1/vendor/assets/javascripts/jstree.js?type=application/javascript&pipeline=self&id=93efab84f0aed9f9756fc6fe00f0de4755e0c72bf7c9b4dfb697a78c85bb7398:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
"%֧�NTZq�בH�L��#p3��Jg!��)
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{&I"environment-version:ETTI"environment-paths;TTI"Lprocessors:type=text/css&file_type=text/css&engines=.scss&pipeline=self;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/jstree-rails-4-3.2.1/vendor/assets/stylesheets/jstree-default.scss;TTI",file-digest://app/assets/images/default;TTI"1file-digest://app/assets/images/default/32px;TTI"1file-digest://app/assets/javascripts/default;TTI"6file-digest://app/assets/javascripts/default/32px;TTI"1file-digest://app/assets/stylesheets/default;TTI"6file-digest://app/assets/stylesheets/default/32px;TTI"~file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/coffee-rails-4.1.0/lib/assets/javascripts/default;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/coffee-rails-4.1.0/lib/assets/javascripts/default/32px;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/jquery-rails-4.0.5/vendor/assets/javascripts/default;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/jquery-rails-4.0.5/vendor/assets/javascripts/default/32px;TTI"~file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/jstree-rails-4-3.2.1/vendor/assets/images/default;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/jstree-rails-4-3.2.1/vendor/assets/images/default/32px;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/jstree-rails-4-3.2.1/vendor/assets/images/default/32px.png;TTI"2processors:type=image/png&file_type=image/png;TTI"5file-digest://app/assets/images/default/throbber;TTI":file-digest://app/assets/javascripts/default/throbber;TTI":file-digest://app/assets/stylesheets/default/throbber;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/coffee-rails-4.1.0/lib/assets/javascripts/default/throbber;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/jquery-rails-4.0.5/vendor/assets/javascripts/default/throbber;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/jstree-rails-4-3.2.1/vendor/assets/images/default/throbber;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/jstree-rails-4-3.2.1/vendor/assets/images/default/throbber.gif;TTI"2processors:type=image/gif&file_type=image/gif;TTI"1file-digest://app/assets/images/default/40px;TTI"6file-digest://app/assets/javascripts/default/40px;TTI"6file-digest://app/assets/stylesheets/default/40px;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/coffee-rails-4.1.0/lib/assets/javascripts/default/40px;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/jquery-rails-4.0.5/vendor/assets/javascripts/default/40px;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/jstree-rails-4-3.2.1/vendor/assets/images/default/40px;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/jstree-rails-4-3.2.1/vendor/assets/images/default/40px.png;TT
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=8e78db97ffcb814ed1f93b1427e684d00f562dac28ad826bf3483ba8ac2199ec:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=3ec1ae2928bc85f9a7c22f97e5cb4e103c1461c799a8001f7c7d45d6359123bb:ET
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
"%�~11O ���Ώ�42L�E�����t�\���
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=eb0fa78bc0f3659d4c5640de849388714d96bcc1d14fc6407799cfb0ea951e8e:ET
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{ I"environment-version:ETTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"}file-digest:///Users/AlohaCC/Dropbox/rails_projects/mongoid_sortable_tree/app/assets/javascripts/mongoid_sortable_tree.coffee;TT
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/AlohaCC/Dropbox/rails_projects/mongoid_sortable_tree/app/assets/javascripts/mongoid_sortable_tree.coffee?type=application/javascript&pipeline=self&id=84f2b4ba5a354edbc7f19425e1324a487b8efaf72c80395a9f8e1cdd24077c79:ET
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=b9ab7ffbd3e0f6ab2ff7ea1b925ac9e802e8900cbd939a95f3f8ef20850eda43:ET
|
@@ -0,0 +1,97 @@
|
|
1
|
+
I"L(function() {
|
2
|
+
jQuery(function() {
|
3
|
+
var jstree_helper;
|
4
|
+
jstree_helper = window.jstree_helper;
|
5
|
+
if (!jstree_helper) {
|
6
|
+
return jstree_helper = window.jstree_helper = {
|
7
|
+
default_setting: {
|
8
|
+
update_url: '/tags',
|
9
|
+
create_url: '/tags',
|
10
|
+
show_url: '/tags',
|
11
|
+
destroy_url: '/tags',
|
12
|
+
index_url: '/tags',
|
13
|
+
check_url: '/tags/check'
|
14
|
+
},
|
15
|
+
mregeSettings: function(optsArr) {
|
16
|
+
var curr, idx, k, key, len, setting;
|
17
|
+
setting = this.default_setting;
|
18
|
+
optsArr = typeof optsArr !== 'undefined' ? [optsArr] : [];
|
19
|
+
idx = 0;
|
20
|
+
len = optsArr.length;
|
21
|
+
curr = void 0;
|
22
|
+
key = void 0;
|
23
|
+
while (idx < len) {
|
24
|
+
curr = optsArr[idx];
|
25
|
+
for (key in curr) {
|
26
|
+
k = key;
|
27
|
+
setting[k] = curr[k];
|
28
|
+
}
|
29
|
+
idx++;
|
30
|
+
}
|
31
|
+
return setting;
|
32
|
+
},
|
33
|
+
create: function(parent_id, text) {
|
34
|
+
return $.ajax({
|
35
|
+
url: this.default_setting.create_url,
|
36
|
+
data: {
|
37
|
+
"text": data,
|
38
|
+
"parent_id": parent_id
|
39
|
+
},
|
40
|
+
type: 'POST'
|
41
|
+
});
|
42
|
+
},
|
43
|
+
init: function(target, args) {
|
44
|
+
var settings;
|
45
|
+
settings = this.mregeSettings(args);
|
46
|
+
return $(target).jstree({
|
47
|
+
'core': {
|
48
|
+
'animation': 0,
|
49
|
+
'check_callback': function(operation, node, node_parent, info) {
|
50
|
+
if (this.get_buffer().mode === 'copy_node') {
|
51
|
+
operation = 'copy_node';
|
52
|
+
}
|
53
|
+
return $.when($.ajax({
|
54
|
+
url: settings.check_url,
|
55
|
+
data: {
|
56
|
+
"operation": operation,
|
57
|
+
"node": node,
|
58
|
+
"node_parent": node_parent,
|
59
|
+
"info": info
|
60
|
+
},
|
61
|
+
type: 'GET',
|
62
|
+
target: target,
|
63
|
+
node: node,
|
64
|
+
node_parent: node_parent
|
65
|
+
})).then(function(data, textStatus, jqXHR) {
|
66
|
+
var new_node_id;
|
67
|
+
if (textStatus === 'success') {
|
68
|
+
if (data.operation === 'create_node') {
|
69
|
+
new_node_id = $('#' + this.node_parent.id).find("input[value='" + this.node.text + "']").closest('li').attr('id');
|
70
|
+
$.jstree.reference(this.target).set_id(new_node_id, data.id);
|
71
|
+
}
|
72
|
+
if (data.operation === 'copy_node') {
|
73
|
+
location.reload();
|
74
|
+
}
|
75
|
+
return true;
|
76
|
+
}
|
77
|
+
}).fail(function() {
|
78
|
+
$.jstree.reference(this.target).refresh();
|
79
|
+
return false;
|
80
|
+
});
|
81
|
+
},
|
82
|
+
'themes': {
|
83
|
+
'stripes': true
|
84
|
+
}
|
85
|
+
},
|
86
|
+
'dnd': {
|
87
|
+
'check_while_dragging': false
|
88
|
+
},
|
89
|
+
'plugins': ['contextmenu', 'dnd', 'search', 'state', 'wholerow', 'changed']
|
90
|
+
});
|
91
|
+
}
|
92
|
+
};
|
93
|
+
}
|
94
|
+
});
|
95
|
+
|
96
|
+
}).call(this);
|
97
|
+
:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/AlohaCC/Dropbox/rails_projects/mongoid_sortable_tree/app/assets/javascripts/mongoid_sortable_tree.coffee?type=application/javascript&pipeline=self&id=1526cbb72e88fe45c5c89eaa0f899c8d1a46a8b27c5c28d0e6490764859c5c55:ET
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
"%�F�( 7�.!��IO!��%��2;=��G,��
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/AlohaCC/Dropbox/rails_projects/mongoid_sortable_tree/app/assets/javascripts/mongoid_sortable_tree.coffee?type=application/javascript&pipeline=self&id=0a7822c34d9d0a0b2fe80345b3715bafff89fd7392316787d95e85f8bae7a0a7:ET
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
"%�S��o'̸�W�� �U�B�p������Y�
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
"%��B�����șo�$'�A�d��L���xR�U
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=e851c3af31a030a0f16c9add0df34c079362e2cbc195568867b3cd2b3870ea07:ET
|
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"�file-digest:///Users/AlohaCC/.rvm/gems/ruby-2.2.2@mongoid_sortable_tree/gems/jquery-rails-4.0.5/vendor/assets/javascripts/jquery.js;TT
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
"%���� x��Q�`Q������
|
@@ -0,0 +1 @@
|
|
1
|
+
"%�y����"�Yۈd7��|�13;MFL 5���
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=083988888630a938def28f50b7798410fdb4273cf512843d7b0d003e1e12f294:ET
|
@@ -0,0 +1,105 @@
|
|
1
|
+
I"�
|
2
|
+
jQuery(function() {
|
3
|
+
var jstree_helper;
|
4
|
+
jstree_helper = window.jstree_helper;
|
5
|
+
if (!jstree_helper) {
|
6
|
+
return jstree_helper = window.jstree_helper = {
|
7
|
+
default_setting: {
|
8
|
+
update_url: '/tags',
|
9
|
+
create_url: '/tags',
|
10
|
+
show_url: '/tags',
|
11
|
+
destroy_url: '/tags',
|
12
|
+
index_url: '/tags',
|
13
|
+
check_url: '/tags/check',
|
14
|
+
_new_node_id: ''
|
15
|
+
},
|
16
|
+
mregeSettings: function(optsArr) {
|
17
|
+
var curr, idx, k, key, len, setting;
|
18
|
+
setting = this.default_setting;
|
19
|
+
optsArr = typeof optsArr !== 'undefined' ? [optsArr] : [];
|
20
|
+
idx = 0;
|
21
|
+
len = optsArr.length;
|
22
|
+
curr = void 0;
|
23
|
+
key = void 0;
|
24
|
+
while (idx < len) {
|
25
|
+
curr = optsArr[idx];
|
26
|
+
for (key in curr) {
|
27
|
+
k = key;
|
28
|
+
setting[k] = curr[k];
|
29
|
+
}
|
30
|
+
idx++;
|
31
|
+
}
|
32
|
+
return setting;
|
33
|
+
},
|
34
|
+
create: function(parent_id, text) {
|
35
|
+
return $.ajax({
|
36
|
+
url: this.default_setting.create_url,
|
37
|
+
data: {
|
38
|
+
"text": data,
|
39
|
+
"parent_id": parent_id
|
40
|
+
},
|
41
|
+
type: 'POST'
|
42
|
+
});
|
43
|
+
},
|
44
|
+
init: function(target, args) {
|
45
|
+
var settings;
|
46
|
+
settings = this.mregeSettings(args);
|
47
|
+
$(target).jstree({
|
48
|
+
'core': {
|
49
|
+
'animation': 0,
|
50
|
+
'check_callback': function(operation, node, node_parent, info) {
|
51
|
+
if (this.get_buffer().mode === 'copy_node') {
|
52
|
+
operation = 'copy_node';
|
53
|
+
}
|
54
|
+
return $.when($.ajax({
|
55
|
+
url: settings.check_url,
|
56
|
+
data: {
|
57
|
+
"operation": operation,
|
58
|
+
"node": node,
|
59
|
+
"node_parent": node_parent,
|
60
|
+
"info": info
|
61
|
+
},
|
62
|
+
type: 'GET',
|
63
|
+
target: target,
|
64
|
+
node: node,
|
65
|
+
node_parent: node_parent
|
66
|
+
})).then(function(data, textStatus, jqXHR) {
|
67
|
+
var new_node_id;
|
68
|
+
if (textStatus === 'success') {
|
69
|
+
if (data.operation === 'create_node') {
|
70
|
+
debugger;
|
71
|
+
if (this.node_parent.id !== '#') {
|
72
|
+
new_node_id = $('#' + this.node_parent.id).find("input[value='" + this.node.text + "']").closest('li').attr('id');
|
73
|
+
$.jstree.reference(this.target).set_id(new_node_id, data.id);
|
74
|
+
}
|
75
|
+
this.default_setting._new_node_id = data.id;
|
76
|
+
}
|
77
|
+
if (data.operation === 'copy_node') {
|
78
|
+
location.reload();
|
79
|
+
}
|
80
|
+
return true;
|
81
|
+
}
|
82
|
+
}).fail(function() {
|
83
|
+
$.jstree.reference(this.target).refresh();
|
84
|
+
return false;
|
85
|
+
});
|
86
|
+
},
|
87
|
+
'themes': {
|
88
|
+
'stripes': true
|
89
|
+
}
|
90
|
+
},
|
91
|
+
'dnd': {
|
92
|
+
'check_while_dragging': false
|
93
|
+
},
|
94
|
+
'plugins': ['contextmenu', 'dnd', 'search', 'state', 'wholerow', 'changed']
|
95
|
+
});
|
96
|
+
return $(target).on('create_node.jstree', function(event, data) {
|
97
|
+
return settings._new_node_id = node.node.id;
|
98
|
+
});
|
99
|
+
}
|
100
|
+
};
|
101
|
+
}
|
102
|
+
});
|
103
|
+
|
104
|
+
}).call(this);
|
105
|
+
:ET
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&id=b9a836bcafdc033570431e883cbde5b6c982b3b2a424af5aca7bf92d48197d95:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
"%��[VhhSՊ��s�}��-�5`N&��堳
|
@@ -0,0 +1 @@
|
|
1
|
+
I"}app/assets/stylesheets/application.css?type=text/css&id=a44532d07413887a91c25fc737d59be6e9e409da78c9970b628be4fc530fc4a2:ET
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&id=5c655abe5932e324d450d6e1fc989593bfc70bc2154fd58f326e5b97faa2a321:ET
|
@@ -0,0 +1,105 @@
|
|
1
|
+
I"�
|
2
|
+
jQuery(function() {
|
3
|
+
var jstree_helper;
|
4
|
+
jstree_helper = window.jstree_helper;
|
5
|
+
if (!jstree_helper) {
|
6
|
+
return jstree_helper = window.jstree_helper = {
|
7
|
+
default_setting: {
|
8
|
+
update_url: '/tags',
|
9
|
+
create_url: '/tags',
|
10
|
+
show_url: '/tags',
|
11
|
+
destroy_url: '/tags',
|
12
|
+
index_url: '/tags',
|
13
|
+
check_url: '/tags/check',
|
14
|
+
_new_node_id: ''
|
15
|
+
},
|
16
|
+
mregeSettings: function(optsArr) {
|
17
|
+
var curr, idx, k, key, len, setting;
|
18
|
+
setting = this.default_setting;
|
19
|
+
optsArr = typeof optsArr !== 'undefined' ? [optsArr] : [];
|
20
|
+
idx = 0;
|
21
|
+
len = optsArr.length;
|
22
|
+
curr = void 0;
|
23
|
+
key = void 0;
|
24
|
+
while (idx < len) {
|
25
|
+
curr = optsArr[idx];
|
26
|
+
for (key in curr) {
|
27
|
+
k = key;
|
28
|
+
setting[k] = curr[k];
|
29
|
+
}
|
30
|
+
idx++;
|
31
|
+
}
|
32
|
+
return setting;
|
33
|
+
},
|
34
|
+
create: function(parent_id, text) {
|
35
|
+
return $.ajax({
|
36
|
+
url: this.default_setting.create_url,
|
37
|
+
data: {
|
38
|
+
"text": data,
|
39
|
+
"parent_id": parent_id
|
40
|
+
},
|
41
|
+
type: 'POST'
|
42
|
+
});
|
43
|
+
},
|
44
|
+
init: function(target, args) {
|
45
|
+
var settings;
|
46
|
+
settings = this.mregeSettings(args);
|
47
|
+
$(target).jstree({
|
48
|
+
'core': {
|
49
|
+
'animation': 0,
|
50
|
+
'check_callback': function(operation, node, node_parent, info) {
|
51
|
+
if (this.get_buffer().mode === 'copy_node') {
|
52
|
+
operation = 'copy_node';
|
53
|
+
}
|
54
|
+
return $.when($.ajax({
|
55
|
+
url: settings.check_url,
|
56
|
+
data: {
|
57
|
+
"operation": operation,
|
58
|
+
"node": node,
|
59
|
+
"node_parent": node_parent,
|
60
|
+
"info": info
|
61
|
+
},
|
62
|
+
type: 'POST',
|
63
|
+
target: target,
|
64
|
+
node: node,
|
65
|
+
node_parent: node_parent
|
66
|
+
})).then(function(data, textStatus, jqXHR) {
|
67
|
+
var new_node_id;
|
68
|
+
if (textStatus === 'success') {
|
69
|
+
if (data.operation === 'create_node') {
|
70
|
+
debugger;
|
71
|
+
if (this.node_parent.id !== '#') {
|
72
|
+
new_node_id = $('#' + this.node_parent.id).find("input[value='" + this.node.text + "']").closest('li').attr('id');
|
73
|
+
$.jstree.reference(this.target).set_id(new_node_id, data.id);
|
74
|
+
}
|
75
|
+
this.default_setting._new_node_id = data.id;
|
76
|
+
}
|
77
|
+
if (data.operation === 'copy_node') {
|
78
|
+
location.reload();
|
79
|
+
}
|
80
|
+
return true;
|
81
|
+
}
|
82
|
+
}).fail(function() {
|
83
|
+
$.jstree.reference(this.target).refresh();
|
84
|
+
return false;
|
85
|
+
});
|
86
|
+
},
|
87
|
+
'themes': {
|
88
|
+
'stripes': true
|
89
|
+
}
|
90
|
+
},
|
91
|
+
'dnd': {
|
92
|
+
'check_while_dragging': false
|
93
|
+
},
|
94
|
+
'plugins': ['contextmenu', 'dnd', 'search', 'state', 'wholerow', 'changed']
|
95
|
+
});
|
96
|
+
return $(target).on('create_node.jstree', function(event, data) {
|
97
|
+
return settings._new_node_id = data.node.id;
|
98
|
+
});
|
99
|
+
}
|
100
|
+
};
|
101
|
+
}
|
102
|
+
});
|
103
|
+
|
104
|
+
}).call(this);
|
105
|
+
:ET
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/tags.js?type=application/javascript&pipeline=self&id=7246defa6694bd853b842eeb516a1a13a7b80cabd755518b6606b14932bf5622:ET
|