Skip to content

Commit

Permalink
Implement single cycle using Programmatic.
Browse files Browse the repository at this point in the history
Closes #312.
  • Loading branch information
flatheadmill committed Mar 4, 2014
1 parent 0c97aeb commit 15da783
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 8 deletions.
1 change: 1 addition & 0 deletions release.md
@@ -1,5 +1,6 @@
### Issue by Issue

* Implement single cycle using Programmatic. #312.
* Implement double cycle using Programmatic. #311.
* Implement signed short cycle using Programmatic. #310.
* Upgrade Proof to 0.0.44. #309.
Expand Down
File renamed without changes.
6 changes: 4 additions & 2 deletions t/generated/parse.bff.b32f_foo.js
Expand Up @@ -17,9 +17,11 @@ module.exports = function (object, callback) {
if (start == end) {
return start
}
_foo[bite--] = buffer[start++]
_foo[bite] = buffer[start++]
bite--
}
object["foo"] = new DataView(_foo).getFloat32(0, true)
_foo = new DataView(_foo).getFloat32(0, true)
object["foo"] = _foo
}

if (next = callback(object)) {
Expand Down
6 changes: 4 additions & 2 deletions t/generated/parse.bff.l32f_foo.js
Expand Up @@ -17,9 +17,11 @@ module.exports = function (object, callback) {
if (start == end) {
return start
}
_foo[bite++] = buffer[start++]
_foo[bite] = buffer[start++]
bite++
}
object["foo"] = new DataView(_foo).getFloat32(0, true)
_foo = new DataView(_foo).getFloat32(0, true)
object["foo"] = _foo
}

if (next = callback(object)) {
Expand Down
4 changes: 2 additions & 2 deletions t/generated/serialize.bff.b32f_foo.js
Expand Up @@ -19,7 +19,8 @@ module.exports = function (object, callback) {
if (start == end) {
return start
}
buffer[start++] = _foo[bite--]
buffer[start++] = _foo[bite]
bite--
}
}

Expand Down Expand Up @@ -48,7 +49,6 @@ module.exports = function (object, callback) {
buffer[start + 1] = _foo[2]
buffer[start + 2] = _foo[1]
buffer[start + 3] = _foo[0]

start += 4

if (next = callback && callback(object)) {
Expand Down
4 changes: 2 additions & 2 deletions t/generated/serialize.bff.l32f_foo.js
Expand Up @@ -19,7 +19,8 @@ module.exports = function (object, callback) {
if (start == end) {
return start
}
buffer[start++] = _foo[bite++]
buffer[start++] = _foo[bite]
bite++
}
}

Expand Down Expand Up @@ -48,7 +49,6 @@ module.exports = function (object, callback) {
buffer[start + 1] = _foo[1]
buffer[start + 2] = _foo[2]
buffer[start + 3] = _foo[3]

start += 4

if (next = callback && callback(object)) {
Expand Down

0 comments on commit 15da783

Please sign in to comment.