babe-project
Advanced tools
Comparing version 0.0.27 to 0.0.28
@@ -12,6 +12,6 @@ # Changelog | ||
- version: x.x | ||
- version: 0.0.27 | ||
- Fix submission of views containing canvas elements (flattened) | ||
- (change) | ||
- (change) | ||
@@ -18,0 +18,0 @@ - version: x.x |
@@ -29,3 +29,3 @@ # \_babe progress bar | ||
], | ||
style: "default", | ||
style: "separate", | ||
width: 120 // 120 pixels | ||
@@ -47,3 +47,3 @@ } | ||
], | ||
style: "default", | ||
style: "chunks", | ||
width: 60 // 60 pixels | ||
@@ -50,0 +50,0 @@ } |
@@ -529,4 +529,4 @@ # \_babe views | ||
* `key2: string` | ||
* `f: string` | ||
* `j: string` | ||
* `<key-specified in key1, e.g. f>: string` | ||
* `<key specified in key2, e.g. j>: string` | ||
* `expected: string` | ||
@@ -533,0 +533,0 @@ |
{ | ||
"name": "babe-project", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"description": "Basic Architecture for Browser-based experiments (https://github.com/babe-project/babe-project)", | ||
@@ -5,0 +5,0 @@ "main": "babe.js", |
# \_babe project | ||
basic architecture for browser-based experiments | ||
**Latest version: 0.0.27** | ||
**Latest version: 0.0.28** | ||
- Fix submission of views containing canvas elements (flattened) | ||
- (change) | ||
- (change) | ||
- Add an inactivity tracker/timer (inactive per default) #28 | ||
- Fix localServer deployment | ||
- babeInit now returns the babe-object in debug mode, for easier debugging | ||
@@ -398,3 +398,3 @@ **Table of contents** | ||
[Here](https://github.com/babe-project/MinimalTemplate/tree/modularized) you can find a sample forced-choice experiment created with \_babe. | ||
[Here](https://github.com/babe-project/departure-point) you can find a minimal experiment created with \_babe, you can use this template as a starting point for your experiment. [Showroom](https://github.com/babe-project/showroom) is an experiment which demonstrates most of \_babe's functionalities including most views, hooks and the canvas-api. | ||
@@ -401,0 +401,0 @@ ## Development |
@@ -47,2 +47,9 @@ const babeInit = function(config) { | ||
if (typeof config.timer === 'undefined') { | ||
babe.timer = ""; | ||
} else { | ||
babe.timer = config.timer; | ||
babeTimer(babe); | ||
} | ||
// adds progress bars to the views | ||
@@ -193,2 +200,9 @@ babe.progress = babeProgress(babe); | ||
} | ||
// return the babe-object in debug mode to make debugging easier | ||
if (babe.deploy.deployMethod === 'debug'){ | ||
return babe; | ||
} else { | ||
return null; | ||
} | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
548618
29
9494
0