Skip to content

Instantly share code, notes, and snippets.

/*
Success when trying to combine css with scss
gulp-if did not work for me.
*/
scraper = require 'scraper'
fs = require 'fs'
########################################################
## Hate typing console.log
log = (msg) -> console.log(msg)
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
NOV-29-2012
Ran into a puzzling issue with AngularJS and Taffy
I have two code examples:
WORKING:
http://plnkr.co/edit/fAgtyq?p=preview
BROKEN
node --version
v4.1.0
npm cache clean
npm install
npm ls
activator@1.1.0 /Users/frankg/dev/code/test/eval-activator/deitch-activator
├── async@0.2.10
frankg@ubuntu:~/dev/test/activator$ node -v
v4.2.2
frankg@ubuntu:~/dev/test/activator$ npm -v
2.14.7
frankg@ubuntu:~/dev/test/activator$
frankg@ubuntu:~/dev/test/activator$ npm test
node -v
v4.1.0
npm -v
3.4.0
npm ls
---------------------------------------------------------------
cerebral@0.24.0 /Users/frankg/dev/code/test/eval-cerebral/cerebral
├─┬ babel-loader@5.4.0
import React, { PropTypes, Component } from 'react/addons';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import reactMixin from 'react-mixin';
import {Link} from 'react-router';
import * as actionCreators from '../actions';
import { reduxForm } from 'redux-form';
import { loginFields as fields } from '../constants';
import { validateLoginForm as validate } from '../validation';
PROBLEM: Failed propType
...
Warning: Failed propType: Required prop `counter` was not specified in `Home`. Check the render method of `RoutingContext`.
...
App.js
-------------------------------------------------------------
@dearfrankg
dearfrankg / gist:4647782
Created January 27, 2013 10:35
working https
var express = require('express'),
http = require('http'),
https = require('https'),
fs = require('fs');
var app = express();
// Configuration
//
<!doctype html>
<html ng-app="plunker" xmlns:ng="http://angularjs.org" >
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular.js"></script>
<script src="http://angular-ui.github.com/bootstrap/ui-bootstrap-tpls-0.1.0-SNAPSHOT.js"></script>
<script src="example.js"></script>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet">
</head>
<body>