id stringlengths 34 124 | type stringclasses 4
values | prompt stringlengths 0 4.95k | response stringlengths 21 4.89k | source_lang stringclasses 3
values | target_lang stringclasses 2
values | repo stringclasses 75
values | path stringlengths 10 88 | license stringclasses 1
value | commit stringlengths 40 40 | stars int64 431 18.7k | source_url stringlengths 86 176 | line_start int64 1 214 | line_end int64 3 253 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
littlebee/git-time-machine:lib/git-time-machine.coffee:1:raw_corpus | raw_corpus | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | ca40d69d0528dd1b798a6097f974558e39508b96 | 1,111 | https://github.com/littlebee/git-time-machine/blob/ca40d69d0528dd1b798a6097f974558e39508b96/lib/git-time-machine.coffee | 1 | 50 | ||
littlebee/git-time-machine:lib/git-time-machine.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMa... | var CompositeDisposable, GitTimeMachine, GitTimeMachineView;
GitTimeMachineView = require('./git-time-machine-view');
({CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscriptions: null,
activate: function(state) {
this.gitTime... | CoffeeScript | JavaScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | ca40d69d0528dd1b798a6097f974558e39508b96 | 1,111 | https://github.com/littlebee/git-time-machine/blob/ca40d69d0528dd1b798a6097f974558e39508b96/lib/git-time-machine.coffee | 1 | 50 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var CompositeDisposable, GitTimeMachine, GitTimeMachineView;
GitTimeMachineView = require('./git-time-machine-view');
({CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscription... | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | JavaScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | ca40d69d0528dd1b798a6097f974558e39508b96 | 1,111 | https://github.com/littlebee/git-time-machine/blob/ca40d69d0528dd1b798a6097f974558e39508b96/lib/git-time-machine.coffee | 1 | 50 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:completion | completion | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | serialize: ->
gitTimeMachineViewState: @gitTimeMachineView.serialize()
toggle: ->
# console.log 'GitTimeMachine was opened!'
if @timelinePanel.isVisible()
@gitTimeMachineView.hide()
@timelinePanel.hide()
else
require('atom-package-deps').install('git-time-machine')
.then (-... | CoffeeScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | ca40d69d0528dd1b798a6097f974558e39508b96 | 1,111 | https://github.com/littlebee/git-time-machine/blob/ca40d69d0528dd1b798a6097f974558e39508b96/lib/git-time-machine.coffee | 1 | 50 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:raw_corpus | raw_corpus | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 3945381dfe5b47b2ff3da6c1519cc9d1df5c23ad | 1,111 | https://github.com/littlebee/git-time-machine/blob/3945381dfe5b47b2ff3da6c1519cc9d1df5c23ad/lib/git-time-machine.coffee | 1 | 50 | ||
littlebee/git-time-machine:lib/git-time-machine.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMa... | var CompositeDisposable, GitTimeMachine, GitTimeMachineView;
GitTimeMachineView = require('./git-time-machine-view');
({CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscriptions: null,
activate: function(state) {
this.gitTime... | CoffeeScript | JavaScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 3945381dfe5b47b2ff3da6c1519cc9d1df5c23ad | 1,111 | https://github.com/littlebee/git-time-machine/blob/3945381dfe5b47b2ff3da6c1519cc9d1df5c23ad/lib/git-time-machine.coffee | 1 | 50 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var CompositeDisposable, GitTimeMachine, GitTimeMachineView;
GitTimeMachineView = require('./git-time-machine-view');
({CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscription... | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | JavaScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 3945381dfe5b47b2ff3da6c1519cc9d1df5c23ad | 1,111 | https://github.com/littlebee/git-time-machine/blob/3945381dfe5b47b2ff3da6c1519cc9d1df5c23ad/lib/git-time-machine.coffee | 1 | 50 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:completion | completion | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | serialize: ->
gitTimeMachineViewState: @gitTimeMachineView.serialize()
toggle: ->
# console.log 'GitTimeMachine was opened!'
if @timelinePanel.isVisible()
@gitTimeMachineView.hide()
@timelinePanel.hide()
else
@timelinePanel.show()
@gitTimeMachineView.show()
@gitTimeMach... | CoffeeScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 3945381dfe5b47b2ff3da6c1519cc9d1df5c23ad | 1,111 | https://github.com/littlebee/git-time-machine/blob/3945381dfe5b47b2ff3da6c1519cc9d1df5c23ad/lib/git-time-machine.coffee | 1 | 50 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:raw_corpus | raw_corpus | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 26d622c3b733558476aa8ee25c92d58bde6749c5 | 1,111 | https://github.com/littlebee/git-time-machine/blob/26d622c3b733558476aa8ee25c92d58bde6749c5/lib/git-time-machine.coffee | 1 | 46 | ||
littlebee/git-time-machine:lib/git-time-machine.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMa... | var CompositeDisposable, GitTimeMachine, GitTimeMachineView;
GitTimeMachineView = require('./git-time-machine-view');
({CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscriptions: null,
activate: function(state) {
this.gitTime... | CoffeeScript | JavaScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 26d622c3b733558476aa8ee25c92d58bde6749c5 | 1,111 | https://github.com/littlebee/git-time-machine/blob/26d622c3b733558476aa8ee25c92d58bde6749c5/lib/git-time-machine.coffee | 1 | 46 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var CompositeDisposable, GitTimeMachine, GitTimeMachineView;
GitTimeMachineView = require('./git-time-machine-view');
({CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscription... | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | JavaScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 26d622c3b733558476aa8ee25c92d58bde6749c5 | 1,111 | https://github.com/littlebee/git-time-machine/blob/26d622c3b733558476aa8ee25c92d58bde6749c5/lib/git-time-machine.coffee | 1 | 46 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:completion | completion | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | @gitTimeMachineView.destroy()
serialize: ->
gitTimeMachineViewState: @gitTimeMachineView.serialize()
toggle: ->
# console.log 'GitTimeMachine was opened!'
if @timelinePanel.isVisible()
@gitTimeMachineView.hide()
@timelinePanel.hide()
else
@timelinePanel.show()
@gitTimeMac... | CoffeeScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 26d622c3b733558476aa8ee25c92d58bde6749c5 | 1,111 | https://github.com/littlebee/git-time-machine/blob/26d622c3b733558476aa8ee25c92d58bde6749c5/lib/git-time-machine.coffee | 1 | 46 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:raw_corpus | raw_corpus | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | b1281e798dab23ff821fd5846246180b5eb51ce2 | 1,111 | https://github.com/littlebee/git-time-machine/blob/b1281e798dab23ff821fd5846246180b5eb51ce2/lib/git-time-machine.coffee | 1 | 50 | ||
littlebee/git-time-machine:lib/git-time-machine.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMa... | var CompositeDisposable, GitTimeMachine, GitTimeMachineView;
GitTimeMachineView = require('./git-time-machine-view');
({CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscriptions: null,
activate: function(state) {
this.gitTime... | CoffeeScript | JavaScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | b1281e798dab23ff821fd5846246180b5eb51ce2 | 1,111 | https://github.com/littlebee/git-time-machine/blob/b1281e798dab23ff821fd5846246180b5eb51ce2/lib/git-time-machine.coffee | 1 | 50 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var CompositeDisposable, GitTimeMachine, GitTimeMachineView;
GitTimeMachineView = require('./git-time-machine-view');
({CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscription... | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | JavaScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | b1281e798dab23ff821fd5846246180b5eb51ce2 | 1,111 | https://github.com/littlebee/git-time-machine/blob/b1281e798dab23ff821fd5846246180b5eb51ce2/lib/git-time-machine.coffee | 1 | 50 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:completion | completion | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | serialize: ->
gitTimeMachineViewState: @gitTimeMachineView.serialize()
toggle: ->
# console.log 'GitTimeMachine was opened!'
if @timelinePanel.isVisible()
@gitTimeMachineView.hide()
@timelinePanel.hide()
else
@timelinePanel.show()
@gitTimeMachineView.show()
@gitTimeMach... | CoffeeScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | b1281e798dab23ff821fd5846246180b5eb51ce2 | 1,111 | https://github.com/littlebee/git-time-machine/blob/b1281e798dab23ff821fd5846246180b5eb51ce2/lib/git-time-machine.coffee | 1 | 50 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:raw_corpus | raw_corpus | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | a9ffea79e896f2dd7d8bc6d7fe93354ae1dd2402 | 1,111 | https://github.com/littlebee/git-time-machine/blob/a9ffea79e896f2dd7d8bc6d7fe93354ae1dd2402/lib/git-time-machine.coffee | 1 | 46 | ||
littlebee/git-time-machine:lib/git-time-machine.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMa... | var CompositeDisposable, GitTimeMachine, GitTimeMachineView;
GitTimeMachineView = require('./git-time-machine-view');
({CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscriptions: null,
activate: function(state) {
this.gitTime... | CoffeeScript | JavaScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | a9ffea79e896f2dd7d8bc6d7fe93354ae1dd2402 | 1,111 | https://github.com/littlebee/git-time-machine/blob/a9ffea79e896f2dd7d8bc6d7fe93354ae1dd2402/lib/git-time-machine.coffee | 1 | 46 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var CompositeDisposable, GitTimeMachine, GitTimeMachineView;
GitTimeMachineView = require('./git-time-machine-view');
({CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscription... | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | JavaScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | a9ffea79e896f2dd7d8bc6d7fe93354ae1dd2402 | 1,111 | https://github.com/littlebee/git-time-machine/blob/a9ffea79e896f2dd7d8bc6d7fe93354ae1dd2402/lib/git-time-machine.coffee | 1 | 46 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:completion | completion | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@timelinePane... | @gitTimeMachineView.destroy()
serialize: ->
gitTimeMachineViewState: @gitTimeMachineView.serialize()
toggle: ->
# console.log 'GitTimeMachine was opened!'
if @timelinePanel.isVisible()
@gitTimeMachineView.hide()
@timelinePanel.hide()
else
@timelinePanel.show()
@gitTimeMac... | CoffeeScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | a9ffea79e896f2dd7d8bc6d7fe93354ae1dd2402 | 1,111 | https://github.com/littlebee/git-time-machine/blob/a9ffea79e896f2dd7d8bc6d7fe93354ae1dd2402/lib/git-time-machine.coffee | 1 | 46 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:raw_corpus | raw_corpus | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@... | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | f6de733dc17ac33133ee2b01b7337d882797b643 | 1,111 | https://github.com/littlebee/git-time-machine/blob/f6de733dc17ac33133ee2b01b7337d882797b643/lib/git-time-machine.coffee | 1 | 46 | ||
littlebee/git-time-machine:lib/git-time-machine.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = n... | var CompositeDisposable, GitTimeMachine, GitTimeMachineView, TextEditor;
GitTimeMachineView = require('./git-time-machine-view');
({TextEditor, CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscriptions: null,
activate: function(s... | CoffeeScript | JavaScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | f6de733dc17ac33133ee2b01b7337d882797b643 | 1,111 | https://github.com/littlebee/git-time-machine/blob/f6de733dc17ac33133ee2b01b7337d882797b643/lib/git-time-machine.coffee | 1 | 46 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var CompositeDisposable, GitTimeMachine, GitTimeMachineView, TextEditor;
GitTimeMachineView = require('./git-time-machine-view');
({TextEditor, CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePan... | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@... | JavaScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | f6de733dc17ac33133ee2b01b7337d882797b643 | 1,111 | https://github.com/littlebee/git-time-machine/blob/f6de733dc17ac33133ee2b01b7337d882797b643/lib/git-time-machine.coffee | 1 | 46 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:completion | completion | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@... | @gitTimeMachineView.destroy()
serialize: ->
gitTimeMachineViewState: @gitTimeMachineView.serialize()
toggle: ->
# console.log 'GitTimeMachine was opened!'
if @timelinePanel.isVisible()
@gitTimeMachineView.hide()
@timelinePanel.hide()
else
@timelinePanel.show()
@gitTimeMac... | CoffeeScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | f6de733dc17ac33133ee2b01b7337d882797b643 | 1,111 | https://github.com/littlebee/git-time-machine/blob/f6de733dc17ac33133ee2b01b7337d882797b643/lib/git-time-machine.coffee | 1 | 46 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:raw_corpus | raw_corpus | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@... | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 85147d9eeffff51adcc778c24fbe0eb2bf371fc9 | 1,111 | https://github.com/littlebee/git-time-machine/blob/85147d9eeffff51adcc778c24fbe0eb2bf371fc9/lib/git-time-machine.coffee | 1 | 45 | ||
littlebee/git-time-machine:lib/git-time-machine.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = n... | var CompositeDisposable, GitTimeMachine, GitTimeMachineView, TextEditor;
GitTimeMachineView = require('./git-time-machine-view');
({TextEditor, CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscriptions: null,
activate: function(s... | CoffeeScript | JavaScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 85147d9eeffff51adcc778c24fbe0eb2bf371fc9 | 1,111 | https://github.com/littlebee/git-time-machine/blob/85147d9eeffff51adcc778c24fbe0eb2bf371fc9/lib/git-time-machine.coffee | 1 | 45 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var CompositeDisposable, GitTimeMachine, GitTimeMachineView, TextEditor;
GitTimeMachineView = require('./git-time-machine-view');
({TextEditor, CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePan... | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@... | JavaScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 85147d9eeffff51adcc778c24fbe0eb2bf371fc9 | 1,111 | https://github.com/littlebee/git-time-machine/blob/85147d9eeffff51adcc778c24fbe0eb2bf371fc9/lib/git-time-machine.coffee | 1 | 45 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:completion | completion | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@... | @subscriptions.dispose()
@gitTimeMachineView.destroy()
serialize: ->
gitTimeMachineViewState: @gitTimeMachineView.serialize()
toggle: ->
# console.log 'GitTimeMachine was opened!'
if @timelinePanel.isVisible()
@gitTimeMachineView.hide()
@timelinePanel.hide()
else
@timelineP... | CoffeeScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 85147d9eeffff51adcc778c24fbe0eb2bf371fc9 | 1,111 | https://github.com/littlebee/git-time-machine/blob/85147d9eeffff51adcc778c24fbe0eb2bf371fc9/lib/git-time-machine.coffee | 1 | 45 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:raw_corpus | raw_corpus | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@... | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 308af35936f03f539a0eb47bac5933a5e5889410 | 1,111 | https://github.com/littlebee/git-time-machine/blob/308af35936f03f539a0eb47bac5933a5e5889410/lib/git-time-machine.coffee | 1 | 45 | ||
littlebee/git-time-machine:lib/git-time-machine.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = n... | var CompositeDisposable, GitTimeMachine, GitTimeMachineView, TextEditor;
GitTimeMachineView = require('./git-time-machine-view');
({TextEditor, CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscriptions: null,
activate: function(s... | CoffeeScript | JavaScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 308af35936f03f539a0eb47bac5933a5e5889410 | 1,111 | https://github.com/littlebee/git-time-machine/blob/308af35936f03f539a0eb47bac5933a5e5889410/lib/git-time-machine.coffee | 1 | 45 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var CompositeDisposable, GitTimeMachine, GitTimeMachineView, TextEditor;
GitTimeMachineView = require('./git-time-machine-view');
({TextEditor, CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePan... | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@... | JavaScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 308af35936f03f539a0eb47bac5933a5e5889410 | 1,111 | https://github.com/littlebee/git-time-machine/blob/308af35936f03f539a0eb47bac5933a5e5889410/lib/git-time-machine.coffee | 1 | 45 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:completion | completion | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView state.gitTimeMachineViewState
@... | @subscriptions.dispose()
@gitTimeMachineView.destroy()
serialize: ->
gitTimeMachineViewState: @gitTimeMachineView.serialize()
open: ->
# console.log 'GitTimeMachine was opened!'
if @timelinePanel.isVisible()
@gitTimeMachineView.hide()
@timelinePanel.hide()
else
@timelinePan... | CoffeeScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 308af35936f03f539a0eb47bac5933a5e5889410 | 1,111 | https://github.com/littlebee/git-time-machine/blob/308af35936f03f539a0eb47bac5933a5e5889410/lib/git-time-machine.coffee | 1 | 45 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:raw_corpus | raw_corpus | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView(state.gitTimeMachineViewState,
... | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 9e6c62fcea046ac6f87415948719fbc4637edf99 | 1,111 | https://github.com/littlebee/git-time-machine/blob/9e6c62fcea046ac6f87415948719fbc4637edf99/lib/git-time-machine.coffee | 1 | 45 | ||
littlebee/git-time-machine:lib/git-time-machine.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = n... | var CompositeDisposable, GitTimeMachine, GitTimeMachineView, TextEditor;
GitTimeMachineView = require('./git-time-machine-view');
({TextEditor, CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscriptions: null,
activate: function(s... | CoffeeScript | JavaScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 9e6c62fcea046ac6f87415948719fbc4637edf99 | 1,111 | https://github.com/littlebee/git-time-machine/blob/9e6c62fcea046ac6f87415948719fbc4637edf99/lib/git-time-machine.coffee | 1 | 45 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var CompositeDisposable, GitTimeMachine, GitTimeMachineView, TextEditor;
GitTimeMachineView = require('./git-time-machine-view');
({TextEditor, CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePan... | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView(state.gitTimeMachineViewState,
... | JavaScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 9e6c62fcea046ac6f87415948719fbc4637edf99 | 1,111 | https://github.com/littlebee/git-time-machine/blob/9e6c62fcea046ac6f87415948719fbc4637edf99/lib/git-time-machine.coffee | 1 | 45 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:completion | completion | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView(state.gitTimeMachineViewState,
... | @timelinePanel.destroy()
@subscriptions.dispose()
@gitTimeMachineView.destroy()
serialize: ->
gitTimeMachineViewState: @gitTimeMachineView.serialize()
open: ->
# console.log 'GitTimeMachine was opened!'
if @timelinePanel.isVisible()
@gitTimeMachineView.hide()
@timelinePanel.hide(... | CoffeeScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 9e6c62fcea046ac6f87415948719fbc4637edf99 | 1,111 | https://github.com/littlebee/git-time-machine/blob/9e6c62fcea046ac6f87415948719fbc4637edf99/lib/git-time-machine.coffee | 1 | 45 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:raw_corpus | raw_corpus | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView(state.gitTimeMachineViewState,
... | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 2e2083de16290ed3b83db2b5dfca96d090168d83 | 1,111 | https://github.com/littlebee/git-time-machine/blob/2e2083de16290ed3b83db2b5dfca96d090168d83/lib/git-time-machine.coffee | 1 | 43 | ||
littlebee/git-time-machine:lib/git-time-machine.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = n... | var CompositeDisposable, GitTimeMachine, GitTimeMachineView, TextEditor;
GitTimeMachineView = require('./git-time-machine-view');
({TextEditor, CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscriptions: null,
activate: function(s... | CoffeeScript | JavaScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 2e2083de16290ed3b83db2b5dfca96d090168d83 | 1,111 | https://github.com/littlebee/git-time-machine/blob/2e2083de16290ed3b83db2b5dfca96d090168d83/lib/git-time-machine.coffee | 1 | 43 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var CompositeDisposable, GitTimeMachine, GitTimeMachineView, TextEditor;
GitTimeMachineView = require('./git-time-machine-view');
({TextEditor, CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePan... | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView(state.gitTimeMachineViewState,
... | JavaScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 2e2083de16290ed3b83db2b5dfca96d090168d83 | 1,111 | https://github.com/littlebee/git-time-machine/blob/2e2083de16290ed3b83db2b5dfca96d090168d83/lib/git-time-machine.coffee | 1 | 43 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:completion | completion | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView(state.gitTimeMachineViewState,
... | deactivate: ->
@timelinePanel.destroy()
@subscriptions.dispose()
@gitTimeMachineView.destroy()
serialize: ->
gitTimeMachineViewState: @gitTimeMachineView.serialize()
open: ->
# console.log 'GitTimeMachine was opened!'
if @timelinePanel.isVisible()
@timelinePanel.hide()
else
... | CoffeeScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 2e2083de16290ed3b83db2b5dfca96d090168d83 | 1,111 | https://github.com/littlebee/git-time-machine/blob/2e2083de16290ed3b83db2b5dfca96d090168d83/lib/git-time-machine.coffee | 1 | 43 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:raw_corpus | raw_corpus | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView(state.gitTimeMachineViewState,
... | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | df9b6e09e4d049ee5092ade4d27faebf55fa0fb6 | 1,111 | https://github.com/littlebee/git-time-machine/blob/df9b6e09e4d049ee5092ade4d27faebf55fa0fb6/lib/git-time-machine.coffee | 1 | 44 | ||
littlebee/git-time-machine:lib/git-time-machine.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = n... | var CompositeDisposable, GitTimeMachine, GitTimeMachineView, TextEditor;
GitTimeMachineView = require('./git-time-machine-view');
({TextEditor, CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscriptions: null,
activate: function(s... | CoffeeScript | JavaScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | df9b6e09e4d049ee5092ade4d27faebf55fa0fb6 | 1,111 | https://github.com/littlebee/git-time-machine/blob/df9b6e09e4d049ee5092ade4d27faebf55fa0fb6/lib/git-time-machine.coffee | 1 | 44 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var CompositeDisposable, GitTimeMachine, GitTimeMachineView, TextEditor;
GitTimeMachineView = require('./git-time-machine-view');
({TextEditor, CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePan... | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView(state.gitTimeMachineViewState,
... | JavaScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | df9b6e09e4d049ee5092ade4d27faebf55fa0fb6 | 1,111 | https://github.com/littlebee/git-time-machine/blob/df9b6e09e4d049ee5092ade4d27faebf55fa0fb6/lib/git-time-machine.coffee | 1 | 44 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:completion | completion | GitTimeMachineView = require './git-time-machine-view'
{TextEditor, CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView(state.gitTimeMachineViewState,
... | @timelinePanel.destroy()
@subscriptions.dispose()
@gitTimeMachineView.destroy()
serialize: ->
gitTimeMachineViewState: @gitTimeMachineView.serialize()
open: ->
console.log 'GitTimeMachine was opened!'
if @timelinePanel.isVisible()
@timelinePanel.hide()
else
@timelinePanel.sh... | CoffeeScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | df9b6e09e4d049ee5092ade4d27faebf55fa0fb6 | 1,111 | https://github.com/littlebee/git-time-machine/blob/df9b6e09e4d049ee5092ade4d27faebf55fa0fb6/lib/git-time-machine.coffee | 1 | 44 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:raw_corpus | raw_corpus | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView(state.gitTimeMachineViewState,
file: atom... | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 5545cea64434a8c151856e362471555ead365199 | 1,111 | https://github.com/littlebee/git-time-machine/blob/5545cea64434a8c151856e362471555ead365199/lib/git-time-machine.coffee | 1 | 35 | ||
littlebee/git-time-machine:lib/git-time-machine.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMa... | var CompositeDisposable, GitTimeMachine, GitTimeMachineView;
GitTimeMachineView = require('./git-time-machine-view');
({CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscriptions: null,
activate: function(state) {
var ref;
... | CoffeeScript | JavaScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 5545cea64434a8c151856e362471555ead365199 | 1,111 | https://github.com/littlebee/git-time-machine/blob/5545cea64434a8c151856e362471555ead365199/lib/git-time-machine.coffee | 1 | 35 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var CompositeDisposable, GitTimeMachine, GitTimeMachineView;
GitTimeMachineView = require('./git-time-machine-view');
({CompositeDisposable} = require('atom'));
module.exports = GitTimeMachine = {
gitTimeMachineView: null,
timelinePanel: null,
subscription... | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView(state.gitTimeMachineViewState,
file: atom... | JavaScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 5545cea64434a8c151856e362471555ead365199 | 1,111 | https://github.com/littlebee/git-time-machine/blob/5545cea64434a8c151856e362471555ead365199/lib/git-time-machine.coffee | 1 | 35 |
littlebee/git-time-machine:lib/git-time-machine.coffee:1:completion | completion | GitTimeMachineView = require './git-time-machine-view'
{CompositeDisposable} = require 'atom'
module.exports = GitTimeMachine =
gitTimeMachineView: null
timelinePanel: null
subscriptions: null
activate: (state) ->
@gitTimeMachineView = new GitTimeMachineView(state.gitTimeMachineViewState,
file: atom... | @subscriptions.add atom.commands.add 'atom-workspace', 'git-time-machine:open': => @open()
deactivate: ->
@timelinePanel.destroy()
@subscriptions.dispose()
@gitTimeMachineView.destroy()
serialize: ->
gitTimeMachineViewState: @gitTimeMachineView.serialize()
open: ->
console.log 'GitTimeMachi... | CoffeeScript | CoffeeScript | littlebee/git-time-machine | lib/git-time-machine.coffee | MIT | 5545cea64434a8c151856e362471555ead365199 | 1,111 | https://github.com/littlebee/git-time-machine/blob/5545cea64434a8c151856e362471555ead365199/lib/git-time-machine.coffee | 1 | 35 |
meltingice/psd.js:lib/psd/resources.coffee:1:raw_corpus | raw_corpus | Resource = require './resource.coffee'
module.exports = class Resources
constructor: (@file) ->
@resources = {}
@typeIndex = {}
@length = null
skip: ->
@length = @file.readInt()
@file.seek @length, true
parse: ->
@length = @file.readInt()
finish = @length + @file.tell()
while @... | CoffeeScript | meltingice/psd.js | lib/psd/resources.coffee | MIT | 7e8392d20fd5d66ad70ddda7309661b9a0ca67c8 | 2,846 | https://github.com/meltingice/psd.js/blob/7e8392d20fd5d66ad70ddda7309661b9a0ca67c8/lib/psd/resources.coffee | 1 | 41 | ||
meltingice/psd.js:lib/psd/resources.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
Resource = require './resource.coffee'
module.exports = class Resources
constructor: (@file) ->
@resources = {}
@typeIndex = {}
@length = null
skip: ->
@length = @file.readInt()
@file.seek @length, true
parse: ->
@length = @file.r... | var Resource, Resources;
Resource = require('./resource.coffee');
module.exports = Resources = class Resources {
constructor(file) {
this.file = file;
this.resources = {};
this.typeIndex = {};
this.length = null;
}
skip() {
this.length = this.file.readInt();
return this.file.seek(this.l... | CoffeeScript | JavaScript | meltingice/psd.js | lib/psd/resources.coffee | MIT | 7e8392d20fd5d66ad70ddda7309661b9a0ca67c8 | 2,846 | https://github.com/meltingice/psd.js/blob/7e8392d20fd5d66ad70ddda7309661b9a0ca67c8/lib/psd/resources.coffee | 1 | 41 |
meltingice/psd.js:lib/psd/resources.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var Resource, Resources;
Resource = require('./resource.coffee');
module.exports = Resources = class Resources {
constructor(file) {
this.file = file;
this.resources = {};
this.typeIndex = {};
this.length = null;
}
skip() {
this.length ... | Resource = require './resource.coffee'
module.exports = class Resources
constructor: (@file) ->
@resources = {}
@typeIndex = {}
@length = null
skip: ->
@length = @file.readInt()
@file.seek @length, true
parse: ->
@length = @file.readInt()
finish = @length + @file.tell()
while @... | JavaScript | CoffeeScript | meltingice/psd.js | lib/psd/resources.coffee | MIT | 7e8392d20fd5d66ad70ddda7309661b9a0ca67c8 | 2,846 | https://github.com/meltingice/psd.js/blob/7e8392d20fd5d66ad70ddda7309661b9a0ca67c8/lib/psd/resources.coffee | 1 | 41 |
meltingice/psd.js:lib/psd/resources.coffee:1:completion | completion | Resource = require './resource.coffee'
module.exports = class Resources
constructor: (@file) ->
@resources = {}
@typeIndex = {}
@length = null
skip: ->
@length = @file.readInt()
@file.seek @length, true
parse: ->
@length = @file.readInt()
finish = @length + @file.tell()
while @... | resourceEnd = @file.tell() + resource.length
section = Resource.Section.factory(resource)
unless section?
@file.seek(resourceEnd)
continue
@resources[section.id] = section
@typeIndex[section.name] = section.id if section.name?
@file.seek resourceEnd
@file.seek finis... | CoffeeScript | CoffeeScript | meltingice/psd.js | lib/psd/resources.coffee | MIT | 7e8392d20fd5d66ad70ddda7309661b9a0ca67c8 | 2,846 | https://github.com/meltingice/psd.js/blob/7e8392d20fd5d66ad70ddda7309661b9a0ca67c8/lib/psd/resources.coffee | 1 | 41 |
meltingice/psd.js:lib/psd/resources.coffee:1:raw_corpus | raw_corpus | module.exports = class Resources
constructor: (@file) ->
@resources = {}
@typeIndex = {}
@length = null
skip: ->
@length = @file.readInt()
@file.seek @length, true
parse: ->
@length = @file.readInt()
@file.seek @length, true | CoffeeScript | meltingice/psd.js | lib/psd/resources.coffee | MIT | 969ddd48118b35cd134364eb7793fce4bf4dd162 | 2,846 | https://github.com/meltingice/psd.js/blob/969ddd48118b35cd134364eb7793fce4bf4dd162/lib/psd/resources.coffee | 1 | 13 | ||
meltingice/psd.js:lib/psd/resources.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = class Resources
constructor: (@file) ->
@resources = {}
@typeIndex = {}
@length = null
skip: ->
@length = @file.readInt()
@file.seek @length, true
parse: ->
@length = @file.readInt()
@file.seek @length, true
``... | var Resources;
module.exports = Resources = class Resources {
constructor(file) {
this.file = file;
this.resources = {};
this.typeIndex = {};
this.length = null;
}
skip() {
this.length = this.file.readInt();
return this.file.seek(this.length, true);
}
parse() {
this.length = thi... | CoffeeScript | JavaScript | meltingice/psd.js | lib/psd/resources.coffee | MIT | 969ddd48118b35cd134364eb7793fce4bf4dd162 | 2,846 | https://github.com/meltingice/psd.js/blob/969ddd48118b35cd134364eb7793fce4bf4dd162/lib/psd/resources.coffee | 1 | 13 |
meltingice/psd.js:lib/psd/resources.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var Resources;
module.exports = Resources = class Resources {
constructor(file) {
this.file = file;
this.resources = {};
this.typeIndex = {};
this.length = null;
}
skip() {
this.length = this.file.readInt();
return this.file.seek(thi... | module.exports = class Resources
constructor: (@file) ->
@resources = {}
@typeIndex = {}
@length = null
skip: ->
@length = @file.readInt()
@file.seek @length, true
parse: ->
@length = @file.readInt()
@file.seek @length, true | JavaScript | CoffeeScript | meltingice/psd.js | lib/psd/resources.coffee | MIT | 969ddd48118b35cd134364eb7793fce4bf4dd162 | 2,846 | https://github.com/meltingice/psd.js/blob/969ddd48118b35cd134364eb7793fce4bf4dd162/lib/psd/resources.coffee | 1 | 13 |
meltingice/psd.js:lib/psd/resources.coffee:1:completion | completion | module.exports = class Resources
constructor: (@file) ->
@resources = {}
@typeIndex = {}
@length = null | skip: ->
@length = @file.readInt()
@file.seek @length, true
parse: ->
@length = @file.readInt()
@file.seek @length, true | CoffeeScript | CoffeeScript | meltingice/psd.js | lib/psd/resources.coffee | MIT | 969ddd48118b35cd134364eb7793fce4bf4dd162 | 2,846 | https://github.com/meltingice/psd.js/blob/969ddd48118b35cd134364eb7793fce4bf4dd162/lib/psd/resources.coffee | 1 | 13 |
meltingice/psd.js:lib/psd/resources.coffee:1:raw_corpus | raw_corpus | module.exports = class Resources
constructor: (@file) ->
@resources = {}
@typeIndex = {}
@length = null
parse: ->
@length = @file.readInt()
@file.seek @length, true | CoffeeScript | meltingice/psd.js | lib/psd/resources.coffee | MIT | c3e7db58a568a9cbfa31ebf197e062844c3f6015 | 2,846 | https://github.com/meltingice/psd.js/blob/c3e7db58a568a9cbfa31ebf197e062844c3f6015/lib/psd/resources.coffee | 1 | 9 | ||
meltingice/psd.js:lib/psd/resources.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = class Resources
constructor: (@file) ->
@resources = {}
@typeIndex = {}
@length = null
parse: ->
@length = @file.readInt()
@file.seek @length, true
``` | var Resources;
module.exports = Resources = class Resources {
constructor(file) {
this.file = file;
this.resources = {};
this.typeIndex = {};
this.length = null;
}
parse() {
this.length = this.file.readInt();
return this.file.seek(this.length, true);
}
}; | CoffeeScript | JavaScript | meltingice/psd.js | lib/psd/resources.coffee | MIT | c3e7db58a568a9cbfa31ebf197e062844c3f6015 | 2,846 | https://github.com/meltingice/psd.js/blob/c3e7db58a568a9cbfa31ebf197e062844c3f6015/lib/psd/resources.coffee | 1 | 9 |
meltingice/psd.js:lib/psd/resources.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var Resources;
module.exports = Resources = class Resources {
constructor(file) {
this.file = file;
this.resources = {};
this.typeIndex = {};
this.length = null;
}
parse() {
this.length = this.file.readInt();
return this.file.seek(th... | module.exports = class Resources
constructor: (@file) ->
@resources = {}
@typeIndex = {}
@length = null
parse: ->
@length = @file.readInt()
@file.seek @length, true | JavaScript | CoffeeScript | meltingice/psd.js | lib/psd/resources.coffee | MIT | c3e7db58a568a9cbfa31ebf197e062844c3f6015 | 2,846 | https://github.com/meltingice/psd.js/blob/c3e7db58a568a9cbfa31ebf197e062844c3f6015/lib/psd/resources.coffee | 1 | 9 |
meltingice/psd.js:lib/psd/resources.coffee:1:completion | completion | module.exports = class Resources
constructor: (@file) ->
@resources = {}
@typeIndex = {} | @length = null
parse: ->
@length = @file.readInt()
@file.seek @length, true | CoffeeScript | CoffeeScript | meltingice/psd.js | lib/psd/resources.coffee | MIT | c3e7db58a568a9cbfa31ebf197e062844c3f6015 | 2,846 | https://github.com/meltingice/psd.js/blob/c3e7db58a568a9cbfa31ebf197e062844c3f6015/lib/psd/resources.coffee | 1 | 9 |
gss/engine:src/domains/Boolean.coffee:1:raw_corpus | raw_corpus | Numeric = require('./Numeric')
Constraint = require('../commands/Constraint')
class Boolean extends Numeric
immutable: true
Boolean::Constraint = Constraint.extend {
signature: [
left: ['Variable', 'Number', 'Constraint'],
right: ['Variable', 'Number', 'Constraint']
]
},
"&&": (a, b) ->
... | CoffeeScript | gss/engine | src/domains/Boolean.coffee | MIT | d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0 | 2,854 | https://github.com/gss/engine/blob/d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0/src/domains/Boolean.coffee | 1 | 37 | ||
gss/engine:src/domains/Boolean.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
Numeric = require('./Numeric')
Constraint = require('../commands/Constraint')
class Boolean extends Numeric
immutable: true
Boolean::Constraint = Constraint.extend {
signature: [
left: ['Variable', 'Number', 'Constraint'],
right: ['Variabl... | var Boolean, Constraint, Numeric;
Numeric = require('./Numeric');
Constraint = require('../commands/Constraint');
Boolean = (function() {
class Boolean extends Numeric {};
Boolean.prototype.immutable = true;
return Boolean;
}).call(this);
Boolean.prototype.Constraint = Constraint.extend({
signature: [
... | CoffeeScript | JavaScript | gss/engine | src/domains/Boolean.coffee | MIT | d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0 | 2,854 | https://github.com/gss/engine/blob/d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0/src/domains/Boolean.coffee | 1 | 37 |
gss/engine:src/domains/Boolean.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var Boolean, Constraint, Numeric;
Numeric = require('./Numeric');
Constraint = require('../commands/Constraint');
Boolean = (function() {
class Boolean extends Numeric {};
Boolean.prototype.immutable = true;
return Boolean;
}).call(this);
Boolean.proto... | Numeric = require('./Numeric')
Constraint = require('../commands/Constraint')
class Boolean extends Numeric
immutable: true
Boolean::Constraint = Constraint.extend {
signature: [
left: ['Variable', 'Number', 'Constraint'],
right: ['Variable', 'Number', 'Constraint']
]
},
"&&": (a, b) ->
... | JavaScript | CoffeeScript | gss/engine | src/domains/Boolean.coffee | MIT | d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0 | 2,854 | https://github.com/gss/engine/blob/d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0/src/domains/Boolean.coffee | 1 | 37 |
gss/engine:src/domains/Boolean.coffee:1:completion | completion | Numeric = require('./Numeric')
Constraint = require('../commands/Constraint')
class Boolean extends Numeric
immutable: true
Boolean::Constraint = Constraint.extend {
signature: [
left: ['Variable', 'Number', 'Constraint'],
right: ['Variable', 'Number', 'Constraint']
]
},
"&&": (a, b) ->
... | "!=": (a, b) ->
return a == b
"==": (a, b) ->
return a == b
"<=": (a, b) ->
return a <= b
">=": (a, b) ->
return a >= b
"<": (a, b) ->
return a < b
">": (a, b) ->
return a > b
module.exports = Boolean | CoffeeScript | CoffeeScript | gss/engine | src/domains/Boolean.coffee | MIT | d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0 | 2,854 | https://github.com/gss/engine/blob/d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0/src/domains/Boolean.coffee | 1 | 37 |
gss/engine:src/domains/Boolean.coffee:1:raw_corpus | raw_corpus | Numeric = require('./Numeric')
Constraint = require('../Constraint')
class Boolean extends Numeric
immutable: true
Boolean::Constraint = Constraint.extend {
signature: [
left: ['Variable', 'Number', 'Constraint'],
right: ['Variable', 'Number', 'Constraint']
]
},
"&&": (a, b) ->
return a... | CoffeeScript | gss/engine | src/domains/Boolean.coffee | MIT | 6dae7b8e2f0918f6320f895965a8d2079eb0ce47 | 2,854 | https://github.com/gss/engine/blob/6dae7b8e2f0918f6320f895965a8d2079eb0ce47/src/domains/Boolean.coffee | 1 | 38 | ||
gss/engine:src/domains/Boolean.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
Numeric = require('./Numeric')
Constraint = require('../Constraint')
class Boolean extends Numeric
immutable: true
Boolean::Constraint = Constraint.extend {
signature: [
left: ['Variable', 'Number', 'Constraint'],
right: ['Variable', 'Num... | var Boolean, Constraint, Numeric;
Numeric = require('./Numeric');
Constraint = require('../Constraint');
Boolean = (function() {
class Boolean extends Numeric {};
Boolean.prototype.immutable = true;
return Boolean;
}).call(this);
Boolean.prototype.Constraint = Constraint.extend({
signature: [
{
... | CoffeeScript | JavaScript | gss/engine | src/domains/Boolean.coffee | MIT | 6dae7b8e2f0918f6320f895965a8d2079eb0ce47 | 2,854 | https://github.com/gss/engine/blob/6dae7b8e2f0918f6320f895965a8d2079eb0ce47/src/domains/Boolean.coffee | 1 | 38 |
gss/engine:src/domains/Boolean.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var Boolean, Constraint, Numeric;
Numeric = require('./Numeric');
Constraint = require('../Constraint');
Boolean = (function() {
class Boolean extends Numeric {};
Boolean.prototype.immutable = true;
return Boolean;
}).call(this);
Boolean.prototype.Cons... | Numeric = require('./Numeric')
Constraint = require('../Constraint')
class Boolean extends Numeric
immutable: true
Boolean::Constraint = Constraint.extend {
signature: [
left: ['Variable', 'Number', 'Constraint'],
right: ['Variable', 'Number', 'Constraint']
]
},
"&&": (a, b) ->
return a... | JavaScript | CoffeeScript | gss/engine | src/domains/Boolean.coffee | MIT | 6dae7b8e2f0918f6320f895965a8d2079eb0ce47 | 2,854 | https://github.com/gss/engine/blob/6dae7b8e2f0918f6320f895965a8d2079eb0ce47/src/domains/Boolean.coffee | 1 | 38 |
gss/engine:src/domains/Boolean.coffee:1:completion | completion | Numeric = require('./Numeric')
Constraint = require('../Constraint')
class Boolean extends Numeric
immutable: true
Boolean::Constraint = Constraint.extend {
signature: [
left: ['Variable', 'Number', 'Constraint'],
right: ['Variable', 'Number', 'Constraint']
]
},
"&&": (a, b) ->
return a... | "!=": (a, b) ->
return a == b
"==": (a, b) ->
return a == b
"<=": (a, b) ->
return a <= b
">=": (a, b) ->
return a >= b
"<": (a, b) ->
return a < b
">": (a, b) ->
return a > b
module.exports = Boolean | CoffeeScript | CoffeeScript | gss/engine | src/domains/Boolean.coffee | MIT | 6dae7b8e2f0918f6320f895965a8d2079eb0ce47 | 2,854 | https://github.com/gss/engine/blob/6dae7b8e2f0918f6320f895965a8d2079eb0ce47/src/domains/Boolean.coffee | 1 | 38 |
gss/engine:src/domains/Boolean.coffee:1:raw_corpus | raw_corpus | Numeric = require('./Numeric')
Constraint = require('../Constraint')
class Boolean extends Numeric
immutable: true
Boolean::Constraint = Constraint.extend {
signature: [
left: ['Variable', 'Number', 'Constraint'],
right: ['Variable', 'Number', 'Constraint']
]
},
"&&": (a, b) ->
return a... | CoffeeScript | gss/engine | src/domains/Boolean.coffee | MIT | 9e3102641c6621717be84eb731c946d345ba76d7 | 2,854 | https://github.com/gss/engine/blob/9e3102641c6621717be84eb731c946d345ba76d7/src/domains/Boolean.coffee | 1 | 39 | ||
gss/engine:src/domains/Boolean.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
Numeric = require('./Numeric')
Constraint = require('../Constraint')
class Boolean extends Numeric
immutable: true
Boolean::Constraint = Constraint.extend {
signature: [
left: ['Variable', 'Number', 'Constraint'],
right: ['Variable', 'Num... | var Boolean, Constraint, Numeric;
Numeric = require('./Numeric');
Constraint = require('../Constraint');
Boolean = (function() {
class Boolean extends Numeric {};
Boolean.prototype.immutable = true;
return Boolean;
}).call(this);
Boolean.prototype.Constraint = Constraint.extend({
signature: [
{
... | CoffeeScript | JavaScript | gss/engine | src/domains/Boolean.coffee | MIT | 9e3102641c6621717be84eb731c946d345ba76d7 | 2,854 | https://github.com/gss/engine/blob/9e3102641c6621717be84eb731c946d345ba76d7/src/domains/Boolean.coffee | 1 | 39 |
gss/engine:src/domains/Boolean.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var Boolean, Constraint, Numeric;
Numeric = require('./Numeric');
Constraint = require('../Constraint');
Boolean = (function() {
class Boolean extends Numeric {};
Boolean.prototype.immutable = true;
return Boolean;
}).call(this);
Boolean.prototype.Cons... | Numeric = require('./Numeric')
Constraint = require('../Constraint')
class Boolean extends Numeric
immutable: true
Boolean::Constraint = Constraint.extend {
signature: [
left: ['Variable', 'Number', 'Constraint'],
right: ['Variable', 'Number', 'Constraint']
]
},
"&&": (a, b) ->
return a... | JavaScript | CoffeeScript | gss/engine | src/domains/Boolean.coffee | MIT | 9e3102641c6621717be84eb731c946d345ba76d7 | 2,854 | https://github.com/gss/engine/blob/9e3102641c6621717be84eb731c946d345ba76d7/src/domains/Boolean.coffee | 1 | 39 |
gss/engine:src/domains/Boolean.coffee:1:completion | completion | Numeric = require('./Numeric')
Constraint = require('../Constraint')
class Boolean extends Numeric
immutable: true
Boolean::Constraint = Constraint.extend {
signature: [
left: ['Variable', 'Number', 'Constraint'],
right: ['Variable', 'Number', 'Constraint']
]
},
"&&": (a, b) ->
return a... | "!=": (a, b) ->
return a == b
"==": (a, b) ->
return a == b
"<=": (a, b) ->
return a <= b
">=": (a, b) ->
return a >= b
"<": (a, b) ->
return a < b
">": (a, b) ->
return a > b
module.exports = Boolean | CoffeeScript | CoffeeScript | gss/engine | src/domains/Boolean.coffee | MIT | 9e3102641c6621717be84eb731c946d345ba76d7 | 2,854 | https://github.com/gss/engine/blob/9e3102641c6621717be84eb731c946d345ba76d7/src/domains/Boolean.coffee | 1 | 39 |
Nedomas/databound:spec/crud/create.coffee:1:raw_corpus | raw_corpus | describe '#create', ->
it 'should create a record and return it', ->
stubResponse {
success: true
id: 1
scoped_records: [{ id: 1, name: 'John' }]
}, ->
User.create(name: 'John').then (user) ->
expect(user).to.eql(id: 1, name: 'John') | CoffeeScript | Nedomas/databound | spec/crud/create.coffee | MIT | a02f231f1c3964eb8584adf55d7709b656e7e4a4 | 452 | https://github.com/Nedomas/databound/blob/a02f231f1c3964eb8584adf55d7709b656e7e4a4/spec/crud/create.coffee | 1 | 10 | ||
Nedomas/databound:spec/crud/create.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
describe '#create', ->
it 'should create a record and return it', ->
stubResponse {
success: true
id: 1
scoped_records: [{ id: 1, name: 'John' }]
}, ->
User.create(name: 'John').then (user) ->
expect(user).to.eql(id: 1, ... | describe('#create', function() {
return it('should create a record and return it', function() {
return stubResponse({
success: true,
id: 1,
scoped_records: [
{
id: 1,
name: 'John'
}
]
}, function() {
return User.create({
name: 'John'
... | CoffeeScript | JavaScript | Nedomas/databound | spec/crud/create.coffee | MIT | a02f231f1c3964eb8584adf55d7709b656e7e4a4 | 452 | https://github.com/Nedomas/databound/blob/a02f231f1c3964eb8584adf55d7709b656e7e4a4/spec/crud/create.coffee | 1 | 10 |
Nedomas/databound:spec/crud/create.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
describe('#create', function() {
return it('should create a record and return it', function() {
return stubResponse({
success: true,
id: 1,
scoped_records: [
{
id: 1,
name: 'John'
}
]
}, function... | describe '#create', ->
it 'should create a record and return it', ->
stubResponse {
success: true
id: 1
scoped_records: [{ id: 1, name: 'John' }]
}, ->
User.create(name: 'John').then (user) ->
expect(user).to.eql(id: 1, name: 'John') | JavaScript | CoffeeScript | Nedomas/databound | spec/crud/create.coffee | MIT | a02f231f1c3964eb8584adf55d7709b656e7e4a4 | 452 | https://github.com/Nedomas/databound/blob/a02f231f1c3964eb8584adf55d7709b656e7e4a4/spec/crud/create.coffee | 1 | 10 |
Nedomas/databound:spec/crud/create.coffee:1:completion | completion | describe '#create', ->
it 'should create a record and return it', ->
stubResponse {
success: true
id: 1 | scoped_records: [{ id: 1, name: 'John' }]
}, ->
User.create(name: 'John').then (user) ->
expect(user).to.eql(id: 1, name: 'John') | CoffeeScript | CoffeeScript | Nedomas/databound | spec/crud/create.coffee | MIT | a02f231f1c3964eb8584adf55d7709b656e7e4a4 | 452 | https://github.com/Nedomas/databound/blob/a02f231f1c3964eb8584adf55d7709b656e7e4a4/spec/crud/create.coffee | 1 | 10 |
jashkenas/coffeescript:test/numbers_bigint.coffee:1:raw_corpus | raw_corpus | # BigInt Literals
# ---------------
test "BigInt exists", ->
'object' is typeof BigInt
test "Parser recognizes decimal BigInt literals", ->
eq 42n, BigInt 42
test "Parser recognizes decimal BigInt literals with separator", ->
eq 1_000n, BigInt 1000
test "Parser recognizes binary BigInt literals", ->
eq 42n,... | CoffeeScript | jashkenas/coffeescript | test/numbers_bigint.coffee | MIT | 817c39a13065a900725943c33a79252a69d779e2 | 16,577 | https://github.com/jashkenas/coffeescript/blob/817c39a13065a900725943c33a79252a69d779e2/test/numbers_bigint.coffee | 1 | 20 | ||
jashkenas/coffeescript:test/numbers_bigint.coffee:1:completion | completion | # BigInt Literals
# ---------------
test "BigInt exists", ->
'object' is typeof BigInt
test "Parser recognizes decimal BigInt literals", ->
eq 42n, BigInt 42
test "Parser recognizes decimal BigInt literals with separator", -> | eq 1_000n, BigInt 1000
test "Parser recognizes binary BigInt literals", ->
eq 42n, 0b101010n
test "Parser recognizes octal BigInt literals", ->
eq 42n, 0o52n
test "Parser recognizes hexadecimal BigInt literals", ->
eq 42n, 0x2an | CoffeeScript | CoffeeScript | jashkenas/coffeescript | test/numbers_bigint.coffee | MIT | 817c39a13065a900725943c33a79252a69d779e2 | 16,577 | https://github.com/jashkenas/coffeescript/blob/817c39a13065a900725943c33a79252a69d779e2/test/numbers_bigint.coffee | 1 | 20 |
jashkenas/coffeescript:test/numbers_bigint.coffee:1:raw_corpus | raw_corpus | # BigInt Literals
# ---------------
test "BigInt exists", ->
'object' is typeof BigInt
test "Parser recognizes decimal BigInt literals", ->
eq 42n, BigInt 42
test "Parser recognizes binary BigInt literals", ->
eq 42n, 0b101010n
test "Parser recognizes octal BigInt literals", ->
eq 42n, 0o52n
test "Parser r... | CoffeeScript | jashkenas/coffeescript | test/numbers_bigint.coffee | MIT | f528e5e75480e01fb24edefa6659f7547c943c78 | 16,577 | https://github.com/jashkenas/coffeescript/blob/f528e5e75480e01fb24edefa6659f7547c943c78/test/numbers_bigint.coffee | 1 | 17 | ||
jashkenas/coffeescript:test/numbers_bigint.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
# BigInt Literals
# ---------------
test "BigInt exists", ->
'object' is typeof BigInt
test "Parser recognizes decimal BigInt literals", ->
eq 42n, BigInt 42
test "Parser recognizes binary BigInt literals", ->
eq 42n, 0b101010n
test "Parser recognizes o... | // BigInt Literals
// ---------------
test("BigInt exists", function() {
return 'object' === typeof BigInt;
});
test("Parser recognizes decimal BigInt literals", function() {
return eq(42n, BigInt(42));
});
test("Parser recognizes binary BigInt literals", function() {
return eq(42n, 0b101010n);
});
test("Parse... | CoffeeScript | JavaScript | jashkenas/coffeescript | test/numbers_bigint.coffee | MIT | f528e5e75480e01fb24edefa6659f7547c943c78 | 16,577 | https://github.com/jashkenas/coffeescript/blob/f528e5e75480e01fb24edefa6659f7547c943c78/test/numbers_bigint.coffee | 1 | 17 |
jashkenas/coffeescript:test/numbers_bigint.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
// BigInt Literals
// ---------------
test("BigInt exists", function() {
return 'object' === typeof BigInt;
});
test("Parser recognizes decimal BigInt literals", function() {
return eq(42n, BigInt(42));
});
test("Parser recognizes binary BigInt literals", fun... | # BigInt Literals
# ---------------
test "BigInt exists", ->
'object' is typeof BigInt
test "Parser recognizes decimal BigInt literals", ->
eq 42n, BigInt 42
test "Parser recognizes binary BigInt literals", ->
eq 42n, 0b101010n
test "Parser recognizes octal BigInt literals", ->
eq 42n, 0o52n
test "Parser r... | JavaScript | CoffeeScript | jashkenas/coffeescript | test/numbers_bigint.coffee | MIT | f528e5e75480e01fb24edefa6659f7547c943c78 | 16,577 | https://github.com/jashkenas/coffeescript/blob/f528e5e75480e01fb24edefa6659f7547c943c78/test/numbers_bigint.coffee | 1 | 17 |
jashkenas/coffeescript:test/numbers_bigint.coffee:1:completion | completion | # BigInt Literals
# ---------------
test "BigInt exists", ->
'object' is typeof BigInt
test "Parser recognizes decimal BigInt literals", ->
eq 42n, BigInt 42 | test "Parser recognizes binary BigInt literals", ->
eq 42n, 0b101010n
test "Parser recognizes octal BigInt literals", ->
eq 42n, 0o52n
test "Parser recognizes hexadecimal BigInt literals", ->
eq 42n, 0x2an | CoffeeScript | CoffeeScript | jashkenas/coffeescript | test/numbers_bigint.coffee | MIT | f528e5e75480e01fb24edefa6659f7547c943c78 | 16,577 | https://github.com/jashkenas/coffeescript/blob/f528e5e75480e01fb24edefa6659f7547c943c78/test/numbers_bigint.coffee | 1 | 17 |
flosse/sloc:src/formatters/cli-table.coffee:1:raw_corpus | raw_corpus | Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
path = require 'path'
module.exports = (data, options, fmtOpts) ->
keys = options.keys or sloc.keys
heads = if options.details then ['Path', keys...] else ['Extension', keys...]
head = if 'no-head' in fmtOpts then [] else (i18n.e... | CoffeeScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | e26044011821c4e170859362f2de657d64118711 | 969 | https://github.com/flosse/sloc/blob/e26044011821c4e170859362f2de657d64118711/src/formatters/cli-table.coffee | 1 | 26 | ||
flosse/sloc:src/formatters/cli-table.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
path = require 'path'
module.exports = (data, options, fmtOpts) ->
keys = options.keys or sloc.keys
heads = if options.details then ['Path', keys...] else ['Extension', keys..... | var Table, i18n, path, sloc,
indexOf = [].indexOf;
Table = require('cli-table');
i18n = require('../i18n');
sloc = require('../sloc');
path = require('path');
module.exports = function(data, options, fmtOpts) {
var d, ext, f, head, heads, i, k, keys, len, ref, ref1, s, statToArray, table;
keys = options.keys... | CoffeeScript | JavaScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | e26044011821c4e170859362f2de657d64118711 | 969 | https://github.com/flosse/sloc/blob/e26044011821c4e170859362f2de657d64118711/src/formatters/cli-table.coffee | 1 | 26 |
flosse/sloc:src/formatters/cli-table.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var Table, i18n, path, sloc,
indexOf = [].indexOf;
Table = require('cli-table');
i18n = require('../i18n');
sloc = require('../sloc');
path = require('path');
module.exports = function(data, options, fmtOpts) {
var d, ext, f, head, heads, i, k, keys, len, ... | Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
path = require 'path'
module.exports = (data, options, fmtOpts) ->
keys = options.keys or sloc.keys
heads = if options.details then ['Path', keys...] else ['Extension', keys...]
head = if 'no-head' in fmtOpts then [] else (i18n.e... | JavaScript | CoffeeScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | e26044011821c4e170859362f2de657d64118711 | 969 | https://github.com/flosse/sloc/blob/e26044011821c4e170859362f2de657d64118711/src/formatters/cli-table.coffee | 1 | 26 |
flosse/sloc:src/formatters/cli-table.coffee:1:completion | completion | Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
path = require 'path'
module.exports = (data, options, fmtOpts) ->
keys = options.keys or sloc.keys
heads = if options.details then ['Path', keys...] else ['Extension', keys...]
head = if 'no-head' in fmtOpts then [] else (i18n.e... | table = new Table { head }
statToArray = (d) -> d[k] for k in keys
if options.details
table.push [f.path, statToArray(f.stats)...] for f in data.files
else if (s = data.summary)?
table.push ['- Total -', statToArray(s)...]
for ext, d of data.byExt when (s = d.summary)?
table.push [ext, statTo... | CoffeeScript | CoffeeScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | e26044011821c4e170859362f2de657d64118711 | 969 | https://github.com/flosse/sloc/blob/e26044011821c4e170859362f2de657d64118711/src/formatters/cli-table.coffee | 1 | 26 |
flosse/sloc:src/formatters/cli-table.coffee:1:raw_corpus | raw_corpus | Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
module.exports = (data, options, fmtOpts) ->
keys = options.keys or sloc.keys
heads = if options.details then ['Path', keys...] else keys
head = if 'no-head' in fmtOpts then [] else (i18n.en[k] for k in heads)
table = new Table... | CoffeeScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | 1aaaee8d90f0313305657b55c8e27a9523cef534 | 969 | https://github.com/flosse/sloc/blob/1aaaee8d90f0313305657b55c8e27a9523cef534/src/formatters/cli-table.coffee | 1 | 23 | ||
flosse/sloc:src/formatters/cli-table.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
module.exports = (data, options, fmtOpts) ->
keys = options.keys or sloc.keys
heads = if options.details then ['Path', keys...] else keys
head = if 'no-head' in fmtOpts then... | var Table, i18n, sloc,
indexOf = [].indexOf;
Table = require('cli-table');
i18n = require('../i18n');
sloc = require('../sloc');
module.exports = function(data, options, fmtOpts) {
var f, head, heads, i, k, keys, len, ref, s, statToArray, table;
keys = options.keys || sloc.keys;
heads = options.details ? ['... | CoffeeScript | JavaScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | 1aaaee8d90f0313305657b55c8e27a9523cef534 | 969 | https://github.com/flosse/sloc/blob/1aaaee8d90f0313305657b55c8e27a9523cef534/src/formatters/cli-table.coffee | 1 | 23 |
flosse/sloc:src/formatters/cli-table.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var Table, i18n, sloc,
indexOf = [].indexOf;
Table = require('cli-table');
i18n = require('../i18n');
sloc = require('../sloc');
module.exports = function(data, options, fmtOpts) {
var f, head, heads, i, k, keys, len, ref, s, statToArray, table;
keys = op... | Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
module.exports = (data, options, fmtOpts) ->
keys = options.keys or sloc.keys
heads = if options.details then ['Path', keys...] else keys
head = if 'no-head' in fmtOpts then [] else (i18n.en[k] for k in heads)
table = new Table... | JavaScript | CoffeeScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | 1aaaee8d90f0313305657b55c8e27a9523cef534 | 969 | https://github.com/flosse/sloc/blob/1aaaee8d90f0313305657b55c8e27a9523cef534/src/formatters/cli-table.coffee | 1 | 23 |
flosse/sloc:src/formatters/cli-table.coffee:1:completion | completion | Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
module.exports = (data, options, fmtOpts) ->
keys = options.keys or sloc.keys
heads = if options.details then ['Path', keys...] else keys
head = if 'no-head' in fmtOpts then [] else (i18n.en[k] for k in heads) | table = new Table { head }
statToArray = (d) -> d[k] for k in keys
if options.details
table.push [f.path, statToArray(f.stats)...] for f in data.files
else if (s = data.summary)?
table.push statToArray s
table.toString() | CoffeeScript | CoffeeScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | 1aaaee8d90f0313305657b55c8e27a9523cef534 | 969 | https://github.com/flosse/sloc/blob/1aaaee8d90f0313305657b55c8e27a9523cef534/src/formatters/cli-table.coffee | 1 | 23 |
flosse/sloc:src/formatters/cli-table.coffee:1:raw_corpus | raw_corpus | Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
module.exports = (data, options={}) ->
keys = options.keys or sloc.keys
heads = if options.details then ['Path', keys...] else keys
table = new Table head: (i18n.en[k] for k in heads)
statToArray = (d) -> d[k] for k in keys
... | CoffeeScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | cf8a3946b1959dbed67c82658b8bf5623493e60a | 969 | https://github.com/flosse/sloc/blob/cf8a3946b1959dbed67c82658b8bf5623493e60a/src/formatters/cli-table.coffee | 1 | 21 | ||
flosse/sloc:src/formatters/cli-table.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
module.exports = (data, options={}) ->
keys = options.keys or sloc.keys
heads = if options.details then ['Path', keys...] else keys
table = new Table head: (i18n.en[k] for k... | var Table, i18n, sloc;
Table = require('cli-table');
i18n = require('../i18n');
sloc = require('../sloc');
module.exports = function(data, options = {}) {
var f, heads, i, k, keys, len, ref, s, statToArray, table;
keys = options.keys || sloc.keys;
heads = options.details ? ['Path', ...keys] : keys;
table = ... | CoffeeScript | JavaScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | cf8a3946b1959dbed67c82658b8bf5623493e60a | 969 | https://github.com/flosse/sloc/blob/cf8a3946b1959dbed67c82658b8bf5623493e60a/src/formatters/cli-table.coffee | 1 | 21 |
flosse/sloc:src/formatters/cli-table.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var Table, i18n, sloc;
Table = require('cli-table');
i18n = require('../i18n');
sloc = require('../sloc');
module.exports = function(data, options = {}) {
var f, heads, i, k, keys, len, ref, s, statToArray, table;
keys = options.keys || sloc.keys;
heads =... | Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
module.exports = (data, options={}) ->
keys = options.keys or sloc.keys
heads = if options.details then ['Path', keys...] else keys
table = new Table head: (i18n.en[k] for k in heads)
statToArray = (d) -> d[k] for k in keys
... | JavaScript | CoffeeScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | cf8a3946b1959dbed67c82658b8bf5623493e60a | 969 | https://github.com/flosse/sloc/blob/cf8a3946b1959dbed67c82658b8bf5623493e60a/src/formatters/cli-table.coffee | 1 | 21 |
flosse/sloc:src/formatters/cli-table.coffee:1:completion | completion | Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
module.exports = (data, options={}) ->
keys = options.keys or sloc.keys
heads = if options.details then ['Path', keys...] else keys | table = new Table head: (i18n.en[k] for k in heads)
statToArray = (d) -> d[k] for k in keys
if options.details
table.push [f.path, statToArray(f.stats)...] for f in data.files
else if (s = data.summary)?
table.push statToArray s
table.toString() | CoffeeScript | CoffeeScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | cf8a3946b1959dbed67c82658b8bf5623493e60a | 969 | https://github.com/flosse/sloc/blob/cf8a3946b1959dbed67c82658b8bf5623493e60a/src/formatters/cli-table.coffee | 1 | 21 |
flosse/sloc:src/formatters/cli-table.coffee:1:raw_corpus | raw_corpus | Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
module.exports = (data, options={}) ->
headers = for h in ['Path', sloc.keys...]
i18n.en[h]
table = new Table head: headers
statToArray = (d) -> d[k] for k in sloc.keys
if options.details
table.push [f.path, statToArray... | CoffeeScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | fe70a54fa0187454a16e95088188ef8db85d8151 | 969 | https://github.com/flosse/sloc/blob/fe70a54fa0187454a16e95088188ef8db85d8151/src/formatters/cli-table.coffee | 1 | 19 | ||
flosse/sloc:src/formatters/cli-table.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
module.exports = (data, options={}) ->
headers = for h in ['Path', sloc.keys...]
i18n.en[h]
table = new Table head: headers
statToArray = (d) -> d[k] for k in sloc.keys
... | var Table, i18n, sloc;
Table = require('cli-table');
i18n = require('../i18n');
sloc = require('../sloc');
module.exports = function(data, options = {}) {
var f, h, headers, i, len, ref, s, statToArray, table;
headers = (function() {
var i, len, ref, results;
ref = ['Path', ...sloc.keys];
results = ... | CoffeeScript | JavaScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | fe70a54fa0187454a16e95088188ef8db85d8151 | 969 | https://github.com/flosse/sloc/blob/fe70a54fa0187454a16e95088188ef8db85d8151/src/formatters/cli-table.coffee | 1 | 19 |
flosse/sloc:src/formatters/cli-table.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var Table, i18n, sloc;
Table = require('cli-table');
i18n = require('../i18n');
sloc = require('../sloc');
module.exports = function(data, options = {}) {
var f, h, headers, i, len, ref, s, statToArray, table;
headers = (function() {
var i, len, ref, re... | Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
module.exports = (data, options={}) ->
headers = for h in ['Path', sloc.keys...]
i18n.en[h]
table = new Table head: headers
statToArray = (d) -> d[k] for k in sloc.keys
if options.details
table.push [f.path, statToArray... | JavaScript | CoffeeScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | fe70a54fa0187454a16e95088188ef8db85d8151 | 969 | https://github.com/flosse/sloc/blob/fe70a54fa0187454a16e95088188ef8db85d8151/src/formatters/cli-table.coffee | 1 | 19 |
flosse/sloc:src/formatters/cli-table.coffee:1:completion | completion | Table = require 'cli-table'
i18n = require '../i18n'
sloc = require '../sloc'
module.exports = (data, options={}) ->
headers = for h in ['Path', sloc.keys...]
i18n.en[h] | table = new Table head: headers
statToArray = (d) -> d[k] for k in sloc.keys
if options.details
table.push [f.path, statToArray(f.stats)...] for f in data.files
else if (s = data.summary)?
table.push statToArray s
table.toString() | CoffeeScript | CoffeeScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | fe70a54fa0187454a16e95088188ef8db85d8151 | 969 | https://github.com/flosse/sloc/blob/fe70a54fa0187454a16e95088188ef8db85d8151/src/formatters/cli-table.coffee | 1 | 19 |
flosse/sloc:src/formatters/cli-table.coffee:1:raw_corpus | raw_corpus | Table = require 'cli-table'
i18n = require '../i18n'
module.exports = (data) ->
keys = ['path', 'loc', 'sloc', 'cloc', 'scloc', 'mcloc', 'nloc']
headers = for h in ['Path', keys[1...]...]
i18n.en[h]
table = new Table head: headers
toArray = (d) ->
for k in keys
if k is 'path'
d[k] or ... | CoffeeScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | 8a6836f63b89f134d84408d5fb8178e50a6f3469 | 969 | https://github.com/flosse/sloc/blob/8a6836f63b89f134d84408d5fb8178e50a6f3469/src/formatters/cli-table.coffee | 1 | 24 | ||
flosse/sloc:src/formatters/cli-table.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
Table = require 'cli-table'
i18n = require '../i18n'
module.exports = (data) ->
keys = ['path', 'loc', 'sloc', 'cloc', 'scloc', 'mcloc', 'nloc']
headers = for h in ['Path', keys[1...]...]
i18n.en[h]
table = new Table head: headers
toArray = (d) -... | var Table, i18n;
Table = require('cli-table');
i18n = require('../i18n');
module.exports = function(data) {
var d, h, headers, i, keys, len, ref, table, toArray;
keys = ['path', 'loc', 'sloc', 'cloc', 'scloc', 'mcloc', 'nloc'];
headers = (function() {
var i, len, ref, results;
ref = ['Path', ...keys.sl... | CoffeeScript | JavaScript | flosse/sloc | src/formatters/cli-table.coffee | MIT | 8a6836f63b89f134d84408d5fb8178e50a6f3469 | 969 | https://github.com/flosse/sloc/blob/8a6836f63b89f134d84408d5fb8178e50a6f3469/src/formatters/cli-table.coffee | 1 | 24 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.