put js and css files to assets locally

lint`
pull/1320/head
lianahus 3 years ago
parent 96367d47c2
commit 8500806c7c
  1. 2
      apps/remix-ide/src/app.js
  2. 10
      apps/remix-ide/src/assets/js/intro.min.js
  3. 1
      apps/remix-ide/src/assets/js/soljson_.js
  4. 2
      apps/remix-ide/src/index.html
  5. 48
      apps/remix-ide/src/walkthroughService.js

@ -507,6 +507,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
const walkthroughService = new WalkthroughService(localStorage)
if (!params.code) {
walkthroughService.start()
walkthroughService.start()
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -118,6 +118,6 @@
<script src="polyfills.js" type="module"></script>
<script src="vendor.js" type="module"></script>
<script src="https://kit.fontawesome.com/41dd021e94.js" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/intro.js/4.1.0/intro.min.js"></script>
<script type="text/javascript" src="assets/js/intro.min.js"></script>
</body>
</html>

@ -0,0 +1,48 @@
const introJs = require('intro.js')
export class WalkthroughService {
constructor (params) {
this.params = params
}
start (params) {
if (!localStorage.getItem('hadTour_initial')) {
introJs().setOptions({
steps: [{
title: 'Welcome to Remix IDE',
intro: 'Click to launch the Home tab that contains links, tips, and shortcuts..',
element: document.querySelector('#verticalIconsHomeIcon'),
tooltipClass: 'bg-light text-dark',
position: 'right'
},
{
element: document.querySelector('#compileIcons'),
title: 'Solidity Compiler',
intro: 'Having selected a .sol file in the File Explorers(the icon above), compile it with the Solidity Compiler.',
tooltipClass: 'bg-light text-dark',
position: 'right'
},
{
title: 'Deploy your contract',
element: document.querySelector('#runIcons'),
intro: 'Choose a chain, deploy a contract and play with your functions.',
tooltipClass: 'bg-light text-dark',
position: 'right'
},
{
title: 'The plugins world',
element: document.querySelector('#settingsIcons'),
intro: 'Explore more plugins and manage permissions.',
tooltipClass: 'bg-light text-dark',
position: 'right',
doneLabel: 'Done!'
}
]
}).start()
localStorage.setItem('hadTour_initial', true)
}
}
startFeatureTour () {
}
}
Loading…
Cancel
Save