Commit Graph

14 Commits

Author SHA1 Message Date
Jia Hao Goh 8f78dd03af Update eslint and use Airbnb style
- Add `npm run lint:fix` command
- Cleanup inferIcon.js logic slightly
2017-04-29 22:52:12 +08:00
Goh Jia Hao 1286372f95 Add editorconfig to trim trailing whitespace 2016-10-09 19:05:43 +08:00
Goh Jia Hao 2529153ca1 Use let instead of const 2016-10-09 14:16:44 +08:00
Ronan Jouchet a42554fe1d Fix context menu actions broken on <a> elements containing nested markup
Test case: open nativefier on

```html
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Test</title>
</head>
<body>
  <a href="https://google.com/">Google</a>
  <br>
  <a href="https://google.com/"><span>Google, in span</span></a>
</body>
</html>
```

* **Expected**: both links open in default browser
* **Actual under nativefier 7.0.1**: Nothing happens when clicking the second link in which the `<a>` contains a `<span>`
2016-09-29 14:10:28 -04:00
Jia Hao 612da8ce36 Fix/performance issues with FOUC (#214)
Fix/performance issues with FOUC #191
2016-06-16 15:28:36 +08:00
Goh Jia Hao 286e5bf7d6 Use destructuring for ES6 import 2016-05-26 16:51:07 +08:00
Jia Hao 8ef3137d02 Change eslint to disallow unused variables 2016-02-28 00:49:54 +08:00
Jia Hao 4d49c01ff3 Implement injection of `.js` 2016-02-25 14:11:48 +08:00
Jia Hao b2e05c925b Use ES6 syntax for placeholder app 2016-01-29 22:04:41 +08:00
Jia Hao d8fb87ccb5 Implement support for clicking buttons so that users can control where links open as referenced in #73 2016-01-25 16:49:11 +08:00
Jia Hao 949fce5e3c Implement right click context menu for regular href links 2016-01-25 15:56:33 +08:00
Jia Hao 82c29de231 Lint all files 2016-01-24 02:02:23 +08:00
Jia Hao 264037a867 Merge branch 'refactor/splitcomponents'
- Merge in gulp dev envirnoment
- Zoom functionality
- Split app into multiple components
2016-01-23 13:43:33 +08:00
Jia Hao 90ee346914 Refactor main.js into separate files, and put static files such as preload and login.html into `app/src/static` 2016-01-23 10:09:47 +08:00