<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>Anonymous function</Title>
      <Shortcut>f</Shortcut>
      <Description>Define an anonymous function without parameter</Description>
      <Author>Jeremie Corpinot</Author>
      <SnippetTypes>
        <!-- snippet types -->
        <SnippetType>Expansion</SnippetType>
      </SnippetTypes>
    </Header>
    <Snippet>
      <Declarations>
        <Literal>
          <ID>params</ID>
          <ToolTip>Set the parameters values</ToolTip>
          <Default>params</Default>
        </Literal>
        <Literal>
          <ID>body</ID>
          <ToolTip>Write the function's body</ToolTip>
          <Default>// body</Default>
        </Literal>
      </Declarations>
      <Code Language="javascript">
        <![CDATA[function ($params$) {
          $body$
            }$end$]]>
      </Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>