acoustic-line
Advanced tools
Comparing version 1.8.1 to 1.9.0
@@ -9,6 +9,6 @@ doctypes = | ||
# requiring a closing tag | ||
regular: 'document section configuration settings modules list global_settings profiles profile context extension condition mappings language macro match input macros params gateway gateways fifos fifo' | ||
regular: 'document section configuration settings modules list global_settings profiles profile context extension condition mappings language macro match input macros params gateway gateways fifos fifo callerControls group' | ||
# self-closing | ||
void: 'param load node action map' | ||
void: 'param load node action map control' | ||
@@ -15,0 +15,0 @@ Create a unique list of element names merging the desired groups. |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.10.0 | ||
// Generated by CoffeeScript 1.12.2 | ||
(function() { | ||
@@ -13,4 +13,4 @@ var AcousticLine, decamelcaseify, doctypes, elements, fn, fn1, i, j, len, len1, merge_elements, ref, ref1, tagName, | ||
elements = { | ||
regular: 'document section configuration settings modules list global_settings profiles profile context extension condition mappings language macro match input macros params gateway gateways fifos fifo', | ||
"void": 'param load node action map' | ||
regular: 'document section configuration settings modules list global_settings profiles profile context extension condition mappings language macro match input macros params gateway gateways fifos fifo callerControls group', | ||
"void": 'param load node action map control' | ||
}; | ||
@@ -17,0 +17,0 @@ |
{ | ||
"name": "acoustic-line", | ||
"version": "1.8.1", | ||
"version": "1.9.0", | ||
"description": "CoffeeScript templating for FreeSwitch XML", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -22,3 +22,3 @@ {expect} = require 'chai' | ||
it 'simple document', -> | ||
{render,doctype,document,section,configuration,settings,param,modules,load,network_lists,list,node,global_settings,profiles,profile,context,extension,condition,action,anti_action,language,macros,macro,input,match} = require '../index' | ||
{render,doctype,document,section,configuration,settings,param,modules,load,network_lists,list,node,global_settings,profiles,profile,context,extension,condition,action,anti_action,language,macros,macro,input,match,callerControls,group,control} = require '../index' | ||
expect render -> | ||
@@ -67,2 +67,6 @@ doctype() | ||
param 'username', value:'example freeswitch' | ||
configuration name:'conference.conf', -> | ||
callerControls -> | ||
group name:'default', -> | ||
control action:'mute', digits:0 | ||
section 'dialplan', -> | ||
@@ -146,2 +150,9 @@ context name:'default', -> | ||
</configuration> | ||
<configuration name="conference.conf"> | ||
<caller-controls> | ||
<group name="default"> | ||
<control action="mute" digits="0"/> | ||
</group> | ||
</caller-controls> | ||
</configuration> | ||
</section> | ||
@@ -148,0 +159,0 @@ <section name="dialplan"> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28855