Commit graph

10 commits

Author SHA1 Message Date
Claudia Meadows
3c77bebe6b Add missing m.censor to API navigation
Not sure how I forgot about this when I added the method.
2023-05-20 03:36:05 -07:00
Pierre-Yves Gérardy
c0a9c21c09
Actually remove ospec from the main code base (#2786)
* Actually remove ospec from the main code base (it is still used as a dev-dependency)

* fix a copy error

Co-authored-by: Barney Carroll <barney.carroll@gmail.com>

Co-authored-by: Barney Carroll <barney.carroll@gmail.com>
2022-06-10 18:33:17 +02:00
Stephan Hoyer
716d1e1804 Kick jsonp - fixes #2682 2022-06-06 12:56:25 +02:00
Stephan Hoyer
e9a365c150 Kick promise polyfill 2022-05-30 08:38:13 +02:00
Isiah Meadows
904b63b2aa
Drop m.version (#2466)
* Drop `m.version`

It's caused way too much grief over the years, and I've finally decided
it's worth pitching. For those who need it, it's easy to get, especially
if you use it through Node or a build system. And for those who are just
loading it globally, you have to explicitly specify the version anyways,
so you'd be just as golden if you followed it up with a simple inline
script that does `m.version = "the version you loaded"`.

Oh, and also, you shouldn't be coding specifically for version numbers,
either - it's a known anti-pattern. Instead, you should prefer feature
detection and just do the right thing.

* Update changelog [skip ci]
2019-07-10 14:04:44 -04:00
spacejack
b2f82e3abc Add build/parsePathname to API TOC (#2460) 2019-07-07 16:35:02 -04:00
Isiah Meadows
26b8d994ce
Remove m.prop + m.withAttr (#2317)
* Remove `m.prop` + `m.withAttr`

- For many uses, `m.withAttr` is *more* verbose than just directly using
  an event handler
- If you're using it with a bound callback, you're literally wasting a
  single character in the human readable version (and you're *saving*
  them in the minified output).
- It sometimes obscures your intent, if overused.
- Functions are easier to compress than `m.withAttr`, resulting in
  slightly smaller bundles.
- `m.withAttr` is overused anyways.
- `m.prop` is basically useless without `m.withAttr`, and the API
  doesn't have the same benefits it had with 0.2.x.

* Update changelog
2018-11-30 20:41:24 -05:00
Isiah Meadows
6042b001f0
Add m.prop (#2268)
Fixes #2095
2018-11-07 12:18:55 -05:00
Pat Cavit
5660637e30 docs: new repo refs and build tweaks 2017-05-02 13:12:00 -07:00
Pat Cavit
207dea91da docs: merge 7ba74ad and friends 2017-03-28 11:37:07 -07:00
Renamed from docs/methods.md (Browse further)