Skip to content

Commit 1c470b2

Browse files
author
dnolen
committed
add a couple of missing notices
1 parent 8cbedaf commit 1c470b2

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

src/main/cljs/cljs/externs.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/**
2+
* Copyright (c) Rich Hickey. All rights reserved.
3+
* The use and distribution terms for this software are covered by the
4+
* Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
5+
* which can be found in the file epl-v10.html at the root of this distribution.
6+
* By using this software in any fashion, you are agreeing to be bound by
7+
* the terms of this license.
8+
* You must not remove this notice, or any other, from this software.
9+
*/
10+
111
Math.imul = function(a, b) {};
212

313
Object.prototype.done;

src/main/cljs/cljs/imul.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
/**
2+
* Copyright (c) Rich Hickey. All rights reserved.
3+
* The use and distribution terms for this software are covered by the
4+
* Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
5+
* which can be found in the file epl-v10.html at the root of this distribution.
6+
* By using this software in any fashion, you are agreeing to be bound by
7+
* the terms of this license.
8+
* You must not remove this notice, or any other, from this software.
9+
*/
10+
11+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul
12+
113
if(typeof Math.imul == "undefined" || (Math.imul(0xffffffff,5) == 0)) {
214
Math.imul = function (a, b) {
315
var ah = (a >>> 16) & 0xffff;

0 commit comments

Comments
 (0)