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
| <script type="text/javascript"> | |
| var appInsights=window.appInsights||function(config){ | |
| function s(config){t[config]=function(){var i=arguments;t.queue.push(function(){t[config].apply(t,i)})}}var t={config:config},r=document,f=window,e="script",o=r.createElement(e),i,u;for(o.src=config.url||"//az416426.vo.msecnd.net/scripts/a/ai.0.js",r.getElementsByTagName(e)[0].parentNode.appendChild(o),t.cookie=r.cookie,t.queue=[],i=["Event","Exception","Metric","PageView","Trace"];i.length;)s("track"+i.pop());return config.disableExceptionTracking||(i="onerror",s("_"+i),u=f[i],f[i]=function(config,r,f,e,o){var s=u&&u(config,r,f,e,o);return s!==!0&&t["_"+i](config,r,f,e,o),s}),t | |
| }({ | |
| instrumentationKey:"c0a3dcd4-6b58-4f92-a053-54d65a1db105" | |
| }); | |
| window.appInsights=appInsights; | |
| // appInsights.trackPageView(); | |
| </script> |
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
| <link rel="stylesheet" href="/public/fabric/css/fabric.min.css"> | |
| <link rel="stylesheet" href="/public/fabric/css/fabric.components.min.css"> | |
| <script src="/public/fabric/components/Dropdown/Jquery.Dropdown.js" type="application/javascript"></script> | |
| <label class="ms-Label">Position</label> | |
| <div class="ms-Dropdown"> | |
| <i class="ms-Dropdown-caretDown ms-Icon ms-Icon--caretDown"></i> | |
| <select class="ms-Dropdown-select" data-ng-model="vm.pick.position"> | |
| <option value="">Choose a position...</option> | |
| <option value="QB">quarterback</option> |
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
| <link rel="stylesheet" href="/public/fabric/css/fabric.min.css"> | |
| <link rel="stylesheet" href="/public/fabric/css/fabric.components.min.css"> | |
| <div class="ms-Grid"> | |
| <div class="ms-Grid-row"> | |
| <div class="ms-Grid-col ms-u-lg12"> | |
| <div class="ms-font-su">{{vm.teamName}} Roster</div> | |
| <div class="ms-Table"> | |
| <div class="ms-Table-row"> | |
| <span class="ms-Table-cell ms-font-xl">Pos.</span> |
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
| { | |
| "version": "0.1.0", | |
| "command": "gulp", | |
| "isShellCommand": true, | |
| "args": [], | |
| "tasks": [ | |
| { | |
| "taskName": "run-tests", | |
| "isTestCommand": true, | |
| "isBuildCommand": false |
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
| 'use strict'; | |
| var gulp = require('gulp'); | |
| var mocha = require('gulp-mocha'); | |
| /** | |
| * Execute all tests. | |
| */ | |
| gulp.task('run-tests', function () { | |
| return gulp.src('test/**/*.js', { read: false }) |
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
| { | |
| "version": "0.1.0", | |
| "configurations": [ | |
| { | |
| "name": "Launch yo", | |
| "type": "node", | |
| // NOTE: this should be the result of running `which yo` on your system... | |
| // for the typical NPM install & config, this is usually /usr/local/bin/yo | |
| // however others (as below) may have global NPM packages setup in a | |
| // different path as common to avoid using sudo on OS X |
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
| module adalO365CorsClient { | |
| 'use strict'; | |
| export class Routes { | |
| /** | |
| * Configures the routes for the application. | |
| * @param $routeProvider | |
| */ | |
| static configure($routeProvider:ng.route.IRouteProvider):void { | |
| var baseUrl = 'app/'; |
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
| module adalO365CorsClient { | |
| 'use strict'; | |
| export class Adal { | |
| /** | |
| * Configures ADAL JS with required info for the registered app in Azure AD. | |
| * | |
| * @param $httpProvider Angular's $httpProvider (needed by ADAL) | |
| * @param adalSettings Settings for ADAL | |
| * @param adalProvider ADAL JS' Angular provider. |
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
| var app = angular.module('adalO365CorsClient', [ | |
| 'ngRoute', | |
| 'ngAnimate', | |
| 'AdalAngular' // <<<< loading the ADAL JS Angular module | |
| ]); |