joseayram/timeline-sc — pull request #6 by ivanacostarubio (2014-09-26 03:28:22+00:00)
Title: Removing the hard coded project's attributes from HTML

This removes the hard coded project values from the main template. That way we can properly create the estimate, proposals and timelines.

It solves https://github.com/joseayram/timeline-sc/issues/4 since now the loopElement function looks like:

```javascript

function loopElements(element, index, array) {
if (configYML[index].month != undefined) {
$element = createMonth(configYML[index].month);
$(".timeline").append($element);
} else if (configYML[index].iteration != undefined) {
$element = createIteration(index);
$(".timeline").append($element);
}else if (configYML[index].title!= undefined){
createHeader(element);
}

}

```