deps remove

beta.r3js.org
Theunis Botha 2018-11-15 14:40:26 +01:00
parent 575594a46f
commit 0e1a2867a3
4 changed files with 6 additions and 56 deletions

5
package-lock.json generated
View File

@ -2693,11 +2693,6 @@
"integrity": "sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg==",
"dev": true
},
"i": {
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/i/-/i-0.3.6.tgz",
"integrity": "sha1-2WyScyB28HJxG2sQ/X1PZa2O4j0="
},
"indent-string": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz",

View File

@ -2,13 +2,10 @@
"name": "r3",
"description": "R3",
"version": "1.0.0",
"repository": "https://bitbucket.org/cybafelo/r3-3ditor.git",
"repository": "https://bitbucket.org/cybafelo/r3/src/master/",
"license": "UNLICENSED",
"dependencies": {
"cannon": "^0.6.2",
"i": "^0.3.5",
"npm": "^6.4.1",
"q": "^1.4.1",
"three": "*"
},
"devDependencies": {
@ -18,6 +15,7 @@
"gulp-minify": "*",
"gulp-sort": "*",
"gulp-watch": "^5.0.1",
"lodash": "^4.17.2"
"lodash": "^4.17.2",
"npm": "^6.4.1"
}
}

View File

@ -35,25 +35,7 @@ if (typeof R3.D3.Runtime === 'undefined') {
R3.D3.Runtime = function(){};
}
// if (typeof Q === 'undefined') {
//
// if (typeof require === 'undefined') {
// console.warn('You need the Q promise library for the R3.D3');
// throw new Error('You need the Q promise library for the R3.D3');
// }
//
// var Q = require('q');
// }
//
// if (typeof _ === 'undefined') {
//
// if (typeof require === 'undefined') {
// console.warn('You need the lodash library for the R3.D3');
// throw new Error('You need the lodash library for the R3.D3');
// }
//
// var _ = require('lodash');
// }
// This gets injected by gulp
/**
* This gets injected by gulp
*/
console.log("Loading R3 compiled at: " + __DATE__);

View File

@ -205,31 +205,6 @@ R3.Utils.ObjectIdWithNameInArray = function(name, array) {
);
};
// R3.Utils.ObjectFactory = function() {
//
// var promiseList = {};
//
// return function(objectId) {
//
// if (!objectId) {
// console.log('No Object ID specified ' + objectId);
// throw new Error('No Object ID specified ' + objectId);
// }
//
// if (promiseList[objectId]) {
// return promiseList[objectId];
// }
//
// var defer = Q.defer();
//
// promiseList[objectId] = defer.promise;
//
// R3.Utils.ObjectFactory.Link(idToObject, objectId, defer);
//
// return promiseList[objectId];
// }
// };
R3.Utils.LoadIdsFromArrayToIdObject = function(array, idToObject) {
};