1
0
Fork 0

Extend will not be removed in 2.9

This commit is contained in:
Alan Plum 2015-12-08 12:43:18 +01:00
parent 9c4bb1500d
commit 8b66bf1143
1 changed files with 0 additions and 2 deletions

View File

@ -1,9 +1,7 @@
'use strict';
const extend = require('underscore').extend;
const deprecated = require('@arangodb/deprecated');
exports.extend = function (protoProps, staticProps) {
deprecated('2.9', '"extend" is deprecated, use class syntax instead');
const init = protoProps.constructor;
const Class = class extends this {
constructor(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {