Skip to content

Commit d44fa8e

Browse files
committed
added snippet-manager sample code
1 parent 2bf879c commit d44fa8e

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

dist/breinify-snippet-manager.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@
1010
}
1111

1212
const $ = Breinify.UTL._jquery();
13-
const _private = {
14-
15-
};
13+
const _private = {};
1614

1715
const SnippetManager = {
1816

17+
registerSnippet: function (snippetId, snippet) {
18+
console.log('registerSnippet' + snippetId, snippet);
19+
}
1920
};
2021

2122
// bind the module

dist/breinify-snippet-manager.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/plugins/SnippetManager.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@
1010
}
1111

1212
const $ = Breinify.UTL._jquery();
13-
const _private = {
14-
15-
};
13+
const _private = {};
1614

1715
const SnippetManager = {
1816

17+
registerSnippet: function (snippetId, snippet) {
18+
console.log('registerSnippet' + snippetId, snippet);
19+
}
1920
};
2021

2122
// bind the module

0 commit comments

Comments
 (0)