8:00 – 4:00 SR
- Trying again with the FR test
- I think I’m going to try rewriting my server interface factory a as a typescript service today. Done but not tested. It looks pretty nice though. Will test tomorrow.
8:00 – 4:00 SR
8:00 – 5:00 SR
8:00 – 10:00, 12:00 – 5:30 SR
8:00 – 5:00 SR
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<body ng-app="simpleApp">
<div ng-controller="MainCtrl as mc">
<p>String = {{mc.myString}}</p>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular.min.js"></script>
<script src="simple.js"></script>
</body>
</html>
/// <reference path="../definitelytyped/angularjs/angular.d.ts" />
class TestClass{
myString:string;
constructor(){
this.myString = "Hello, TypeScript4";
}
}
class AngularMain{
myModule:ng.IModule;
myController:ng.IModule;
public doCreate(angular:ng.IAngularStatic, sfn:Function){
this.myModule = angular.module('simpleApp', []);
this.myController = this.myModule.controller('MainCtrl', [sfn]);
}
}
new AngularMain().doCreate(angular, TestClass);
/// <reference path="../definitelytyped/angularjs/angular.d.ts" />
var TestClass = (function () {
function TestClass() {
this.myString = "Hello, TypeScript4";
}
return TestClass;
})();
var AngularMain = (function () {
function AngularMain() {
}
AngularMain.prototype.doCreate = function (angular, sfn) {
this.myModule = angular.module('simpleApp', []);
this.myController = this.myModule.controller('MainCtrl', [sfn]);
};
return AngularMain;
})();
new AngularMain().doCreate(angular, TestClass);
//# sourceMappingURL=simple.js.map
8:00 – 5:00 SR
/// <reference path="../definitelytyped/angularjs/angular.d.ts" />
8:00 – 3:30 SR
8:00 – 4:00 SR
function QueryServiceFn2($http){
var retObj = QueryServiceFn.call(this, $http);
globalU.inheritPrototype(this, QueryServiceFn);
return retObj;
}
globalUtils.appMap.phpFactories2 = (function(globalU, base){
"use strict";
function QueryServiceFn($http){
var retObj = base.call(this, $http);
globalU.inheritPrototype(this, base);
return retObj;
}
return{
queryServicePtr: QueryServiceFn
};
})(globalUtils, globalUtils.appMap.phpFactories.queryServicePtr);
8:00 – 3:00 SR
9:00 – 5:00 SR
<div class="passwordDialog" ng-hide="isValid">
<form>
Name: <input type="text" ng-model="name" /><br />
Password: <input type="text" ng-model="password" /><br />
<input type="submit" ng-click="checkValues()" value="Check" />
</form>
<div>
<input type="button" value="Click Me" ng-click="isValid = true">
</div>
</div>
function passwordFn(){
return {
restrict: 'AE',
scope: {isValid: '@'}, // all we need to return - passed in from calling page.
templateUrl: 'directives/passwordDialog.html',
link: function(scope, element, attr) {
scope.name = 'unset Name';
scope.password = 'unset Password';
scope.checkValues = function(nm,pw){
console.log('scope.name = '+scope.name);
//call the server and do tests here. Scope values are visible
};
}
};
}
8:00 – 5:00 SR
function ChildFn3(globalService) {
console.log("Start ChildFn3");
ChildFn2.call(this, globalService);
globalU.inheritPrototype(this, ChildFn2);
console.log("Finish ChildFn3");
}
function ChildFn4(globalService) {
console.log("Start ChildFn4");
ChildFn2.call(this, globalService);
globalU.inheritPrototype(this, ChildFn2);
this.colors.push('black');
console.log("Finish ChildFn4");
}
8:00 – 5:00 SR
8:00 – 4:30 SR
10:00 – 4:30 SR
8:00 – 5:30 SR
(function(angular, scatterplot) {
"use strict";
angular.module('scatterApp', ['ngAnimate', 'ngSanitize', 'monospaced.mousewheel'])
.directive('stagePlanes', [scatterplot.stagePlanesPtr])
.directive('interactive3D', [scatterplot.interactive3dPtr])
.directive('floatingPanelManager', [scatterplot.floatingPanelManagerPtr])
.directive('floatingPanel', ['$sce', scatterplot.floatingPanelPtr]);
})(angular, globalUtils.appMap.scatterplotDirectives);
7:00 – 3:00 SR
(function(_global) {
"use strict";
var shim = {};
if (typeof(exports) === 'undefined') {
if(typeof define == 'function' && typeof define.amd == 'object' && define.amd) {
shim.exports = {};
define(function() {
return shim.exports;
});
} else {
// gl-matrix lives in a browser, define its namespaces in global
shim.exports = typeof(window) !== 'undefined' ? window : _global;
}
}
else {
// gl-matrix lives in commonjs, define its namespaces in exports
shim.exports = exports;
}
(function(exports) {
// all the matrix code goes here
})(shim.exports);
})(this);
<div class="floatingPanelStyle" ng-class="getCssClass()"
ng-click="selectPanel()"
ng-mouseenter="hoverPanel(true)"
ng-mouseleave="hoverPanel(false)"
ng-style="{'transform':getTransformString()}">
<!-- <div ng-bind-html="getHtml()"></div> -->
<div ng-if="checkPanelState('default')"><em>{{panelObj.id}}</em></div>
<div ng-if="checkPanelState('hover')"><p>Hover</p></p><p>Click <a href="http://google.com">me</a>!</p></div>
<div ng-if="checkPanelState('selected')"><p>Selected</p></p></div>
</div>
You must be logged in to post a comment.