Skip to content

Commit

Permalink
Merge pull request #6 from valioDOTch/patch-1
Browse files Browse the repository at this point in the history
fix several typos
  • Loading branch information
jimmywarting authored Jan 10, 2018
2 parents 4ab7287 + 2120d26 commit dd8cebe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Browser SU
==========

#### What is Browser SU?
It's like the new w3c permission api but with suger on top
It's like the new w3c permissions API but with suger on top

#### Why is Browser SU needed?
Today we have too many diffrent permission request API. Geolocation, Desktop notification, Media devices and so on, but they are all inconsistent and broken in some ways. Some of them even lacks useful infromations such as "was the permission dissmissed, denied or granted?", "Do I already have access?" among other things. That's why w3 have started to introduce a new model for permissions in browsers which is cool. But they don't cover all the stuff you can query/request permission for and it dosen't work in all browsers.
Today we have too many different permission request APIs. Geolocation, Desktop notification, Media devices and so on, but they are all inconsistent and broken in some ways. Some of them even lack useful informations such as "was the permission dissmissed, denied or granted?", "Do I already have access?" among other things. That's why the w3c has started to introduce a new model for permissions in browsers which is cool. But they don't cover all the stuff you can query/request permission for and it doesn't work in all browsers.

Browser SU tries to solves three main issues

Expand All @@ -14,9 +14,9 @@ Browser SU tries to solves three main issues
3. Added feature detecting

#### Why didn't I write this as a polyfill? Why make your own invention?
The Permission API is a living standard and keeps changing. They don't cover all the permissions. The request is not finilised yet. And you get more useful information with this then what you would get with the standard API
The Permission API is a living standard and keeps changing. They don't cover all the permissions. The request is not finalized yet. And you get more useful information with this then what you would get with the standard API.

I try to stay consistent as much as possible with the permission API. But doing some neat trade-off.
I try to stay consistent as much as possible with the permissions API. But doing some neat trade-off.

#### Hello World
https://jsfiddle.net/1awLpe59/12
Expand Down

0 comments on commit dd8cebe

Please sign in to comment.