- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
$timeout(function(){
$rootScope.presentation_details = {
"name" : $rootScope.presentationDetails.name,
"description" : $rootScope.presentationDetails.description,
"lastUpdatedView" : $rootScope.presentationDetails.lastUpdatedView,
"projectId" : $rootScope.presentationDetails.projectId,
"presentationId" : $rootScope.presentationDetails.presentationId,
"reimbursementRate" : $rootScope.presentationDetails.reimbursementRate,
"isTemplate" : $rootScope.presentationDetails.isTemplate,
"authorId" : $rootScope.presentationDetails.authorId,
"authorName" : $rootScope.presentationDetails.authorName,
"IsNewPresentation" : false,
"gDocsId" : $rootScope.presentationDetails.gDocsId,
"parameters" : {
"widgetURL" : $rootScope.presentationDetails.parameters.widgetURL,
"widgetIFrameUrl" : $rootScope.presentationDetails.parameters.widgetIFrameUrl,
"widgetTextareaContent": $rootScope.presentationDetails.parameters.widgetTextareaContent,
"widgetTotalEGinGasSaved" : $rootScope.presentationDetails.parameters.widgetTotalEGinGasSaved,
"widgetTotalEGinFewerVehicles" : $rootScope.presentationDetails.parameters.widgetTotalEGinFewerVehicles,
"widgetHowDoesSolarWorkStepFourDuration" : $rootScope.presentationDetails.parameters.widgetHowDoesSolarWorkStepFourDuration,
"widgetHowDoesSolarWorkOverallDuration" : $rootScope.presentationDetails.parameters.widgetHowDoesSolarWorkOverallDuration,
"widgetGraphWeather" : $rootScope.presentationDetails.parameters.widgetGraphWeather,
"wIdgetGraphTemperatureChartType" : $rootScope.presentationDetails.parameters.wIdgetGraphTemperatureChartType,
"widgetGraphTemperature" : $rootScope.presentationDetails.parameters.widgetGraphTemperature,
"widgetWeatherType" : $rootScope.presentationDetails.parameters.widgetWeatherType,
"transitionOut" : $rootScope.presentationDetails.parameters.transitionOut,
"transitionIn" : $rootScope.presentationDetails.parameters.transitionIn,
"parametersId" : $rootScope.presentationDetails.parameters.parametersId,
"subheaderFont" : {
"fontId" : $rootScope.presentationDetails.parameters.subheaderFont.fontId,
"size" : $rootScope.presentationDetails.parameters.subheaderFont.size,
"name" : $rootScope.presentationDetails.parameters.subheaderFont.name,
"color" : $rootScope.presentationDetails.parameters.subheaderFont.color,
"visible" : $rootScope.presentationDetails.parameters.subheaderFont.visible,
"label" : $rootScope.presentationDetails.parameters.subheaderFont.label,
"content" : $rootScope.presentationDetails.parameters.subheaderFont.content,
},
"normal2Font" : {
"fontId" : $rootScope.presentationDetails.parameters.normal2Font.fontId,
"size" : $rootScope.presentationDetails.parameters.normal2Font.size,
"name" : $rootScope.presentationDetails.parameters.normal2Font.name,
"color" : $rootScope.presentationDetails.parameters.normal2Font.color,
"visible" : $rootScope.presentationDetails.parameters.normal2Font.visible,
"label" : $rootScope.presentationDetails.parameters.normal2Font.label,
},
"backgroundImage" : $rootScope.presentationDetails.parameters.backgroundImage,
"backgroundImageVisible" : $rootScope.presentationDetails.parameters.backgroundImageVisible,
"backgroundImageLabel" : $rootScope.presentationDetails.parameters.backgroundImageLabel,
"backgroundColor" : $rootScope.presentationDetails.parameters.backgroundColor,
"backgroundColorVisible" : $rootScope.presentationDetails.parameters.backgroundColorVisible,
"backgroundColorLabel" : $rootScope.presentationDetails.parameters.backgroundColorLabel,
"widgetIndex" : $rootScope.presentationDetails.parameters.widgetIndex,
"rowPosition" : $rootScope.presentationDetails.parameters.rowPosition,
"colPosition" : $rootScope.presentationDetails.parameters.colPosition,
"rowCount" : $rootScope.presentationDetails.parameters.rowCount,
"colCount" : $rootScope.presentationDetails.parameters.colCount,
"duration" : $rootScope.presentationDetails.parameters.duration,
"startDate" : $rootScope.presentationDetails.parameters.startDate,
"endDate" : $rootScope.presentationDetails.parameters.endDate,
},
};
}, 10);
Заглянул в код текущего проекта... Зря тимлид не проводит кодревью... У кого есть идеи нахеряки?