Hi,
some people complaint over the last few days that Bespin is no longer
working with Chrome/-ium 6. A person tracked down the issue and it
seems to be traits.js related (we use traits.js at some places in
Bespin). Here's the important part of the person's research:
"There is an exeption at bespin.js:8888 with "required" being
undefined
// expose the public API of this module
function Trait(record) {
// calling Trait as a function creates a new atomic trait
return trait(record);
}
Trait.required = freeze(required);
Trait.compose = freeze(compose);
Trait.resolve = freeze(resolve);
Trait.override = freeze(override);
I could fix it by changing traits.js:60
var freeze = Object.freeze || function(obj) { return obj; };
into
var freeze = function(obj) { return obj; };
I don't fully understand the impact. That seems to be some kind of
optimization, which doesn't work with the latest V8."
You find the original post here:
http://groups.google.com/group/bespin/browse_thread/thread/a352af48a3168965
Someone else got the error message "Uncaught TypeError: Object.freeze
called on non-object" (original post:
http://groups.google.com/group/bespin/browse_thread/thread/3e418217954d3849).
Is there a way to fix this issue?
Cheers
Julian