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
| requirejs({ | |
| paths: { | |
| jquery: 'https://code.jquery.com/jquery-2.2.0.min' | |
| } | |
| }); | |
| requirejs(['jquery'], function($) { | |
| var DATA = [ | |
| { | |
| id: 1, |
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
| 'use strict'; | |
| import Rx from 'rx'; | |
| import Cycle from '@cycle/core'; | |
| import { | |
| h, | |
| makeDOMDriver | |
| } from '@cycle/dom'; | |
| import {makeHTTPDriver} from '@cycle/http'; |
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
| function t(nodeName) { | |
| var elm = document.createElement(nodeName); | |
| if (typeof arguments[1] === 'string' || typeof arguments[2] === 'string') { | |
| elm.innerHTML = arguments[2] || arguments[1]; | |
| } | |
| if (typeof arguments[1] === 'object' && !Array.isArray(arguments[1])) { | |
| // Add attributes | |
| var attr = arguments[1]; | |
| Object.keys(attr).map(function(key) { | |
| elm.setAttribute(key, attr[key]); |
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
| Detected errors in 1 module. | |
| -- SYNTAX PROBLEM -------------------------------------------------- counter.elm | |
| I ran into something unexpected when parsing your code! | |
| 33| model = 0 | |
| ^ | |
| I am looking for one of the following things: |
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
| import Html exposing (..) | |
| import Html.App as Html | |
| import Html.Attributes exposing (..) | |
| import Html.Events exposing (..) | |
| import String | |
| -- MAIN | |
| main = | |
| Html.beginnerProgram { model = model, view = view, update = update } |
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
| /** | |
| * src/actions/project.js | |
| */ | |
| export const newProject = () => { | |
| return { | |
| type: 'NEW_PROJECT' | |
| } | |
| } |
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
| #!/usr/local/bin/perl | |
| use 5.10.0; | |
| use strict; | |
| use warnings; | |
| use Data::Dumper; | |
| use LWP::RobotUA; | |
| use HTML::TreeBuilder; | |
| use HTML::Element; |
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
| use File::Find; | |
| foreach my $dir (@INC){ | |
| find sub { | |
| print "$File::Find::name<br>" if /\.pm$/; | |
| }, $dir; | |
| } |
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
| <div class="page"> | |
| <div class="page-content"> | |
| <div class="block"> | |
| <p>This page created dynamically</p> | |
| </div> | |
| </div> | |
| </div> |
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
| package mobi.grocerymonkey.groceryapp; | |
| import static com.google.common.truth.Truth.assertThat; | |
| import static org.mockito.Mockito.when; | |
| import static org.mockito.Mockito.mock; | |
| import com.google.appengine.tools.development.testing.LocalServiceTestHelper; | |
| import com.google.appengine.tools.development.testing.LocalDatastoreServiceTestConfig; | |
| import com.google.cloud.datastore.DatastoreOptions; |
OlderNewer