Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
Fix up links to point to correct repo locations.
Browse files Browse the repository at this point in the history
  • Loading branch information
janderson-stripe committed Feb 12, 2020
1 parent 3bd87d3 commit 4a8109c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Please see __[Compatibility Testing](test/)__.

--

_Source code for the animated figures above: [mobile-viewport-control-viz](https://github.com/shaunstripe/mobile-viewport-control-viz)_
_Source code for the animated figures above: [mobile-viewport-control-viz](https://github.com/shaun-stripe/mobile-viewport-control-viz)_


[scroll-gif]:https://zippy.gfycat.com/EnchantedPowerfulIndri.gif
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Copyright (c) 2016 Shaun Williams
// ISC License
//
// GitHub: https://github.com/shaunstripe/mobile-viewport-control
// GitHub: https://github.com/stripe/mobile-viewport-control
//

//---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/shaunstripe/mobile-viewport-control.git"
"url": "git+https://github.com/stripe/mobile-viewport-control.git"
},
"files": [
"index.js"
Expand Down
10 changes: 5 additions & 5 deletions test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ page's scale to change from its specified `initial-scale`. This custom zoom
level is maintained across refreshes. When opening in a new tab, the
`initial-scale` is resumed._

[Measure Test]:http://shaunstripe.github.io/mobile-viewport-control/test/unit/01-measure.html
[Freeze Test]:http://shaunstripe.github.io/mobile-viewport-control/test/unit/02-freeze.html
[Thaw Test]:http://shaunstripe.github.io/mobile-viewport-control/test/unit/03-thaw.html
[Measure Test]:http://stripe.github.io/mobile-viewport-control/test/unit/01-measure.html
[Freeze Test]:http://stripe.github.io/mobile-viewport-control/test/unit/02-freeze.html
[Thaw Test]:http://stripe.github.io/mobile-viewport-control/test/unit/03-thaw.html
[Injection Method]:#injecting-into-existing-pages

## Injecting into Existing Pages
Expand All @@ -70,7 +70,7 @@ The following bookmarklet will freeze the viewport scale, show a custom
isolated element, and allow you to press a button to restore the view.

```js
javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://rawgit.com/shaunstripe/mobile-viewport-control/master/test/bookmarklet/index.js?'+Math.random();}())
javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://stripe.github.io/mobile-viewport-control/test/bookmarklet/index.js?'+Math.random();}())
```

### With DevTools
Expand All @@ -82,7 +82,7 @@ Chrome/webview can connect to Desktop Chrome DevTools. Inside DevTools, we can
simply paste the body of the bookmarklet inside the JS console:

```js
document.body.appendChild(document.createElement('script')).src='https://rawgit.com/shaunstripe/mobile-viewport-control/master/test/bookmarklet/index.js?'+Math.random();
document.body.appendChild(document.createElement('script')).src='https://stripe.github.io/mobile-viewport-control/test/bookmarklet/index.js?'+Math.random();
```

iOS webviews require an extra step: you must run an webview app from a live
Expand Down

0 comments on commit 4a8109c

Please sign in to comment.