Clone this repo:
  1. 5833d38 build: Upgrade qunit from 2.24.1 to 2.25.0 by James D. Forrester · 8 weeks ago master
  2. c969494 build: Upgrade jsdoc-wmf-theme from 1.1.0 to 1.2.0 by James D. Forrester · 8 weeks ago
  3. cb26744 build: Replace Grunt entirely with a build script to build the sourceMap by James D. Forrester · 8 weeks ago
  4. 8de42e1 build: Replace deprecated karma with Web Test Router, and drop SauceLabs by James D. Forrester · 8 weeks ago
  5. 622bafc build: Updating eslint-config-wikimedia to 0.32.3 by libraryupgrader · 6 months ago

npm

OOjs

OOjs is a JavaScript library for working with objects.

Key features include inheritance, mixins and utilities for working with objects.

Quick start

This library is available as an npm package! Install it right away:

Or clone the repo, git clone https://gerrit.wikimedia.org/r/oojs/core.

Browser support

We officially support these browsers, aligned with MediaWiki's compatibility guideline:

  • Firefox: last three years (Firefox 78+, 2020)
  • Chrome: last three years (Chrome 80+, 2020)
  • Edge: last three years (Edge 80+, 2020)
  • Opera: last thee years (Opera 67+, 2020)
  • iOS: 11.3+

OOjs requires a modern ES2015 (ECMAScript 6) environment. To support older browsers with ECMAScript 5 engines (such as IE 11), use the last OOjs 6.x release.

Bug tracker

Found a bug? Please report it in the issue tracker!