Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update structr version

  • Loading branch information...
commit 605e282df4dbbd81120da036dd61ea160e14ac82 1 parent 3d0a96a
@crcn authored
View
6 lib/beans/cbd.projects/index.js
@@ -36,7 +36,7 @@ exports.plugin = function(router) {
*/
'pull projects -> command/execute/:cmd OR projects/execute/:cmd': function(req, res) {
-
+
var running = req.projects.length;
@@ -147,10 +147,8 @@ exports.plugin = function(router) {
ops.projectName = params.target || ops.target || (ops.args.length ? ops.args.shift() : path.basename(process.cwd()));
}
-
-
Project.find(ops.projectName, function(err, projects) {
-
+
//attach onto the request so anything routes after this get the projects. example above
req.projects = projects;
View
2  lib/beans/cbd.projects/processor.js
@@ -177,4 +177,4 @@ var Processor = module.exports = Structr({
return this._processors[project.name()] || (this._processors[project.name()] = new module.exports(project));
}
-});
+});
View
2  lib/bootstrap.js
@@ -11,6 +11,8 @@ initialized = false;
exports.init = function(callback) {
+
+
if(initialized) return callback(router);
em.addListener('init', callback);
View
2  package.json
@@ -15,7 +15,7 @@
"findit": "0.1.1",
"relative-date": "1.1.1",
"underscore": "*",
- "structr": "*",
+ "structr": "0.2.x",
"beanpoll": "<0.3.0",
"plugin": "<0.2.0",
"vine": "0.0.10",
View
48 project.sublime-workspace
@@ -333,6 +333,14 @@
}
},
{
+ "file": "/tmp/subl stdin QXAqrX.txt",
+ "settings":
+ {
+ "buffer_size": 0,
+ "line_ending": "Unix"
+ }
+ },
+ {
"file": "/tmp/subl stdin cGVCof.txt",
"settings":
{
@@ -489,7 +497,7 @@
"groups":
[
{
- "selected": 39,
+ "selected": 40,
"sheets":
[
{
@@ -1558,7 +1566,7 @@
},
{
"buffer": 40,
- "file": "/tmp/subl stdin cGVCof.txt",
+ "file": "/tmp/subl stdin QXAqrX.txt",
"settings":
{
"buffer_size": 0,
@@ -1584,6 +1592,32 @@
},
{
"buffer": 41,
+ "file": "/tmp/subl stdin cGVCof.txt",
+ "settings":
+ {
+ "buffer_size": 0,
+ "regions":
+ {
+ },
+ "selection":
+ [
+ [
+ 0,
+ 0
+ ]
+ ],
+ "settings":
+ {
+ "syntax": "Packages/Text/Plain text.tmLanguage"
+ },
+ "translation.x": 0.0,
+ "translation.y": 0.0,
+ "zoom_level": 1.0
+ },
+ "type": "text"
+ },
+ {
+ "buffer": 42,
"file": "lib/beans/cbd.projects/model.js",
"settings":
{
@@ -1610,7 +1644,7 @@
"type": "text"
},
{
- "buffer": 42,
+ "buffer": 43,
"file": ".gitignore",
"settings":
{
@@ -1636,7 +1670,7 @@
"type": "text"
},
{
- "buffer": 43,
+ "buffer": 44,
"file": "lib/beans/cbd.projects/getUpdatedFiles.js",
"settings":
{
@@ -1663,7 +1697,7 @@
"type": "text"
},
{
- "buffer": 44,
+ "buffer": 45,
"file": ".cupboard",
"settings":
{
@@ -1689,7 +1723,7 @@
"type": "text"
},
{
- "buffer": 45,
+ "buffer": 46,
"file": "/tmp/subl stdin Hq7npW.txt",
"settings":
{
@@ -1715,7 +1749,7 @@
"type": "text"
},
{
- "buffer": 46,
+ "buffer": 47,
"file": "/tmp/subl stdin zV8gzp.txt",
"settings":
{
Please sign in to comment.
Something went wrong with that request. Please try again.