-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
auto-detectIssue with auto detection of language typeIssue with auto detection of language typehelp welcomeCould use help from communityCould use help from community
Description
If js and yaml included both, js code is generally detected as yaml.
Examples below are all detected as yaml.
// Calculate distance between two points
var result = calcDistance({
from: {
x: 12,
y: -5
},
to: {
x: 4,
y: 2
}
});
// log(result);
var options = {
opt1: 1,
opt2: 2,
opt3: 3
};
mylib.someFunc(options, function (err, result) {
console.log(err || result);
});
// result:
[
{
from: "some name",
to: "some other name",
details: {
prop1: 123,
text: "some text"
},
prop: undefined,
timestamp: 1456795956380
}
]
Metadata
Metadata
Assignees
Labels
auto-detectIssue with auto detection of language typeIssue with auto detection of language typehelp welcomeCould use help from communityCould use help from community