Skip to content

Commit

Permalink
Move ohauth to be a yarn managed asset
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Jul 23, 2019
1 parent 9cdd37f commit 01ae0bf
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 2,590 deletions.
6 changes: 0 additions & 6 deletions Vendorfile
Expand Up @@ -30,12 +30,6 @@ folder 'vendor/assets' do
end
end

folder 'ohauth' do
from 'git://github.com/osmlab/ohauth.git' do
file 'ohauth.js'
end
end

folder 'iD' do
from 'git://github.com/openstreetmap/iD', :branch => 'release' do
folder 'iD/img', 'dist/img'
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/oauth.js
@@ -1,4 +1,4 @@
//= require ohauth
//= require ohauth/ohauth

$(document).ready(function () {
var application_data = $("head").data();
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -6,7 +6,8 @@
"html5shiv": "^3.7.3",
"jquery-simulate": "^1.0.0",
"leaflet": "^1.5.1",
"leaflet.locatecontrol": "^0.66.0"
"leaflet.locatecontrol": "^0.66.0",
"ohauth": "^0.2.2"
},
"devDependencies": {
"eslint": "^6.0.1"
Expand Down

0 comments on commit 01ae0bf

Please sign in to comment.