1
0
Fork 0

re-introduced ShapedJson variable for 2.8-compatibility

This commit is contained in:
Jan Steemann 2016-05-03 12:18:45 +02:00
parent a19c437cdd
commit c539573978
1 changed files with 7 additions and 3 deletions

View File

@ -31,13 +31,10 @@
/// @author Copyright 2010-2013, triAGENS GmbH, Cologne, Germany
////////////////////////////////////////////////////////////////////////////////
var exports = require('internal');
var console = require('console');
var fs = require('fs');
////////////////////////////////////////////////////////////////////////////////
/// @brief db
////////////////////////////////////////////////////////////////////////////////
@ -59,6 +56,13 @@ delete global.ArangoCollection;
exports.ArangoDatabase = global.ArangoDatabase;
delete global.ArangoDatabase;
////////////////////////////////////////////////////////////////////////////////
/// @brief ShapedJson stub object - only here for compatibility with 2.8
////////////////////////////////////////////////////////////////////////////////
exports.ShapedJson = function() {};
delete global.ShapedJson;
////////////////////////////////////////////////////////////////////////////////
/// @brief enableStatistics
////////////////////////////////////////////////////////////////////////////////