Преглед изворни кода

Remove examples since I do not maintain them. Update markdown files and license.

tags/0.5.0-vsc
Sahab Yazdani пре 15 година
родитељ
комит
8d93eee40c
100 измењених фајлова са 20 додато и 364 уклоњено
  1. +8
    -1
      CHANGES.md
  2. +1
    -0
      LICENSE
  3. +11
    -5
      README.md
  4. +0
    -1
      examples/apostrophe.html
  5. +0
    -1
      examples/apostrophe.js
  6. +0
    -1
      examples/apostrophe.txt
  7. +0
    -1
      examples/array_of_partials_implicit_partial.2.html
  8. +0
    -4
      examples/array_of_partials_implicit_partial.html
  9. +0
    -3
      examples/array_of_partials_implicit_partial.js
  10. +0
    -5
      examples/array_of_partials_implicit_partial.txt
  11. +0
    -1
      examples/array_of_partials_partial.2.html
  12. +0
    -4
      examples/array_of_partials_partial.html
  13. +0
    -3
      examples/array_of_partials_partial.js
  14. +0
    -5
      examples/array_of_partials_partial.txt
  15. +0
    -1
      examples/array_of_strings.html
  16. +0
    -1
      examples/array_of_strings.js
  17. +0
    -1
      examples/array_of_strings.txt
  18. +0
    -2
      examples/array_of_strings_options.html
  19. +0
    -1
      examples/array_of_strings_options.js
  20. +0
    -1
      examples/array_of_strings_options.txt
  21. +0
    -4
      examples/array_partial.2.html
  22. +0
    -1
      examples/array_partial.html
  23. +0
    -5
      examples/array_partial.js
  24. +0
    -6
      examples/array_partial.txt
  25. +0
    -1
      examples/bug_11_eating_whitespace.html
  26. +0
    -3
      examples/bug_11_eating_whitespace.js
  27. +0
    -1
      examples/bug_11_eating_whitespace.txt
  28. +0
    -5
      examples/bug_46_set_delimiter.html
  29. +0
    -3
      examples/bug_46_set_delimiter.js
  30. +0
    -1
      examples/bug_46_set_delimiter.txt
  31. +0
    -1
      examples/comments.html
  32. +0
    -5
      examples/comments.js
  33. +0
    -1
      examples/comments.txt
  34. +0
    -16
      examples/complex.html
  35. +0
    -19
      examples/complex.js
  36. +0
    -6
      examples/complex.txt
  37. +0
    -7
      examples/delimiters.html
  38. +0
    -6
      examples/delimiters.js
  39. +0
    -2
      examples/delimiters.partial.txt
  40. +0
    -5
      examples/delimiters.txt
  41. +0
    -3
      examples/delimiters_partial.2.html
  42. +0
    -3
      examples/delimiters_partial.html
  43. +0
    -3
      examples/delimiters_partial.js
  44. +0
    -1
      examples/empty_partial.2.html
  45. +0
    -2
      examples/empty_partial.html
  46. +0
    -3
      examples/empty_partial.js
  47. +0
    -2
      examples/empty_partial.txt
  48. +0
    -1
      examples/empty_template.html
  49. +0
    -1
      examples/empty_template.js
  50. +0
    -1
      examples/empty_template.txt
  51. +0
    -1
      examples/error_not_found.html
  52. +0
    -1
      examples/error_not_found.js
  53. +0
    -1
      examples/error_not_found.txt
  54. +0
    -2
      examples/escaped.html
  55. +0
    -6
      examples/escaped.js
  56. +0
    -2
      examples/escaped.txt
  57. +0
    -1
      examples/higher_order_sections.html
  58. +0
    -9
      examples/higher_order_sections.js
  59. +0
    -1
      examples/higher_order_sections.txt
  60. +0
    -2
      examples/inverted_section.html
  61. +0
    -3
      examples/inverted_section.js
  62. +0
    -1
      examples/inverted_section.txt
  63. +0
    -5
      examples/nesting.html
  64. +0
    -7
      examples/nesting.js
  65. +0
    -4
      examples/nesting.txt
  66. +0
    -5
      examples/null_string.html
  67. +0
    -9
      examples/null_string.js
  68. +0
    -5
      examples/null_string.txt
  69. +0
    -4
      examples/partial_recursion.2.html
  70. +0
    -4
      examples/partial_recursion.html
  71. +0
    -11
      examples/partial_recursion.js
  72. +0
    -3
      examples/partial_recursion.txt
  73. +0
    -7
      examples/recursion_with_same_names.html
  74. +0
    -8
      examples/recursion_with_same_names.js
  75. +0
    -6
      examples/recursion_with_same_names.txt
  76. +0
    -8
      examples/reuse_of_enumerables.html
  77. +0
    -6
      examples/reuse_of_enumerables.js
  78. +0
    -8
      examples/reuse_of_enumerables.txt
  79. +0
    -9
      examples/section_as_context.html
  80. +0
    -7
      examples/section_as_context.js
  81. +0
    -6
      examples/section_as_context.txt
  82. +0
    -5
      examples/simple.html
  83. +0
    -8
      examples/simple.js
  84. +0
    -3
      examples/simple.txt
  85. +0
    -1
      examples/template_partial.2.html
  86. +0
    -2
      examples/template_partial.html
  87. +0
    -8
      examples/template_partial.js
  88. +0
    -2
      examples/template_partial.txt
  89. +0
    -1
      examples/two_in_a_row.html
  90. +0
    -4
      examples/two_in_a_row.js
  91. +0
    -1
      examples/two_in_a_row.txt
  92. +0
    -1
      examples/unescaped.html
  93. +0
    -5
      examples/unescaped.js
  94. +0
    -1
      examples/unescaped.txt
  95. +0
    -1
      examples/unescaped_ampersand.html
  96. +0
    -5
      examples/unescaped_ampersand.js
  97. +0
    -1
      examples/unescaped_ampersand.txt
  98. +0
    -1
      examples/unknown_pragma.html
  99. +0
    -1
      examples/unknown_pragma.js
  100. +0
    -1
      examples/unknown_pragma.txt

+ 8
- 1
CHANGES.md Прегледај датотеку

@@ -1,6 +1,13 @@
# mustache.js Changes

## 0.3.1 (??-??-????)
## 0.4.0-vcs

* Added Compiled Template support
* Correct Set Delimiter implementation
* Implements & unescaping character
* Multiline Comments
* Syntactically Important Whitespace (Issues 25, 41, 48, and 67)
* QUnit unit tests

## 0.3.0 (21-07-2010)



+ 1
- 0
LICENSE Прегледај датотеку

@@ -1,5 +1,6 @@
Copyright (c) 2009 Chris Wanstrath (Ruby)
Copyright (c) 2010 Jan Lehnardt (JavaScript)
Copyright (c) 2011 Vastardis Capital Services (Compiler)

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the


+ 11
- 5
README.md Прегледај датотеку

@@ -256,6 +256,17 @@ own iteration marker:
{{bob}}
{{/foo}}

## Template Compiler

This implementation of Mustache compiles all templates into JavaScript before
execution. This speeds up the conversion of templates into markup when the
template contains lots of sections or deeply nested constructs. Furthermore,
if you are running the same template multiple times, you can retrieve a handle
to the compiled Javascript function using the following code block:

var template = Mustache.compile('<b>{{>foo}}{{#bar}} had a bar.{{/bar}}</b>', { foo: 'Snow White' });
var html = template({bar:true});
## F.A.Q.

### Why doesn’t Mustache allow dot notation like `{{variable.member}}`?
@@ -265,11 +276,6 @@ bugtracker](http://github.com/defunkt/mustache/issues/issue/6).

Mustache implementations strive to be template-compatible.


## More Examples and Documentation

See `examples/` for more goodies and read the [original mustache docs][m]

## Command Line

See `mustache(1)` man page or


+ 0
- 1
examples/apostrophe.html Прегледај датотеку

@@ -1 +0,0 @@
{{apos}}{{control}}

+ 0
- 1
examples/apostrophe.js Прегледај датотеку

@@ -1 +0,0 @@
var apostrophe = {'apos': "'", 'control':'X'};

+ 0
- 1
examples/apostrophe.txt Прегледај датотеку

@@ -1 +0,0 @@
&#39;X

+ 0
- 1
examples/array_of_partials_implicit_partial.2.html Прегледај датотеку

@@ -1 +0,0 @@
{{.}}

+ 0
- 4
examples/array_of_partials_implicit_partial.html Прегледај датотеку

@@ -1,4 +0,0 @@
Here is some stuff!
{{#numbers}}
{{>partial}}
{{/numbers}}

+ 0
- 3
examples/array_of_partials_implicit_partial.js Прегледај датотеку

@@ -1,3 +0,0 @@
var partial_context = {
numbers: ['1', '2', '3', '4']
};

+ 0
- 5
examples/array_of_partials_implicit_partial.txt Прегледај датотеку

@@ -1,5 +0,0 @@
Here is some stuff!
1
2
3
4

+ 0
- 1
examples/array_of_partials_partial.2.html Прегледај датотеку

@@ -1 +0,0 @@
{{i}}

+ 0
- 4
examples/array_of_partials_partial.html Прегледај датотеку

@@ -1,4 +0,0 @@
Here is some stuff!
{{#numbers}}
{{>partial}}
{{/numbers}}

+ 0
- 3
examples/array_of_partials_partial.js Прегледај датотеку

@@ -1,3 +0,0 @@
var partial_context = {
numbers: [{i: '1'}, {i: '2'}, {i: '3'}, {i: '4'}]
};

+ 0
- 5
examples/array_of_partials_partial.txt Прегледај датотеку

@@ -1,5 +0,0 @@
Here is some stuff!
1
2
3
4

+ 0
- 1
examples/array_of_strings.html Прегледај датотеку

@@ -1 +0,0 @@
{{#array_of_strings}}{{.}} {{/array_of_strings}}

+ 0
- 1
examples/array_of_strings.js Прегледај датотеку

@@ -1 +0,0 @@
var array_of_strings = {array_of_strings: ['hello', 'world']};

+ 0
- 1
examples/array_of_strings.txt Прегледај датотеку

@@ -1 +0,0 @@
hello world

+ 0
- 2
examples/array_of_strings_options.html Прегледај датотеку

@@ -1,2 +0,0 @@
{{%IMPLICIT-ITERATOR iterator=rob}}
{{#array_of_strings_options}}{{rob}} {{/array_of_strings_options}}

+ 0
- 1
examples/array_of_strings_options.js Прегледај датотеку

@@ -1 +0,0 @@
var array_of_strings_options = {array_of_strings_options: ['hello', 'world']};

+ 0
- 1
examples/array_of_strings_options.txt Прегледај датотеку

@@ -1 +0,0 @@
hello world

+ 0
- 4
examples/array_partial.2.html Прегледај датотеку

@@ -1,4 +0,0 @@
Here's a non-sense array of values
{{#array}}
{{.}}
{{/array}}

+ 0
- 1
examples/array_partial.html Прегледај датотеку

@@ -1 +0,0 @@
{{>partial}}

+ 0
- 5
examples/array_partial.js Прегледај датотеку

@@ -1,5 +0,0 @@
var partial_context = {
partial: {
array: ['1', '2', '3', '4']
}
};

+ 0
- 6
examples/array_partial.txt Прегледај датотеку

@@ -1,6 +0,0 @@
Here's a non-sense array of values
1
2
3
4


+ 0
- 1
examples/bug_11_eating_whitespace.html Прегледај датотеку

@@ -1 +0,0 @@
{{tag}} foo

+ 0
- 3
examples/bug_11_eating_whitespace.js Прегледај датотеку

@@ -1,3 +0,0 @@
var bug_11_eating_whitespace = {
tag: "yo"
};

+ 0
- 1
examples/bug_11_eating_whitespace.txt Прегледај датотеку

@@ -1 +0,0 @@
yo foo

+ 0
- 5
examples/bug_46_set_delimiter.html Прегледај датотеку

@@ -1,5 +0,0 @@
{{=[[ ]]=}}
[[#IsMustacheAwesome]]
mustache is awesome.
[[/IsMustacheAwesome]]
[[={{ }}=]]

+ 0
- 3
examples/bug_46_set_delimiter.js Прегледај датотеку

@@ -1,3 +0,0 @@
var bug_46_set_delimiter = {
IsMustacheAwesome: true
};

+ 0
- 1
examples/bug_46_set_delimiter.txt Прегледај датотеку

@@ -1 +0,0 @@
mustache is awesome.

+ 0
- 1
examples/comments.html Прегледај датотеку

@@ -1 +0,0 @@
<h1>{{title}}{{! just something interesting... or not... !}}</h1>

+ 0
- 5
examples/comments.js Прегледај датотеку

@@ -1,5 +0,0 @@
var comments = {
title: function() {
return "A Comedy of Errors";
}
};

+ 0
- 1
examples/comments.txt Прегледај датотеку

@@ -1 +0,0 @@
<h1>A Comedy of Errors</h1>

+ 0
- 16
examples/complex.html Прегледај датотеку

@@ -1,16 +0,0 @@
<h1>{{header}}</h1>
{{#list}}
<ul>
{{#item}}
{{#current}}
<li><strong>{{name}}</strong></li>
{{/current}}
{{#link}}
<li><a href="{{url}}">{{name}}</a></li>
{{/link}}
{{/item}}
</ul>
{{/list}}
{{#empty}}
<p>The list is empty.</p>
{{/empty}}

+ 0
- 19
examples/complex.js Прегледај датотеку

@@ -1,19 +0,0 @@
var complex = {
header: function() {
return "Colors";
},
item: [
{name: "red", current: true, url: "#Red"},
{name: "green", current: false, url: "#Green"},
{name: "blue", current: false, url: "#Blue"}
],
link: function() {
return this["current"] !== true;
},
list: function() {
return this.item.length !== 0;
},
empty: function() {
return this.item.length === 0;
}
};

+ 0
- 6
examples/complex.txt Прегледај датотеку

@@ -1,6 +0,0 @@
<h1>Colors</h1>
<ul>
<li><strong>red</strong></li>
<li><a href="#Green">green</a></li>
<li><a href="#Blue">blue</a></li>
</ul>

+ 0
- 7
examples/delimiters.html Прегледај датотеку

@@ -1,7 +0,0 @@
{{=<% %>=}}*
<% first %>
* <% second %>
<%=| |=%>
* | third |
|={{ }}=|
* {{ fourth }}

+ 0
- 6
examples/delimiters.js Прегледај датотеку

@@ -1,6 +0,0 @@
var delimiters = {
first: "It worked the first time.",
second: "And it worked the second time.",
third: "Then, surprisingly, it worked the third time.",
fourth: "Fourth time also fine!."
}

+ 0
- 2
examples/delimiters.partial.txt Прегледај датотеку

@@ -1,2 +0,0 @@
{{text}}
{{text}}

+ 0
- 5
examples/delimiters.txt Прегледај датотеку

@@ -1,5 +0,0 @@
*
It worked the first time.
* And it worked the second time.
* Then, surprisingly, it worked the third time.
* Fourth time also fine!.

+ 0
- 3
examples/delimiters_partial.2.html Прегледај датотеку

@@ -1,3 +0,0 @@
{{=[[ ]]=}}
{{text}}
[[={{ }}=]]

+ 0
- 3
examples/delimiters_partial.html Прегледај датотеку

@@ -1,3 +0,0 @@
{{#enumerate}}
{{>partial}}
{{/enumerate}}

+ 0
- 3
examples/delimiters_partial.js Прегледај датотеку

@@ -1,3 +0,0 @@
var partial_context = {
enumerate: [ {text: 'A'}, {text: 'B'} ]
}

+ 0
- 1
examples/empty_partial.2.html Прегледај датотеку

@@ -1 +0,0 @@
yo

+ 0
- 2
examples/empty_partial.html Прегледај датотеку

@@ -1,2 +0,0 @@
hey {{foo}}
{{>partial}}

+ 0
- 3
examples/empty_partial.js Прегледај датотеку

@@ -1,3 +0,0 @@
var partial_context = {
foo: 1
};

+ 0
- 2
examples/empty_partial.txt Прегледај датотеку

@@ -1,2 +0,0 @@
hey 1
yo

+ 0
- 1
examples/empty_template.html Прегледај датотеку

@@ -1 +0,0 @@
<html><head></head><body><h1>Test</h1></body></html>

+ 0
- 1
examples/empty_template.js Прегледај датотеку

@@ -1 +0,0 @@
var empty_template = {};

+ 0
- 1
examples/empty_template.txt Прегледај датотеку

@@ -1 +0,0 @@
<html><head></head><body><h1>Test</h1></body></html>

+ 0
- 1
examples/error_not_found.html Прегледај датотеку

@@ -1 +0,0 @@
{{foo}}

+ 0
- 1
examples/error_not_found.js Прегледај датотеку

@@ -1 +0,0 @@
var error_not_found = {bar: 2};

+ 0
- 1
examples/error_not_found.txt Прегледај датотеку

@@ -1 +0,0 @@


+ 0
- 2
examples/escaped.html Прегледај датотеку

@@ -1,2 +0,0 @@
<h1>{{title}}</h1>
But not {{entities}}.

+ 0
- 6
examples/escaped.js Прегледај датотеку

@@ -1,6 +0,0 @@
var escaped = {
title: function() {
return "Bear > Shark";
},
entities: "&quot;"
};

+ 0
- 2
examples/escaped.txt Прегледај датотеку

@@ -1,2 +0,0 @@
<h1>Bear &gt; Shark</h1>
But not &quot;.

+ 0
- 1
examples/higher_order_sections.html Прегледај датотеку

@@ -1 +0,0 @@
{{#bolder}}Hi {{name}}.{{/bolder}}

+ 0
- 9
examples/higher_order_sections.js Прегледај датотеку

@@ -1,9 +0,0 @@
var higher_order_sections = {
"name": "Tater",
"helper": "To tinker?",
"bolder": function() {
return function(text, render) {
return "<b>" + render(text) + '</b> ' + this.helper;
}
}
}

+ 0
- 1
examples/higher_order_sections.txt Прегледај датотеку

@@ -1 +0,0 @@
<b>Hi Tater.</b> To tinker?

+ 0
- 2
examples/inverted_section.html Прегледај датотеку

@@ -1,2 +0,0 @@
{{#repo}}<b>{{name}}</b>{{/repo}}
{{^repo}}No repos :({{/repo}}

+ 0
- 3
examples/inverted_section.js Прегледај датотеку

@@ -1,3 +0,0 @@
var inverted_section = {
"repo": []
}

+ 0
- 1
examples/inverted_section.txt Прегледај датотеку

@@ -1 +0,0 @@
No repos :(

+ 0
- 5
examples/nesting.html Прегледај датотеку

@@ -1,5 +0,0 @@
{{#foo}}
{{#a}}
{{b}}
{{/a}}
{{/foo}}

+ 0
- 7
examples/nesting.js Прегледај датотеку

@@ -1,7 +0,0 @@
var nesting = {
foo: [
{a: {b: 1}},
{a: {b: 2}},
{a: {b: 3}}
]
};

+ 0
- 4
examples/nesting.txt Прегледај датотеку

@@ -1,4 +0,0 @@
1
2
3

+ 0
- 5
examples/null_string.html Прегледај датотеку

@@ -1,5 +0,0 @@
Hello {{name}}
glytch {{glytch}}
binary {{binary}}
value {{value}}
numeric {{numeric}}

+ 0
- 9
examples/null_string.js Прегледај датотеку

@@ -1,9 +0,0 @@
var null_string = {
name: "Elise",
glytch: true,
binary: false,
value: null,
numeric: function() {
return NaN;
}
};

+ 0
- 5
examples/null_string.txt Прегледај датотеку

@@ -1,5 +0,0 @@
Hello Elise
glytch true
binary false
value
numeric NaN

+ 0
- 4
examples/partial_recursion.2.html Прегледај датотеку

@@ -1,4 +0,0 @@
{{name}}
{{#children}}
{{>partial}}
{{/children}}

+ 0
- 4
examples/partial_recursion.html Прегледај датотеку

@@ -1,4 +0,0 @@
{{name}}
{{#kids}}
{{>partial}}
{{/kids}}

+ 0
- 11
examples/partial_recursion.js Прегледај датотеку

@@ -1,11 +0,0 @@
var partial_context = {
name: '1',
kids: [
{
name: '1.1',
children: [
{name: '1.1.1'}
]
}
]
};

+ 0
- 3
examples/partial_recursion.txt Прегледај датотеку

@@ -1,3 +0,0 @@
1
1.1
1.1.1

+ 0
- 7
examples/recursion_with_same_names.html Прегледај датотеку

@@ -1,7 +0,0 @@
{{ name }}
{{ description }}

{{#terms}}
{{name}}
{{index}}
{{/terms}}

+ 0
- 8
examples/recursion_with_same_names.js Прегледај датотеку

@@ -1,8 +0,0 @@
var recursion_with_same_names = {
name: 'name',
description: 'desc',
terms: [
{name: 't1', index: 0},
{name: 't2', index: 1},
]
};

+ 0
- 6
examples/recursion_with_same_names.txt Прегледај датотеку

@@ -1,6 +0,0 @@
name
desc
t1
0
t2
1

+ 0
- 8
examples/reuse_of_enumerables.html Прегледај датотеку

@@ -1,8 +0,0 @@
{{#terms}}
{{name}}
{{index}}
{{/terms}}
{{#terms}}
{{name}}
{{index}}
{{/terms}}

+ 0
- 6
examples/reuse_of_enumerables.js Прегледај датотеку

@@ -1,6 +0,0 @@
var reuse_of_enumerables = {
terms: [
{name: 't1', index: 0},
{name: 't2', index: 1},
]
};

+ 0
- 8
examples/reuse_of_enumerables.txt Прегледај датотеку

@@ -1,8 +0,0 @@
t1
0
t2
1
t1
0
t2
1

+ 0
- 9
examples/section_as_context.html Прегледај датотеку

@@ -1,9 +0,0 @@
{{#a_object}}
<h1>{{title}}</h1>
<p>{{description}}</p>
<ul>
{{#a_list}}
<li>{{label}}</li>
{{/a_list}}
</ul>
{{/a_object}}

+ 0
- 7
examples/section_as_context.js Прегледај датотеку

@@ -1,7 +0,0 @@
var section_as_context = {
a_object: {
title: 'this is an object',
description: 'one of its attributes is a list',
a_list: [{label: 'listitem1'}, {label: 'listitem2'}]
}
};

+ 0
- 6
examples/section_as_context.txt Прегледај датотеку

@@ -1,6 +0,0 @@
<h1>this is an object</h1>
<p>one of its attributes is a list</p>
<ul>
<li>listitem1</li>
<li>listitem2</li>
</ul>

+ 0
- 5
examples/simple.html Прегледај датотеку

@@ -1,5 +0,0 @@
Hello {{name}}
You have just won ${{value}}!
{{#in_ca}}
Well, ${{ taxed_value }}, after taxes.
{{/in_ca}}

+ 0
- 8
examples/simple.js Прегледај датотеку

@@ -1,8 +0,0 @@
var simple = {
name: "Chris",
value: 10000,
taxed_value: function() {
return this.value - (this.value * 0.4);
},
in_ca: true
};

+ 0
- 3
examples/simple.txt Прегледај датотеку

@@ -1,3 +0,0 @@
Hello Chris
You have just won $10000!
Well, $6000, after taxes.

+ 0
- 1
examples/template_partial.2.html Прегледај датотеку

@@ -1 +0,0 @@
Again, {{again}}!

+ 0
- 2
examples/template_partial.html Прегледај датотеку

@@ -1,2 +0,0 @@
<h1>{{title}}</h1>
{{>partial}}

+ 0
- 8
examples/template_partial.js Прегледај датотеку

@@ -1,8 +0,0 @@
var partial_context = {
title: function() {
return "Welcome";
},
partial: {
again: "Goodbye"
}
}

+ 0
- 2
examples/template_partial.txt Прегледај датотеку

@@ -1,2 +0,0 @@
<h1>Welcome</h1>
Again, Goodbye!

+ 0
- 1
examples/two_in_a_row.html Прегледај датотеку

@@ -1 +0,0 @@
{{greeting}}, {{name}}!

+ 0
- 4
examples/two_in_a_row.js Прегледај датотеку

@@ -1,4 +0,0 @@
var two_in_a_row = {
name: "Joe",
greeting: "Welcome"
};

+ 0
- 1
examples/two_in_a_row.txt Прегледај датотеку

@@ -1 +0,0 @@
Welcome, Joe!

+ 0
- 1
examples/unescaped.html Прегледај датотеку

@@ -1 +0,0 @@
<h1>{{{title}}}</h1>

+ 0
- 5
examples/unescaped.js Прегледај датотеку

@@ -1,5 +0,0 @@
var unescaped = {
title: function() {
return "Bear > Shark";
}
};

+ 0
- 1
examples/unescaped.txt Прегледај датотеку

@@ -1 +0,0 @@
<h1>Bear > Shark</h1>

+ 0
- 1
examples/unescaped_ampersand.html Прегледај датотеку

@@ -1 +0,0 @@
<h1>{{&title}}</h1>

+ 0
- 5
examples/unescaped_ampersand.js Прегледај датотеку

@@ -1,5 +0,0 @@
var unescaped_ampersand = {
title: function() {
return "Bear > Shark";
}
};

+ 0
- 1
examples/unescaped_ampersand.txt Прегледај датотеку

@@ -1 +0,0 @@
<h1>Bear > Shark</h1>

+ 0
- 1
examples/unknown_pragma.html Прегледај датотеку

@@ -1 +0,0 @@
{{%I-HAVE-THE-GREATEST-MUSTACHE}}

+ 0
- 1
examples/unknown_pragma.js Прегледај датотеку

@@ -1 +0,0 @@
var unknown_pragma = {};

+ 0
- 1
examples/unknown_pragma.txt Прегледај датотеку

@@ -1 +0,0 @@
ERROR: This implementation of mustache doesn't understand the 'I-HAVE-THE-GREATEST-MUSTACHE' pragma

Неке датотеке нису приказане због велике количине промена

Loading…
Откажи
Сачувај