{"action":"created","issue":{"url":"https://api.github.com/repos/6to5/6to5.github.io/issues/70","labels_url":"https://api.github.com/repos/6to5/6to5.github.io/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/6to5/6to5.github.io/issues/70/comments","events_url":"https://api.github.com/repos/6to5/6to5.github.io/issues/70/events","html_url":"https://github.com/6to5/6to5.github.io/issues/70","id":54848727,"number":70,"title":"\"no runtime\"?","user":{"login":"Daniel15","id":91933,"avatar_url":"https://avatars.githubusercontent.com/u/91933?v=3","gravatar_id":"","url":"https://api.github.com/users/Daniel15","html_url":"https://github.com/Daniel15","followers_url":"https://api.github.com/users/Daniel15/followers","following_url":"https://api.github.com/users/Daniel15/following{/other_user}","gists_url":"https://api.github.com/users/Daniel15/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel15/subscriptions","organizations_url":"https://api.github.com/users/Daniel15/orgs","repos_url":"https://api.github.com/users/Daniel15/repos","events_url":"https://api.github.com/users/Daniel15/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel15/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-20T06:30:53Z","updated_at":"2015-01-20T06:41:41Z","closed_at":"2015-01-20T06:34:56Z","body":"The 6to5 site states:\r\n> Maps directly to the equivalent ES5 with no runtime\r\n\r\nWhat does \"no runtime\" mean in this context? When I use ES6 class syntax I get a few extra helpers in the generated code:\r\n```javascript\r\nvar _get = function get(object, property, receiver) {\r\n  var desc = Object.getOwnPropertyDescriptor(object, property);\r\n\r\n  if (desc === undefined) {\r\n    var parent = Object.getPrototypeOf(object);\r\n\r\n    if (parent === null) {\r\n      return undefined;\r\n    } else {\r\n      return get(parent, property, receiver);\r\n    }\r\n  } else if (\"value\" in desc && desc.writable) {\r\n    return desc.value;\r\n  } else {\r\n    var getter = desc.get;\r\n    if (getter === undefined) {\r\n      return undefined;\r\n    }\r\n    return getter.call(receiver);\r\n  }\r\n};\r\n\r\nvar _inherits = function (subClass, superClass) {\r\n  if (typeof superClass !== \"function\" && superClass !== null) {\r\n    throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\r\n  }\r\n  subClass.prototype = Object.create(superClass && superClass.prototype, {\r\n    constructor: {\r\n      value: subClass,\r\n      enumerable: false,\r\n      writable: true,\r\n      configurable: true\r\n    }\r\n  });\r\n  if (superClass) subClass.__proto__ = superClass;\r\n};\r\n\r\nvar _prototypeProperties = function (child, staticProps, instanceProps) {\r\n  if (staticProps) Object.defineProperties(child, staticProps);\r\n  if (instanceProps) Object.defineProperties(child.prototype, instanceProps);\r\n};\r\n```\r\n\r\nAdmittedly this is a very small amount of extra code, but is that code not considered a \"runtime\"? If not, what would you consider to be a runtime? Do you mean some actual sort of VM?"},"comment":{"url":"https://api.github.com/repos/6to5/6to5.github.io/issues/comments/70611126","html_url":"https://github.com/6to5/6to5.github.io/issues/70#issuecomment-70611126","issue_url":"https://api.github.com/repos/6to5/6to5.github.io/issues/70","id":70611126,"user":{"login":"sebmck","id":853712,"avatar_url":"https://avatars.githubusercontent.com/u/853712?v=3","gravatar_id":"","url":"https://api.github.com/users/sebmck","html_url":"https://github.com/sebmck","followers_url":"https://api.github.com/users/sebmck/followers","following_url":"https://api.github.com/users/sebmck/following{/other_user}","gists_url":"https://api.github.com/users/sebmck/gists{/gist_id}","starred_url":"https://api.github.com/users/sebmck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebmck/subscriptions","organizations_url":"https://api.github.com/users/sebmck/orgs","repos_url":"https://api.github.com/users/sebmck/repos","events_url":"https://api.github.com/users/sebmck/events{/privacy}","received_events_url":"https://api.github.com/users/sebmck/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T06:41:41Z","updated_at":"2015-01-20T06:41:41Z","body":"@Daniel15 \r\n\r\n> I think it'd be good to change the site from \"no runtime\" to \"no external scripts\" or something like that to clarify it for n00bs like me. I'm used to \"runtime\" referring to a VM or something similar, rather than just meaning an external chunk of code.\r\n\r\nAh yeah that's true. The site currently needs some work done on copytext as there have been some changes lately that have made it a bit flaky. I'm not very used to writing technical documentation so I have difficulty simplifying concepts, definently hope to fix it up soon. Thanks for bringing it to my attention though!"}}