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
module Page.Helper.Dropdown exposing (Dropdown, Msg(..), init, isDroppedDown, itemHasBeenClicked, update) | |
-- TYPES | |
type Dropdown | |
= Internal { show : Bool, itemClicked : Bool } | |
init : Dropdown |
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
module Main exposing (main) | |
import Browser | |
import Element exposing (Element) | |
import Html exposing (Html) | |
import Html.Attributes | |
main : Program () () msg | |
main = |
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
module InfiniteScroll | |
exposing | |
( Model | |
, Msg(..) | |
, init | |
, subscriptions | |
, timeout | |
, offset | |
, direction | |
, loadMoreCmd |
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
Verifying my Blockstack ID is secured with the address 1GS2wVjHQKE8YZKqMQL5A4N1xfdBksSR76 https://explorer.blockstack.org/address/1GS2wVjHQKE8YZKqMQL5A4N1xfdBksSR76 |
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
module CanvasTexture exposing (canvasTexture) | |
-- imports are weird for Native modules | |
-- You import them as you would normal modules | |
-- but you can't alias them nor expose stuff from them | |
import Task exposing (Task) | |
import WebGL exposing (Error, Texture) | |
import Native.CanvasTexture | |
-- this will be our function which returns a number plus one |
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
diff --git a/examples/crate.elm b/examples/crate.elm | |
index a94c4c1..756f8c5 100644 | |
--- a/examples/crate.elm | |
+++ b/examples/crate.elm | |
@@ -53,8 +53,8 @@ main = | |
-- MESHES | |
-crate : Drawable { pos:Vec3, coord:Vec3 } | |
-crate = |
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 _user$project$Native_CanvasTexture = function() { | |
function higherPow2(aSize){ | |
return Math.pow(2, Math.ceil(Math.log(aSize) / Math.log(2))); | |
} | |
function makeTextCanvas(context, text, fontSize, width, height) { | |
context.canvas.width = width; | |
context.canvas.height = height; | |
context.clearRect(0, 0, context.canvas.width, context.canvas.height); |
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
86 specs, 3 failures in 0.628sFinished at Thu Sep 08 2011 07:44:01 GMT+0100 (BST) | |
runStoryCollection collection | |
runposition | |
runshould return stories in position order | |
runshould move between 2 other stories | |
runshould move after another story | |
runshould move after the last story | |
runshould move before the first story | |
runshould move before another story | |
runshould return the story after a given story |
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
Rake.application.instance_variable_get('@tasks').delete('spec:rcov') | |
module SimpleCov | |
class RakeTask < ::Rake::TaskLib | |
def initialize(*args) | |
desc "Run RSpec code examples" | |
task(args.shift || :simplecov) do | |
RakeFileUtils.send(:verbose, true) do | |
if files_to_run.empty? |
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
require 'rubygems' | |
require 'dm-core' | |
class User | |
include DataMapper::Resource | |
property :id, Serial | |
end | |
class Paper |
NewerOlder