Commit graph

17 commits

Author SHA1 Message Date
gorhill
446d7fad2e fix #2010, #2086 2016-11-05 14:48:42 -04:00
gorhill
46fb194904 fix #2084 2016-10-18 12:33:50 -04:00
gorhill
47f6a565fa return null for non-existing elements 2015-12-13 00:17:38 -05:00
gorhill
9b4b998364 #608: this fixes a bunch of strictness-related warnings 2015-08-18 11:44:24 -04:00
gorhill
2223f5e457 this fixes #512 2015-07-20 16:33:07 -04:00
gorhill
ff0ad30ba6 same with querySelector 2015-06-10 08:58:10 -04:00
gorhill
c27b18d7d1 sometimes we just want a simple DOM node lookup, not a heavy wrapper 2015-06-10 08:25:47 -04:00
gorhill
8afe6aa275 not needed, this will address one FF validator warning 2015-06-06 19:09:04 -04:00
gorhill
ed88939a63 this fixes #792 2015-03-14 14:12:05 -04:00
Deathamns
95b778fbc7 Change extension description 2015-03-07 19:20:18 +01:00
Deathamns
b4ea545412 Implement vAPI.insertHTML
The purpose of this API is basically to satisfy AMO reviewers in the
future, since the use of innerHTML with variables (i.e., not plain text) will
be rejected without any questions.

Since this is not a problem for browsers other than Firefox, they will
use simple innerHTML assignment, however safe-parsing could be implemented
for them too.
2015-01-13 07:30:07 +01:00
gorhill
9fc136e7e8 hopefully this fixes #470 2015-01-10 11:23:28 -05:00
gorhill
ea2043c0eb auto cleanup of listeners 2015-01-04 10:03:51 -05:00
Deathamns
2024ba1bcd Fix wrong fix in 4bf6664 2014-11-10 19:25:17 +01:00
Deathamns
4bf6664d6b Fix double definition of length property in uDom
The `length` property of `DOMList` couldn't be re-defined, because earlier
an Object.defineProperty was used on the object without a setter.
2014-11-09 17:41:09 +01:00
Deathamns
0886f7e886 Add .jshintrc, and use the "use strict" directive
.jshintrc's otion-set is a personal choice, merely a suggestion.
Beside that, it includes some common globals for specific browsers, so
there's no need to set the globals in every .js file.

In order to force strict coding, "use strict" directive was added into
every .js file.
2014-11-09 17:39:17 +01:00
Deathamns
5b79bf3536 Work on vendor API abstraction, and near complete Safari support 2014-11-09 17:39:12 +01:00
Renamed from js/udom.js (Browse further)