forked from xiemaisi/acg.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
numset.js
28 lines (23 loc) · 868 Bytes
/
numset.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*******************************************************************************
* Copyright (c) 2013 Max Schaefer.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Max Schaefer - initial API and implementation
*******************************************************************************/
/**
* Facade module implementing sets of non-negative integers.
* Allows to easily switch to a different implementation.
*/
if(typeof define !== 'function') {
var define = require('amdefine')(module);
}
define(function(require, exports) {
var impl = require('./olist');
for(var p in impl)
exports[p] = impl[p];
return exports;
});