]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/array/#/clear.js
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / node_modules / node-gyp / node_modules / path-array / node_modules / array-index / node_modules / es6-symbol / node_modules / es5-ext / array / # / clear.js
1 // Inspired by Google Closure:
2 // http://closure-library.googlecode.com/svn/docs/
3 // closure_goog_array_array.js.html#goog.array.clear
4
5 'use strict';
6
7 var value = require('../../object/valid-value');
8
9 module.exports = function () {
10         value(this).length = 0;
11         return this;
12 };