npm install -g karma
npm install -g karma-cli
If you get any MS build errors, set the msvs version, and run again:
npm config set msvs_version 2013 --global
| { | |
| "afn_use_keybinding": true, | |
| "caret_style": "wide", | |
| "color_scheme": "Packages/User/Flatland Dark (SL).tmTheme", | |
| "draw_minimap_border": true, | |
| "fade_fold_buttons": false, | |
| "font_face": "Consolas", | |
| "font_size": 9, | |
| "ignored_packages": | |
| [ |
| function sendFile = function (el) { | |
| scope.uploading = true; | |
| var filename = $('#inputElement').val(), | |
| fObj = el.files[0]; | |
| if (f == '') { | |
| return false; | |
| } | |
| var fPart = filename.split('\\'), | |
| origFilename = fPart[fPart.length - 1]; | |
| public static string PostRequest(Uri serviceReqUrl, string jsonData, Dictionary<string, string> additionalHeaders, out System.Net.HttpStatusCode statusCode) | |
| { | |
| HttpResponseMessage response = null; | |
| try | |
| { | |
| using (HttpClient client = new HttpClient()) | |
| { | |
| HttpContent content = new System.Net.Http.StringContent(jsonData, System.Text.Encoding.UTF8, "application/json"); | |
| if (additionalHeaders != null) | |
| { |
| describe('Portfolio Module', function () { | |
| var DesignerContextSvc, $httpBackend, authRequestHandler, path, adTypeId = 1; | |
| var metadata = { | |
| collection: [{ | |
| name: "leaderboard", | |
| label: "Leaderboard", | |
| units: [{ | |
| name: "desktop", |
| .highlight { background: #ffffff; } | |
| .highlight .c { color: #999988; font-style: italic } /* Comment */ | |
| .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ | |
| .highlight .k { font-weight: bold } /* Keyword */ | |
| .highlight .o { font-weight: bold } /* Operator */ | |
| .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */ | |
| .highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */ | |
| .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */ | |
| .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */ | |
| .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ |
| .directive('scrollPosition', ['$window', function($window) { | |
| return { | |
| scope: { | |
| target: '=scrollPosition' | |
| }, | |
| link: function (scope, element) { | |
| // Detect request animation frame | |
| var scroll = window.requestAnimationFrame || | |
| window.webkitRequestAnimationFrame || | |
| window.mozRequestAnimationFrame || |
| d3.select("#selections") | |
| .append("p") | |
| .text("New paragraph!"); | |
| // var data = [ | |
| // { | |
| // "browser":"Chrome", | |
| // "value": "45" | |
| // }, | |
| // { | |
| // "browser":"Safari", | |
| // "value":"12" | |
| // }, |