Opened 12 years ago

Closed 12 years ago

#4296 closed defect (fixed)

build error when using packer for optimization

Reported by: guest Owned by: James Burke
Priority: high Milestone: 1.0
Component: General Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

this happened with current trunk, on Mac OSX and here the error output:

js: "/Users/rsaccon/code/foo/www/static/dev/dojox/encoding/bits.js", line 43: missing name after . operator js: this.byte = this.bit = 0; js: .......... js: "/Users/rsaccon/code/foo/www/static/dev/dojox/encoding/bits.js", line 51: missing name after . operator js: var v = this.buffer[this.byte] >>> (8 - this.bit - w); js: ................................ js: "/Users/rsaccon/code/foo/www/static/dev/dojox/encoding/bits.js", line 56: missing name after . operator js: ++this.byte; js: ............... js: "/Users/rsaccon/code/foo/www/static/dev/dojox/encoding/bits.js", line 64: missing name after . operator js: return this.width - this.byte * 8 - this.bit; js: ............................... js: "/Users/rsaccon/code/foo/www/static/dev/dojox/encoding/bits.js", line 1: Compilation produced 4 syntax errors.

Change History (2)

comment:1 Changed 12 years ago by James Burke

Milestone: 1.0
Owner: changed from anonymous to James Burke

comment:2 Changed 12 years ago by James Burke

Resolution: fixed
Status: newclosed

(In [10711]) Fixes #4296. 'byte' is a reserved word in javascript, and rhino choked on its use.

Note: See TracTickets for help on using tickets.