Permalink
Browse files

Update auxiliary files to v0.4.0

  • Loading branch information...
1 parent 551c447 commit 7a284200ba1108a83b1e2780844ba302df428852 @pismute pismute committed Sep 13, 2012
Showing with 38 additions and 11 deletions.
  1. +2 −2 docs-ko/client/docs.html
  2. +36 −9 docs-ko/client/docs.js
View
@@ -11,7 +11,7 @@
</div>
<div id="main">
<div id="top"></div>
- <h2 class="main-headline">Meteor 0.3.8</h1>
+ <h1 class="main-headline">Meteor 0.4.0</h1>
{{> introduction }}
{{> concepts }}
{{> api }}
@@ -28,7 +28,7 @@ <h2 class="main-headline">Meteor 0.3.8</h1>
{{/if}}
{{#if type "section"}}
<h{{depth}}><a href="#{{id}}" class="{{maybe_current}} {{style}}">
- {{#if instance}}<i>{{instance}}</i>.{{/if}}{{name}}
+ {{#if prefix}}{{prefix}}.{{/if}}{{#if instance}}<i>{{instance}}</i>.{{/if}}{{name}}
</a></h{{depth}}>
{{/if}}
{{/each}}
View
@@ -1,4 +1,4 @@
-METEOR_VERSION = "0.3.8";
+METEOR_VERSION = "0.4.0";
Meteor.startup(function () {
// XXX this is broken by the new multi-page layout. Also, it was
@@ -143,14 +143,29 @@ var toc = [
"Session.equals"
],
- "Meteor.ui", [
- "Meteor.ui.render",
- "Meteor.ui.chunk",
- "Meteor.ui.listChunk",
- "Meteor.flush",
+ {name: "Templates", id: "templates_api"}, [
+ {prefix: "Template", instance: "myTemplate", id: "template_call"}, [
+ {name: "rendered", id: "template_rendered"},
+ {name: "created", id: "template_created"},
+ {name: "destroyed", id: "template_destroyed"},
+ {name: "events", id: "template_events"},
+ {name: "helpers", id: "template_helpers"},
+ {name: "preserve", id: "template_preserve"}
+ ],
+ {name: "Template instances", id: "template_inst"}, [
+ {instance: "this", name: "findAll", id: "template_findAll"},
+ {instance: "this", name: "find", id: "template_find"},
+ {instance: "this", name: "firstNode", id: "template_firstNode"},
+ {instance: "this", name: "lastNode", id: "template_lastNode"},
+ {instance: "this", name: "data", id: "template_data"}
+ ],
+ "Meteor.render",
+ "Meteor.renderList",
{type: "spacer"},
- {name: "Event maps", style: "noncode"}
- ],
+ {name: "Event maps", style: "noncode"},
+ {name: "Constant regions", style: "noncode", id: "constant"},
+ {name: "Reactivity isolation", style: "noncode", id: "isolate"}
+ ],
"Timers", [
"Meteor.setTimeout",
@@ -165,7 +180,8 @@ var toc = [
{instance: "context", name: "on_invalidate"},
{instance: "context", name: "invalidate"}
],
- {name: "Meteor.deps.Context.current", id: "current"}
+ {name: "Meteor.deps.Context.current", id: "current"},
+ "Meteor.flush"
// ],
// "Environment Variables", [
@@ -186,6 +202,7 @@ var toc = [
],
"Packages", [ [
+ "absolute-url",
"amplify",
"backbone",
"bootstrap",
@@ -194,6 +211,7 @@ var toc = [
"jquery",
"less",
"sass",
+ "spiderable",
"stylus",
"showdown",
"underscore"
@@ -319,6 +337,13 @@ Handlebars.registerHelper('better_markdown', function(fn) {
return result;
};
+ // This is a tower of terrible hacks.
+ // Replace Spark annotations <$...> ... </$...> with HTML comments, and
+ // space out the comments on their own lines. This keeps them from
+ // interfering with Markdown's paragraph parsing.
+ // Really, running Markdown multiple times on the same string is just a
+ // bad idea.
+ input = input.replace(/<(\/?\$.*?)>/g, '<!--$1-->');
input = input.replace(/<!--.*?-->/g, '\n\n$&\n\n');
var hashedBlocks = {};
@@ -368,6 +393,8 @@ Handlebars.registerHelper('better_markdown', function(fn) {
return hashedBlocks[a];
});
+ output = output.replace(/<!--(\/?\$.*?)-->/g, '<$1>');
+
return output;
});

0 comments on commit 7a28420

Please sign in to comment.