mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-11 00:45:08 +00:00
remove unsused templates
This commit is contained in:
parent
44be819d7b
commit
d2a3be53b6
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
node_modules
|
||||
test/workspace
|
||||
static/js/libs
|
||||
static/js/templates
|
||||
projects/**/workspace
|
||||
|
@ -28,8 +28,6 @@
|
||||
"homepage": "https://github.com/okv/nci",
|
||||
"dependencies": {
|
||||
"data.io": "0.3.0",
|
||||
"gulp": "^3.8.11",
|
||||
"gulp-react-jade-amd": "git://github.com/vladimir-polyakov/gulp-react-jade-amd",
|
||||
"jade": "1.9.2",
|
||||
"node-static": "0.7.6",
|
||||
"socket.io": "1.3.5",
|
||||
@ -41,6 +39,7 @@
|
||||
"expect.js": "0.3.1",
|
||||
"gulp": "3.8.11",
|
||||
"mocha": "1.18.2",
|
||||
"gulp-react-jade-amd": "git://github.com/vladimir-polyakov/gulp-react-jade-amd",
|
||||
"nodemon": "1.3.7"
|
||||
}
|
||||
}
|
||||
|
@ -1,33 +0,0 @@
|
||||
define(['react'], function(React) {return (function (React) {
|
||||
var fn = function(locals) {
|
||||
var tags = [];
|
||||
var locals_for_with = locals || {};
|
||||
(function(ProjectsList) {
|
||||
tags.push(React.createElement("div", {}, React.createElement("h1", {}, "application"), React.createElement(ProjectsList, {})));
|
||||
}).call(this, "ProjectsList" in locals_for_with ? locals_for_with.ProjectsList : typeof ProjectsList !== "undefined" ? ProjectsList : undefined);
|
||||
if (tags.length === 1 && !Array.isArray(tags[0])) {
|
||||
return tags.pop();
|
||||
}
|
||||
tags.unshift("div", null);
|
||||
return React.createElement.apply(React, tags);
|
||||
};
|
||||
|
||||
fn.locals = function setLocals(locals) {
|
||||
var render = this;
|
||||
function newRender(additionalLocals) {
|
||||
var newLocals = {};
|
||||
for (var key in locals) {
|
||||
newLocals[key] = locals[key];
|
||||
}
|
||||
if (additionalLocals) {
|
||||
for (var key in additionalLocals) {
|
||||
newLocals[key] = additionalLocals[key];
|
||||
}
|
||||
}
|
||||
return render.call(this, newLocals);
|
||||
}
|
||||
newRender.locals = setLocals;
|
||||
return newRender;
|
||||
};;
|
||||
return fn;
|
||||
}(typeof React !== "undefined" ? React : require(".//Users/vladimir/projects/nci/node_modules/gulp-react-jade-amd/node_modules/react/react.js")));});
|
@ -1,33 +0,0 @@
|
||||
define(['react'], function(React) {return (function (React) {
|
||||
var fn = function(locals) {
|
||||
var tags = [];
|
||||
var locals_for_with = locals || {};
|
||||
(function(item) {
|
||||
tags.push(React.createElement("h1", {}, item.name));
|
||||
}).call(this, "item" in locals_for_with ? locals_for_with.item : typeof item !== "undefined" ? item : undefined);
|
||||
if (tags.length === 1 && !Array.isArray(tags[0])) {
|
||||
return tags.pop();
|
||||
}
|
||||
tags.unshift("div", null);
|
||||
return React.createElement.apply(React, tags);
|
||||
};
|
||||
|
||||
fn.locals = function setLocals(locals) {
|
||||
var render = this;
|
||||
function newRender(additionalLocals) {
|
||||
var newLocals = {};
|
||||
for (var key in locals) {
|
||||
newLocals[key] = locals[key];
|
||||
}
|
||||
if (additionalLocals) {
|
||||
for (var key in additionalLocals) {
|
||||
newLocals[key] = additionalLocals[key];
|
||||
}
|
||||
}
|
||||
return render.call(this, newLocals);
|
||||
}
|
||||
newRender.locals = setLocals;
|
||||
return newRender;
|
||||
};;
|
||||
return fn;
|
||||
}(typeof React !== "undefined" ? React : require(".//Users/vladimir/projects/nci/node_modules/gulp-react-jade-amd/node_modules/react/react.js")));});
|
@ -1,58 +0,0 @@
|
||||
define(['react'], function(React) {return (function (React) {
|
||||
var fn = function(locals) {
|
||||
var tags = [];
|
||||
var locals_for_with = locals || {};
|
||||
(function(Item, console, items) {
|
||||
tags.push(React.createElement.apply(React, [ "div", {} ].concat(function() {
|
||||
var tags = [];
|
||||
tags.push(React.createElement("h2", {}, "projects list"));
|
||||
console.log(this);
|
||||
tags.push(function() {
|
||||
var tags = [];
|
||||
var $$obj = items;
|
||||
if ("number" == typeof $$obj.length) for (var $index = 0, $$l = $$obj.length; $$l > $index; $index++) {
|
||||
var project = $$obj[$index];
|
||||
tags.push(React.createElement(Item, {
|
||||
item: project
|
||||
}));
|
||||
} else {
|
||||
var $$l = 0;
|
||||
for (var $index in $$obj) {
|
||||
$$l++;
|
||||
var project = $$obj[$index];
|
||||
tags.push(React.createElement(Item, {
|
||||
item: project
|
||||
}));
|
||||
}
|
||||
}
|
||||
return tags;
|
||||
}.call(this));
|
||||
return tags;
|
||||
}.call(this))));
|
||||
}).call(this, "Item" in locals_for_with ? locals_for_with.Item : typeof Item !== "undefined" ? Item : undefined, "console" in locals_for_with ? locals_for_with.console : typeof console !== "undefined" ? console : undefined, "items" in locals_for_with ? locals_for_with.items : typeof items !== "undefined" ? items : undefined);
|
||||
if (tags.length === 1 && !Array.isArray(tags[0])) {
|
||||
return tags.pop();
|
||||
}
|
||||
tags.unshift("div", null);
|
||||
return React.createElement.apply(React, tags);
|
||||
};
|
||||
|
||||
fn.locals = function setLocals(locals) {
|
||||
var render = this;
|
||||
function newRender(additionalLocals) {
|
||||
var newLocals = {};
|
||||
for (var key in locals) {
|
||||
newLocals[key] = locals[key];
|
||||
}
|
||||
if (additionalLocals) {
|
||||
for (var key in additionalLocals) {
|
||||
newLocals[key] = additionalLocals[key];
|
||||
}
|
||||
}
|
||||
return render.call(this, newLocals);
|
||||
}
|
||||
newRender.locals = setLocals;
|
||||
return newRender;
|
||||
};;
|
||||
return fn;
|
||||
}(typeof React !== "undefined" ? React : require(".//Users/vladimir/projects/nci/node_modules/gulp-react-jade-amd/node_modules/react/react.js")));});
|
@ -1,33 +0,0 @@
|
||||
define(['react'], function(React) {return (function (React) {
|
||||
var fn = function(locals) {
|
||||
var tags = [];
|
||||
var locals_for_with = locals || {};
|
||||
(function(App) {
|
||||
tags.push(React.createElement("div", {}, React.createElement(App, {})));
|
||||
}).call(this, "App" in locals_for_with ? locals_for_with.App : typeof App !== "undefined" ? App : undefined);
|
||||
if (tags.length === 1 && !Array.isArray(tags[0])) {
|
||||
return tags.pop();
|
||||
}
|
||||
tags.unshift("div", null);
|
||||
return React.createElement.apply(React, tags);
|
||||
};
|
||||
|
||||
fn.locals = function setLocals(locals) {
|
||||
var render = this;
|
||||
function newRender(additionalLocals) {
|
||||
var newLocals = {};
|
||||
for (var key in locals) {
|
||||
newLocals[key] = locals[key];
|
||||
}
|
||||
if (additionalLocals) {
|
||||
for (var key in additionalLocals) {
|
||||
newLocals[key] = additionalLocals[key];
|
||||
}
|
||||
}
|
||||
return render.call(this, newLocals);
|
||||
}
|
||||
newRender.locals = setLocals;
|
||||
return newRender;
|
||||
};;
|
||||
return fn;
|
||||
}(typeof React !== "undefined" ? React : require(".//Users/vladimir/projects/nci/node_modules/gulp-react-jade-amd/node_modules/react/react.js")));});
|
Loading…
Reference in New Issue
Block a user