conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Use to path data structure (no row/col - now it's x/y)\n"
},
{
"from": "human",
"value": " PngRenderer = require './png_renderer'\n\n class PngBlocks extends PngRenderer\n\n do_render: (ctx, path) =>\n width = @config.width\n height = @conf... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Stop performing unnecessary test when calling initialize_drawing_context\n"
},
{
"from": "human",
"value": " Module = require '../../module'\n q = require 'q'\n\n class PngRenderer extends Module\n deps: [ 'fs', 'canvas', 'path', 'config' ]\n ... | literate-coffeescript | chosen |
[
{
"from": "human",
"value": "Add docs for Batman model associations\n"
},
{
"from": "gpt",
"value": "# Batman.Model Associations\n\nThere are 3 types of assocations available on `Batman.Model`: `hasMany`, `belongsTo`, and `hasOne`.\n\n## Batman.AssocationProxy\n\nAssociation accessors won't alwa... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Update do_render signature to accept ctx bing passed\n"
},
{
"from": "human",
"value": " PngRenderer = require './png_renderer'\n\n class PngBlocks extends PngRenderer\n\n do_render: (path) =>\n ctx = PngRenderer.ctx\n width = @config.wi... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Use new path data structure (no more row/col - it's now x/y)\n"
},
{
"from": "human",
"value": " PngRenderer = require './png_renderer'\n\n class PngStepCount extends PngRenderer\n\n do_render: (ctx, path) =>\n width = @config.width\n heigh... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Load execution contexts as project local dependencies\n"
},
{
"from": "human",
"value": " Madul = require 'madul'\n\n class InitExecutionContext extends Madul\n\n _action_exists: (input, ref, done, fail) =>\n if @[ref]?[input.ACTION]?\n in... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Use madul's dependency injection instead of require for Carver\n\nAlso, load async library (more on that later)\n"
},
{
"from": "human",
"value": " Module = require './module'\n Carver = require './carver'\n q = require 'q'\n\n class Skyll extends M... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Use subject title in measurement instead of subject-source-id.\n"
},
{
"from": "human",
"value": "This job collects data from Sonar for the Sonar keys in the `SubjectSourceIds`\ncollection.\n\n class @SonarJob extends Job\n @setupCron: (parser) ->\n p... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Update do_render signature to accept ctx being passed in\n"
},
{
"from": "human",
"value": " PngRenderer = require './png_renderer'\n\n class PngStepCount extends PngRenderer\n\n do_render: (path) =>\n ctx = PngRenderer.ctx\n width = @co... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Update floor thickness rendering to make more sense visually\n"
},
{
"from": "human",
"value": " PngRenderer = require './png_renderer'\n\n class PngGround extends PngRenderer\n\n do_render: (ctx, path) =>\n cell_width = @config.width\n cel... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Convert the day sched display to use the new helper\n"
},
{
"from": "human",
"value": "Day Schedule Table Manager\n==========================\n\nWe first set everything in a callback, so that it is invoked only\nafter the loading of the DOM.\n\n $ ->\n\nInput\n--... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Add support for tests written in Literal CoffeeScript\n"
},
{
"from": "human",
"value": "Literal CoffeeScript\n====================\n\nThis is a spec using written in Literal CoffeeScript\n\n describe 'Coffee.litcoffee', ->\n\n it 'should pass', ->\n ... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Clean up the formatting for times a bit\n"
},
{
"from": "human",
"value": "Clock Manager\n=============\n\nThis manager controls the clock display on the *default* layout.\n\nWe first set everything in a callback, so that it is invoked only\nafter the loading of the... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Move font config into renderer\n"
},
{
"from": "human",
"value": " PngRenderer = require './png_renderer'\n\n class PngStepCount extends PngRenderer\n\n do_render: (path) =>\n ctx = PngRenderer.ctx\n width = @config.width\n height... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Add conversion functions to and from UNIX timestamps\n"
},
{
"from": "human",
"value": "Clock Source\n============\n\nThis clock source acts as a synchronisation point for anything which depends\non the time.\n\nFirst, we create the Bacon.js bus. This event source i... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Refactor so that we only create one instance of Skyll\n\nAlso added a bit of logging to et us know when a level has completed\nrendering\n"
},
{
"from": "human",
"value": " `#! /usr/bin/env node\n `\n\n Config = require './config'\n\n new Config()\n ... | literate-coffeescript | chosen |
[
{
"from": "system",
"value": "Test case for literal mode: Code blocks must be preceded by blank line.\n"
},
{
"from": "human",
"value": "Literate CoffeeScript Test\n--------------------------\n\ncomment comment\n\n test \"basic literate CoffeeScript parsing\", ->\n ok yes\n \nnow wi... | literate-coffeescript | chosen |
[
{
"from": "human",
"value": "Add the API docs index file\n"
},
{
"from": "gpt",
"value": "# Using This Reference\n\nThe API Reference contains specific documentation for individual components of\nthe framework. In most sections you'll also find tests included, which serve as\nan example for corr... | literate-coffeescript | chosen |
[
{
"from": "human",
"value": "Move config to API docs\n"
},
{
"from": "gpt",
"value": "# Batman.config\n\n`Batman.config` is a namespace for global batman.js settings. The affect all apps running on the page. Set these values before defining your app. For example:\n\n```coffeescript\nBatman.confi... | literate-coffeescript | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.