This file contains 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
{ | |
"3/7": {[ | |
"project_main", | |
] | |
}, | |
"4/7": { | |
"1/6": [ | |
"tracked_estimated", | |
"estimated_profit", | |
"revenue", |
This file contains 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
<?php | |
/** | |
* Adjusted parser to render paragraphs which only contain a single image without the paragraph. | |
* | |
* So instead | |
* <p><img ...></p> | |
* | |
* it just renders | |
* <img ...> |
This file contains 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<script src="lib/angular2.js"></script> | |
</head> | |
<body> | |
<hello> | |
Loading... |
This file contains 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
import {bootstrap} from 'angular2/angular2'; | |
import {ROUTER_BINDINGS} from 'angular2/router'; | |
import {HTTP_BINDINGS} from 'angular2/http'; | |
import {App} from './app/app'; | |
bootstrap(App, [ROUTER_BINDINGS, HTTP_BINDINGS]); |
This file contains 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 gulp = require('gulp'); | |
var livereload = require('gulp-livereload'); | |
var concat = require('gulp-concat'); | |
var fileSystem = require('fs'); | |
var PATHS = { | |
TS: { | |
src: 'src/bootstrap.ts', | |
src: 'src/**/*.ts' | |
}, |
This file contains 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
import * as Rx from 'rx'; | |
--- | |
import * as Rx from '@reactivex/rxjs'; | |
--- | |
import * as Rx from '../../vendor/angular2/node_modules/@reactivex/rxjs/dist/cjs/Rx'; |
This file contains 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
import { createStore } from 'redux' | |
/** | |
* This is a reducer, a pure function with (state, action) => state signature. | |
* It describes how an action transforms the state into the next state. | |
* | |
* The shape of the state is up to you: it can be a primitive, an array, an object, | |
* or even an Immutable.js data structure. The only important part is that you should | |
* not mutate the state object, but return a new object if the state changes. | |
* |
This file contains 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
System.config({ | |
baseURL: "/", | |
defaultJSExtensions: false, | |
transpiler: "typescript", | |
typescriptOptions: { | |
"emitDecoratorMetadata": true, | |
"experimentalDecorators": true, | |
"target": "es5", | |
"module": "system", | |
"moduleResolution": "node", |
This file contains 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
_postGetHandler: function(method, url, data, callback, type) { | |
var self = this; | |
if ($.isFunction(data)) { | |
type = type || callback; | |
callback = data; | |
data = undefined; | |
} | |
self.ajax({ |
This file contains 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
currencyFilter.$inject = ['$locale']; | |
function currencyFilter($locale) { | |
var formats = $locale.NUMBER_FORMATS; | |
return function(amount, currencySymbol){ | |
if (isUndefined(currencySymbol)) currencySymbol = formats.CURRENCY_SYM; | |
return formatNumber(amount, formats.PATTERNS[1], formats.GROUP_SEP, formats.DECIMAL_SEP, 2). | |
replace(/\u00A4/g, currencySymbol); | |
}; | |
} |
OlderNewer