This commit is contained in:
joshrenn 2015-08-28 15:42:35 -07:00 коммит произвёл John-David Dalton
Родитель b7fd726ca7
Коммит fc73bdab4f
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -6,7 +6,7 @@ http://microsoftedge.github.io/JSBrowser/
![JavaScript Browser](https://cloud.githubusercontent.com/assets/7266075/9344225/df4d62ba-45bb-11e5-9d84-a078b8fd651a.png) ![JavaScript Browser](https://cloud.githubusercontent.com/assets/7266075/9344225/df4d62ba-45bb-11e5-9d84-a078b8fd651a.png)
This project is a proof-of-concept demonstrating the capabilities of the web platform on Windows 10. The browser is built around the HTML [WebView control](https://msdn.microsoft.com/en-us/library/windows/apps/dn301831.aspx), using primarily JavaScript to light up the user interface. Built using [Visual Studio 2015](https://www.visualstudio.com/), this is a JavaScript [Universal Windows Platform](https://msdn.microsoft.com/library/windows/apps/dn894631.aspx) (UWP) app. This project is a tutorial demonstrating the capabilities of the web platform on Windows 10. The browser is a sample app built around the HTML [WebView control](https://msdn.microsoft.com/en-us/library/windows/apps/dn301831.aspx), using primarily JavaScript to light up the user interface. Built using [Visual Studio 2015](https://www.visualstudio.com/), this is a JavaScript [Universal Windows Platform](https://msdn.microsoft.com/library/windows/apps/dn894631.aspx) (UWP) app.
In addition to JavaScript, HTML and CSS are the other core programming languages used. Some C++ code is also included to enable supplemental features, but is not required to create a simple browser. In addition to JavaScript, HTML and CSS are the other core programming languages used. Some C++ code is also included to enable supplemental features, but is not required to create a simple browser.
@ -312,8 +312,5 @@ this.setDefaultAppBarColors = () => {
### Other functionality ### Other functionality
The progress indicator, as well as the settings and favorites menus, leverage [CSS transitions](http://www.w3.org/TR/css3-transitions/) for animation. With the former menu, the temporary web data is cleared using the [clearTemporaryWebDataAsync()](https://msdn.microsoft.com/en-us/library/windows/apps/dn764996.aspx) method. With the latter menu, the list of favorites is stored on a [JSON](https://en.wikipedia.org/wiki/JSON) file in the root folder of the [roaming app data store](https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.applicationdata.roamingfolder.aspx). The progress indicator, as well as the settings and favorites menus, leverage [CSS transitions](http://www.w3.org/TR/css3-transitions/) for animation. With the former menu, the temporary web data is cleared using the [clearTemporaryWebDataAsync()](https://msdn.microsoft.com/en-us/library/windows/apps/dn764996.aspx) method. With the latter menu, the list of favorites is stored on a [JSON](https://en.wikipedia.org/wiki/JSON) file in the root folder of the [roaming app data store](https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.applicationdata.roamingfolder.aspx).
## Whats next
This was just a glimpse of what is capable with the web platform on Windows 10. With the WebView control, we were able to create a simple and intuitive browser using primarily JavaScript. Still, there are plenty of additional features we could build on top of this project, such as right-click, inking, theming, or even tabs. We can also refactor the core implementation to leverage [transpilers](https://en.wikipedia.org/wiki/Source-to-source_compiler) and fill the ES2015 feature gaps. Our team had a lot of fun building this browser. [Reach out to us](https://twitter.com/MSEdgeDev) on Twitter, submit [issues](https://github.com/MicrosoftEdge/JSBrowser/issues/new), or if you have a killer feature you are interested in, send us a [pull request](https://github.com/MicrosoftEdge/JSBrowser/pulls). We would love to hear any feedback you have on this browser or the web platform in general!
## Citations ## Citations
The JSBrowser logo is based on [trees by Nicholas Menghini](https://thenounproject.com/term/trees/65621/) from the Noun Project. The JSBrowser logo is based on [trees by Nicholas Menghini](https://thenounproject.com/term/trees/65621/) from the Noun Project.