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
// @formatter:off | |
// Copyright 2014 The Flutter Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
import 'dart:async'; | |
import 'dart:math' as math; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; |
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 { Component } from '@angular/core'; | |
import { ComponentFixture, TestBed } from '@angular/core/testing'; | |
import { OnInitDirective } from './on-init.directive'; | |
describe('OnInitDirective', () => { | |
let component: TestOnInitComponent; | |
let fixture: ComponentFixture<TestOnInitComponent>; | |
beforeEach(() => { | |
TestBed.configureTestingModule({ |
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
[31m/usr/lib/~/ionic-framework/config/directives.js | |
Module not found: Error: Cannot resolve module 'strip-sourcemap' in /usr/lib/node_modules/ionic-framework/config | |
resolve module strip-sourcemap in /usr/lib/node_modules/ionic-framework/config | |
looking for modules in /usr/lib/node_modules/ionic-framework/node_modules | |
module variation strip-sourcemap-webpack-loader | |
/usr/lib/node_modules/ionic-framework/node_modules/strip-sourcemap-webpack-loader doesn't exist (module as directory) | |
resolve 'file' strip-sourcemap-webpack-loader in /usr/lib/node_modules/ionic-framework/node_modules | |
resolve file | |
/usr/lib/node_modules/ionic-framework/node_modules/strip-sourcemap-webpack-loader doesn't exist | |
/usr/lib/node_modules/ionic-framework/node_modules/strip-sourcemap-webpack-loader.webpack-loader.js doesn't exist |
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
angularjs,atom-bootstrap3,atom-jshint,autocomplete-paths,autocomplete-plus,autocomplete-snippets,block-comment,autocomplete-css,autocomplete-html,docblockr,git-diff,highlight-line,sublime-tabs,sort-lines,minimap,project-manager,wrap-guide,file-icons |
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
Package.describe({ | |
summary: 'Fancy Package', | |
version: '1.0.0', | |
name: 'mark:fancy-package', | |
git: 'https://github.com/mark/fancy-package.git' | |
}); |
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
this.route("foo", { | |
waitOn: function() { | |
return subs.subscribe("foo") | |
}, | |
data: function() { | |
if (this.ready()) { | |
return { | |
foos: Foo.find() | |
} | |
} |
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
Template.foo.helpers({ | |
data1: function(){ | |
var array = []; | |
var storedData = Session.get("data"); | |
//underscore | |
_.each(Object.keys(storedData),function(key){ | |
array.push(storedData[key]); | |
}); | |
return array; | |
}, |