if( -> if ( and for( -> for (
Handle 404s for directory GETs (fixes #573)
directory -> folder
Merge pull request #576 from remotestorage/bugfix/573-directory_404s

Handle 404s for directory GETs (fixes #573)
Update HEAD release
Merge pull request #574 from remotestorage/space-after-if-and-for

space after `if` and `for`
merge folder-not-directory
protect baseclient against wrong-type args

argument->Argument, should->must

object -> body
remove sync-busy and sync-done event emissions from sync component

add sync-busy and sync-done to wireclient.put

add test for sync-done on put failure

also emit sync-busy and sync-done for GETting documents (not folders) and DELETE

rename var that -> self

rebase

rebase test

renams sync-busy -> wire-busy, sync-done -> wire-done & re-enable for get-folder

thanks @galfert for the correction!

emit wire-busy/wire-done from request method as suggested by @skddc

whitespace and style

nicer event args

move _request on to the prototype so that it an emit events

rename event args

tabs to spaces

back to simpler way to return promise

back to simpler way to return promise

remove unused self var
make wrapped events into objects as well
listen for wire events on remote, not on rs base object
Fix method call isDir -> isFolder
Minor syntax fix
Improve Google Drive directory querying (closes #526)
Merge branch 'gd-dir-querying'
remove 'wrapped' field
Publish first version of contribution guidelines
Bind proper scope to anonymous functions
Make widget stop pulsing after all requests are done
Add missing event names 'wire-busy' and 'wire-done'