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
package io.fintrospect.renderers.swagger2dot0 | |
import argo.jdom.JsonNode | |
import com.twitter.finagle.http.path.Path | |
import com.twitter.finagle.http.{Request, Response} | |
import io.fintrospect._ | |
import io.fintrospect.formats.Argo.JsonFormat._ | |
import io.fintrospect.formats.Argo.ResponseBuilder._ | |
import io.fintrospect.parameters.HasParameters | |
import io.fintrospect.renderers.util.{JsonToJsonSchema, Schema} |
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
atom.workspace.observeTextEditors (item) -> | |
# Sets up middle button scroll on the given editor component | |
middleMouseScrollSetup = (editorComponent) -> | |
lastClick = {x: 0, y: 0} | |
lastPosition = {x: 0, y: 0} | |
{scrollContainer} = editorComponent.refs | |
onMouseMove = (event) -> |