<head>
<title>9tailors Admin</title>
</head>
<body>
{{| > header }}
{{ foo.bar }}
{{ foo.baz }}
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
// go here to install package control | |
// https://packagecontrol.io/installation | |
// install Babel | |
// install Sass | |
{ | |
"always_show_minimap_viewport": true, | |
"binary_file_patterns": | |
[ | |
"*.sqlite", |
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
const controller = Controller(Model({})); | |
function setFoo({ input, state }) { | |
state.set('example.foo', input.value); | |
} | |
const changeInput = [setFoo]; | |
const Module = (options = {}) => { | |
return (module, controller) => { | |
module.addState({ | |
foo: "original value" |
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
Model = Astro.createClass({ | |
name: "Model", | |
fields: { | |
height: "number", | |
} | |
}); | |
Model.addValidator('height', Validators.number()); | |
if (Meteor.isClient) { | |
Template.hello.events({ |
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
/** @jsx React.DOM */ | |
'use strict'; | |
describe('sample test', function() { | |
var Broken, Working; | |
beforeEach(function() { | |
Broken = React.createClass({ |
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
<?php | |
use Illuminate\Support\ServiceProvider; | |
class BarDependencyServiceProvider extends ServiceProvider { | |
public $defer = true; | |
public function register() | |
{ |
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
<?php | |
use PHPUnit_Framework_TestCase; | |
use Mockery; | |
class SomeTest extends PHPUnit_Framework_TestCase { | |
function testRealFooObject_BarImplementation_NotThrowingException() | |
{ | |
$foo = new FooObject; |
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
<?php | |
// class definitions | |
abstract class AbstractFactory { | |
protected function makeWidget() | |
{ | |
return new Widget; | |
} | |
} | |
class FactoryOne extends AbstractFactory { |
NewerOlder