addon-sdk/test/Math.jsm
author Nicholas Nethercote <nnethercote@mozilla.com>
Thu, 18 Dec 2014 18:59:53 -0800
changeset 220566 2c91a808c506c5ada7e92bf3ec52c6fbf0b361ea
parent 165629 52b83e4b3f8b6f5c549e287296f3af8396d947a8
permissions -rw-r--r--
Bug 1112968 - dmd.py: Tweak the --alloc-fns list for better effect on Windows. r=mccr8.

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

"use strict";

this.EXPORTED_SYMBOLS = ["Math"];

this.Math = {
  square: function (x) { return x * x; }
};