Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
backbone-adapter-javascript
Commits
825abec3
Commit
825abec3
authored
5 months ago
by
Trishna Saeharaseelan
Browse files
Options
Download
Email Patches
Plain Diff
fix: rebuilt dist protocols
parent
a4334a2e
dev
master
v1.0.0
2 merge requests
!21
Release v1.0.0
,
!19
fix: rebuilt dist protocols
Pipeline
#242796
passed with stages
in 3 minutes and 28 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dist/protocol.esm.js
dist/protocol.esm.js
+1
-1
dist/protocol.js
dist/protocol.js
+1
-1
No files found.
dist/protocol.esm.js
View file @
825abec3
...
...
@@ -125,7 +125,7 @@ class GenericSoarProtocol extends GenericProtocol {
* @returns {object}
*/
createValidator
(
schema
)
{
if
(
typeof
schema
===
'
string
'
&&
schema
.
match
(
/^
[\w
.
]
+$/
))
{
if
(
typeof
schema
===
'
string
'
&&
schema
.
match
(
/^
[\w
.
-
]
+$/
))
{
this
.
loadSchema
(
schema
).
then
((
schema
)
=>
{
this
.
validator
=
new
Validator
(
schema
);
});
...
...
This diff is collapsed.
Click to expand it.
dist/protocol.js
View file @
825abec3
...
...
@@ -127,7 +127,7 @@ class GenericSoarProtocol extends GenericProtocol {
* @returns {object}
*/
createValidator
(
schema
)
{
if
(
typeof
schema
===
'
string
'
&&
schema
.
match
(
/^
[\w
.
]
+$/
))
{
if
(
typeof
schema
===
'
string
'
&&
schema
.
match
(
/^
[\w
.
-
]
+$/
))
{
this
.
loadSchema
(
schema
).
then
((
schema
)
=>
{
this
.
validator
=
new
Validator
(
schema
);
});
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment