You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self = Core(I).extend
###*
A Block Comment
###
key: val
###
Huh? These are functions?
###
key2: ->
test
Generates the following JavaScript:
var self;
self = Core(I).extend((function() {
/**
A Block Comment
*/
})(), {
key: val
}, (function() {
/*
Huh? These are functions?
*/
})(), {
key2: function() {
return test;
}
});
It should instead generate something more like this:
var self;
self = Core(I).extend({ /**
Huh?
*/
key: val,
/*
Huh? These are functions?
*/
key2: function() {
return test;
}
});
So instead of passing a single object as the sole parameter to Core(I).extend it passes 4 arguments, undefined for each comment, and an object for each key.
This previously worked in 0.9.4, but is now broken in 1.1.1
The text was updated successfully, but these errors were encountered:
This CoffeeScript
Generates the following JavaScript:
It should instead generate something more like this:
So instead of passing a single object as the sole parameter to
Core(I).extend
it passes 4 arguments,undefined
for each comment, and an object for each key.This previously worked in 0.9.4, but is now broken in 1.1.1
The text was updated successfully, but these errors were encountered: