Sha256: d41de2e51db5ac4d4bf6b25e1f453bc55ce251a1ac979577590e2f6ba59e16fb

Contents?: true

Size: 349 Bytes

Versions: 19

Compression:

Stored size: 349 Bytes

Contents

Node  = require('./node')

{escapeQuotes} = require('../util/text')

# Text node that contains everything that cannot be detected as
# other node. This is normally plain text to be inserted into the
# template.
#
module.exports = class Text extends Node

  # Evaluate the text node.
  #
  evaluate: -> @opener = @markText(escapeQuotes(@expression))

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ela-4.1.6 node_modules/haml-coffee/src/nodes/text.coffee
ela-4.1.5 node_modules/haml-coffee/src/nodes/text.coffee
ela-4.1.4 node_modules/haml-coffee/src/nodes/text.coffee
ela-4.1.3 node_modules/haml-coffee/src/nodes/text.coffee
ela-4.1.2 node_modules/haml-coffee/src/nodes/text.coffee
ela-4.1.1 node_modules/haml-coffee/src/nodes/text.coffee
ela-4.1.0 node_modules/haml-coffee/src/nodes/text.coffee
ela-4.0.0 node_modules/haml-coffee/src/nodes/text.coffee
ela-3.4.3 node_modules/haml-coffee/src/nodes/text.coffee
ela-3.4.2 node_modules/haml-coffee/src/nodes/text.coffee
ela-3.4.0 node_modules/haml-coffee/src/nodes/text.coffee
ela-3.3.1 node_modules/haml-coffee/src/nodes/text.coffee
ela-3.3.0 node_modules/haml-coffee/src/nodes/text.coffee
ela-3.2.0 node_modules/haml-coffee/src/nodes/text.coffee
ela-3.1.1 node_modules/haml-coffee/src/nodes/text.coffee
ela-3.1.0 node_modules/haml-coffee/src/nodes/text.coffee
ela-3.0.0 node_modules/haml-coffee/src/nodes/text.coffee
ela-2.0.0 node_modules/haml-coffee/src/nodes/text.coffee
ela-1.1.0 node_modules/haml-coffee/src/nodes/text.coffee