This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$scope.paymentOptions = [ | |
{name: "Regular user - first purchase", value: "upgrade"}, | |
{name: "Regular user - add more players", value: "add.players"}, | |
{name: "New Partner", value: "new.partner"}, | |
{name: "New EDU Yearly Subscription", value: "new.edu"}, | |
{name: "Templates ", value: "templates"}, | |
{name: "Service", value: "service"}, | |
{name: "Integration", value: "integration"}, | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
name: "Хобот автобан", | |
distance: 10000, // в метрах | |
elevation: 1000, // в метрах | |
bike: ["MTB", "Highway"], | |
cover: { | |
"asphalt": 40, | |
"dirt": 40, | |
"sand": 20 | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function eventFire(el, etype){ | |
if (el.fireEvent) { | |
el.fireEvent('on' + etype); | |
} else { | |
var evObj = document.createEvent('Events'); | |
evObj.initEvent(etype, true, false); | |
el.dispatchEvent(evObj); | |
} | |
} |