diff --git a/vendor/backbone/.bower.json b/vendor/backbone/.bower.json deleted file mode 100644 index 7cc42d12b..000000000 --- a/vendor/backbone/.bower.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "backbone", - "homepage": "https://github.com/jashkenas/backbone", - "version": "1.1.0", - "_release": "1.1.0", - "_resolution": { - "type": "version", - "tag": "1.1.0", - "commit": "0a4399e3de5cb2ab75a0338669582f18c1fae3ae" - }, - "_source": "git://github.com/jashkenas/backbone.git", - "_target": "~1.1.0", - "_originalSource": "backbone" -} \ No newline at end of file diff --git a/vendor/backbone/.gitignore b/vendor/backbone/.gitignore deleted file mode 100644 index 232978d0c..000000000 --- a/vendor/backbone/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -raw -*.sw? -.DS_Store -node_modules diff --git a/vendor/backbone/.npmignore b/vendor/backbone/.npmignore deleted file mode 100644 index 6bcb69f50..000000000 --- a/vendor/backbone/.npmignore +++ /dev/null @@ -1,7 +0,0 @@ -test/ -Rakefile -docs/ -raw/ -examples/ -index.html -.jshintrc diff --git a/vendor/backbone/.travis.yml b/vendor/backbone/.travis.yml deleted file mode 100644 index 99dc7712c..000000000 --- a/vendor/backbone/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -node_js: - - 0.8 -notifications: - email: false diff --git a/vendor/backbone/CNAME b/vendor/backbone/CNAME deleted file mode 100644 index dfadb7985..000000000 --- a/vendor/backbone/CNAME +++ /dev/null @@ -1,2 +0,0 @@ -backbonejs.org - diff --git a/vendor/backbone/CONTRIBUTING.md b/vendor/backbone/CONTRIBUTING.md deleted file mode 100644 index 55403616b..000000000 --- a/vendor/backbone/CONTRIBUTING.md +++ /dev/null @@ -1,22 +0,0 @@ -## How to Open a Backbone.js Ticket - -* Do not use tickets to ask for help with (debugging) your application. Ask on -the [mailing list](https://groups.google.com/forum/#!forum/backbonejs), -in the IRC channel (`#documentcloud` on Freenode), or if you understand your -specific problem, on [StackOverflow](http://stackoverflow.com/questions/tagged/backbone.js). - -* Before you open a ticket or send a pull request, -[search](https://github.com/jashkenas/backbone/issues) for previous -discussions about the same feature or issue. Add to the earlier ticket if you -find one. - -* Before sending a pull request for a feature or bug fix, be sure to have -[tests](http://backbonejs.org/test/). - -* Use the same coding style as the rest of the -[codebase](https://github.com/jashkenas/backbone/blob/master/backbone.js). - -* In your pull request, do not add documentation or rebuild the minified -`backbone-min.js` file. We'll do that before cutting a new release. - -* All pull requests should be made to the `master` branch. diff --git a/vendor/backbone/LICENSE b/vendor/backbone/LICENSE deleted file mode 100644 index dda0a5809..000000000 --- a/vendor/backbone/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -Copyright (c) 2010-2013 Jeremy Ashkenas, DocumentCloud - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. diff --git a/vendor/backbone/README.md b/vendor/backbone/README.md deleted file mode 100644 index 7b0482df7..000000000 --- a/vendor/backbone/README.md +++ /dev/null @@ -1,29 +0,0 @@ - ____ __ __ - /\ _`\ /\ \ /\ \ __ - \ \ \ \ \ __ ___\ \ \/'\\ \ \____ ___ ___ __ /\_\ ____ - \ \ _ <' /'__`\ /'___\ \ , < \ \ '__`\ / __`\ /' _ `\ /'__`\ \/\ \ /',__\ - \ \ \ \ \/\ \ \.\_/\ \__/\ \ \\`\\ \ \ \ \/\ \ \ \/\ \/\ \/\ __/ __ \ \ \/\__, `\ - \ \____/\ \__/.\_\ \____\\ \_\ \_\ \_,__/\ \____/\ \_\ \_\ \____\/\_\_\ \ \/\____/ - \/___/ \/__/\/_/\/____/ \/_/\/_/\/___/ \/___/ \/_/\/_/\/____/\/_/\ \_\ \/___/ - \ \____/ - \/___/ - (_'_______________________________________________________________________________'_) - (_.———————————————————————————————————————————————————————————————————————————————._) - - -Backbone supplies structure to JavaScript-heavy applications by providing models key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface. - -For Docs, License, Tests, pre-packed downloads, and everything else, really, see: -http://backbonejs.org - -To suggest a feature, report a bug, or general discussion: -http://github.com/jashkenas/backbone/issues - -Backbone is an open-sourced component of DocumentCloud: -https://github.com/documentcloud - -Many thanks to our contributors: -http://github.com/jashkenas/backbone/contributors - -Special thanks to Robert Kieffer for the original philosophy behind Backbone. -http://github.com/broofa diff --git a/vendor/backbone/backbone-min.js b/vendor/backbone/backbone-min.js deleted file mode 100644 index 3b2593dd2..000000000 --- a/vendor/backbone/backbone-min.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){var t=this;var e=t.Backbone;var i=[];var r=i.push;var s=i.slice;var n=i.splice;var a;if(typeof exports!=="undefined"){a=exports}else{a=t.Backbone={}}a.VERSION="1.1.0";var h=t._;if(!h&&typeof require!=="undefined")h=require("underscore");a.$=t.jQuery||t.Zepto||t.ender||t.$;a.noConflict=function(){t.Backbone=e;return this};a.emulateHTTP=false;a.emulateJSON=false;var o=a.Events={on:function(t,e,i){if(!l(this,"on",t,[e,i])||!e)return this;this._events||(this._events={});var r=this._events[t]||(this._events[t]=[]);r.push({callback:e,context:i,ctx:i||this});return this},once:function(t,e,i){if(!l(this,"once",t,[e,i])||!e)return this;var r=this;var s=h.once(function(){r.off(t,s);e.apply(this,arguments)});s._callback=e;return this.on(t,s,i)},off:function(t,e,i){var r,s,n,a,o,u,c,f;if(!this._events||!l(this,"off",t,[e,i]))return this;if(!t&&!e&&!i){this._events={};return this}a=t?[t]:h.keys(this._events);for(o=0,u=a.length;o").attr(t);this.setElement(e,false)}else{this.setElement(h.result(this,"el"),false)}}});a.sync=function(t,e,i){var r=T[t];h.defaults(i||(i={}),{emulateHTTP:a.emulateHTTP,emulateJSON:a.emulateJSON});var s={type:r,dataType:"json"};if(!i.url){s.url=h.result(e,"url")||U()}if(i.data==null&&e&&(t==="create"||t==="update"||t==="patch")){s.contentType="application/json";s.data=JSON.stringify(i.attrs||e.toJSON(i))}if(i.emulateJSON){s.contentType="application/x-www-form-urlencoded";s.data=s.data?{model:s.data}:{}}if(i.emulateHTTP&&(r==="PUT"||r==="DELETE"||r==="PATCH")){s.type="POST";if(i.emulateJSON)s.data._method=r;var n=i.beforeSend;i.beforeSend=function(t){t.setRequestHeader("X-HTTP-Method-Override",r);if(n)return n.apply(this,arguments)}}if(s.type!=="GET"&&!i.emulateJSON){s.processData=false}if(s.type==="PATCH"&&E){s.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}var o=i.xhr=a.ajax(h.extend(s,i));e.trigger("request",e,o,i);return o};var E=typeof window!=="undefined"&&!!window.ActiveXObject&&!(window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent);var T={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};a.ajax=function(){return a.$.ajax.apply(a.$,arguments)};var k=a.Router=function(t){t||(t={});if(t.routes)this.routes=t.routes;this._bindRoutes();this.initialize.apply(this,arguments)};var S=/\((.*?)\)/g;var $=/(\(\?)?:\w+/g;var H=/\*\w+/g;var A=/[\-{}\[\]+?.,\\\^$|#\s]/g;h.extend(k.prototype,o,{initialize:function(){},route:function(t,e,i){if(!h.isRegExp(t))t=this._routeToRegExp(t);if(h.isFunction(e)){i=e;e=""}if(!i)i=this[e];var r=this;a.history.route(t,function(s){var n=r._extractParameters(t,s);i&&i.apply(r,n);r.trigger.apply(r,["route:"+e].concat(n));r.trigger("route",e,n);a.history.trigger("route",r,e,n)});return this},navigate:function(t,e){a.history.navigate(t,e);return this},_bindRoutes:function(){if(!this.routes)return;this.routes=h.result(this,"routes");var t,e=h.keys(this.routes);while((t=e.pop())!=null){this.route(t,this.routes[t])}},_routeToRegExp:function(t){t=t.replace(A,"\\$&").replace(S,"(?:$1)?").replace($,function(t,e){return e?t:"([^/]+)"}).replace(H,"(.*?)");return new RegExp("^"+t+"$")},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return h.map(i,function(t){return t?decodeURIComponent(t):null})}});var I=a.History=function(){this.handlers=[];h.bindAll(this,"checkUrl");if(typeof window!=="undefined"){this.location=window.location;this.history=window.history}};var N=/^[#\/]|\s+$/g;var O=/^\/+|\/+$/g;var P=/msie [\w.]+/;var C=/\/$/;var j=/[?#].*$/;I.started=false;h.extend(I.prototype,o,{interval:50,getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getFragment:function(t,e){if(t==null){if(this._hasPushState||!this._wantsHashChange||e){t=this.location.pathname;var i=this.root.replace(C,"");if(!t.indexOf(i))t=t.slice(i.length)}else{t=this.getHash()}}return t.replace(N,"")},start:function(t){if(I.started)throw new Error("Backbone.history has already been started");I.started=true;this.options=h.extend({root:"/"},this.options,t);this.root=this.options.root;this._wantsHashChange=this.options.hashChange!==false;this._wantsPushState=!!this.options.pushState;this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var e=this.getFragment();var i=document.documentMode;var r=P.exec(navigator.userAgent.toLowerCase())&&(!i||i<=7);this.root=("/"+this.root+"/").replace(O,"/");if(r&&this._wantsHashChange){this.iframe=a.$('