This file contains hidden or 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
| Timings: | |
| DNS lookup: %{time_namelookup} | |
| Connection: %{time_connect} | |
| SSL negotiation: %{time_appconnect} | |
| Total: %{time_total} | |
| \n | |
This file contains hidden or 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
Show hidden characters
| { | |
| "selector": "source.ts", | |
| "cmd": ["tsc", "$file"], | |
| "file_regex": "^(.+?) \\((\\d+),(\\d+)\\)(: .+)$", | |
| "line_regex": "\\((\\d+),(\\d+)\\)", | |
| "osx": { | |
| "path": "/usr/local/bin:/opt/local/bin" |
This file contains hidden or 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 nestCollection(model, attributeName, nestedCollection) { | |
| //setup nested references | |
| for (var i = 0; i < nestedCollection.length; i++) { | |
| model.attributes[attributeName][i] = nestedCollection.at(i).attributes; | |
| } | |
| //create empty arrays if none | |
| nestedCollection.bind('add', function (initiative) { | |
| if (!model.get(attributeName)) { | |
| model.attributes[attributeName] = []; |
This file contains hidden or 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
| // A very simple npm server that you can `npm publish` to. | |
| // Useful for publishing internal packages. | |
| // | |
| // Writes the published .tgz package to disk under tmp/ | |
| // | |
| // In your own project's `package.json`, add this: | |
| // | |
| // "publishConfig":{"registry":"http://localhost:9911"} | |
| // | |
| // Before you publish the first time you also need to |