Skip to content

V. Client script API

Andrey Bogdanov edited this page Mar 22, 2016 · 32 revisions

Contents

General information

All constants, variables, classes and functions of the ololord.js client script API is incapsulated inside the global lord object which is an Underscore.js object with additional properties (declared as var lord = lord || _.noConflict();). There are 3 main files: api.js, base.js, and board.js. The latter is only available on the board/thread/catalog/archive pages, while the former two are available on every page. The api.js file contains variables, classes and constants, while the base.js contains some "real" code, which executes on the page load.

Note: Constants, variables, classes and functions, that are used internally, are not described here.

You can’t perform that action at this time.