Skip to content

Commit efe9458

Browse files
committed
- fix a log message
- update version -update generated documentation
1 parent 70e5789 commit efe9458

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+230
-230
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "monoco",
3-
"version": "0.3.5",
3+
"version": "0.3.6",
44
"description": "A Model and a NoSQL Database for Componentsk",
55
"license": "GPLv3",
66
"homepage": "https://github.com/monocojs/monoco.git",

build/monoco-min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/monoco.js

Lines changed: 48 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/monoco.json

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "monoco",
3-
"version": "0.3.5",
3+
"version": "0.3.6",
44
"description": "A Model and a NoSQL Database for Components",
55
"_id": "e89c617b6b15d24",
66
"schemas": {
@@ -739,167 +739,167 @@
739739
"action": "function ready() { var systems = [], system = null, i = 0, length = 0; if (typeof document !== 'undefined') { systems = document.querySelectorAll('link[rel=system]'); length = systems.length; for (i = 0; i < length; i++) { system = systems[i]; this.load(system.href, false); this.systemLoaded();} } }",
740740
"core": true
741741
},
742-
"1db2d1b4e619242": {
743-
"_id": "1db2d1b4e619242",
742+
"1a2571ba121ac15": {
743+
"_id": "1a2571ba121ac15",
744744
"component": "Monoco",
745745
"state": "error",
746746
"action": "function error(data) { console.error('monoco: ' + data.message, data.error); }",
747747
"core": true
748748
},
749-
"1eb721fcf912afe": {
750-
"_id": "1eb721fcf912afe",
749+
"13ad61d511182d8": {
750+
"_id": "13ad61d511182d8",
751751
"component": "Monoco",
752752
"state": "find",
753753
"action": "function find(Class, query) { return $component.find(Class, query);}",
754754
"core": true,
755755
"useCoreAPI": true
756756
},
757-
"102c714a641ecaa": {
758-
"_id": "102c714a641ecaa",
757+
"1b740153bb1c9f3": {
758+
"_id": "1b740153bb1c9f3",
759759
"component": "Monoco",
760760
"state": "system",
761761
"action": "function system(name) { var System = null, system = {}, result = [], conf = {}; if (name) { conf.master = true; conf.name = name; System = this.require('MonocoSystem'); system = new System(conf); } else { result = this.find('MonocoSystem', {'master': true}); if (result.length) { system = result[0]; } } return system; }",
762762
"core": true
763763
},
764-
"1e7271a8c314756": {
765-
"_id": "1e7271a8c314756",
764+
"1016b16eda176ff": {
765+
"_id": "1016b16eda176ff",
766766
"component": "Monoco",
767767
"state": "warning",
768768
"action": "function warning(message) { console.warn('monoco: ' + message); }",
769769
"core": true
770770
},
771-
"110a41de0815dab": {
772-
"_id": "110a41de0815dab",
771+
"1ee871f3541c155": {
772+
"_id": "1ee871f3541c155",
773773
"component": "MonocoChannel",
774774
"state": "listen",
775775
"action": "function listen(event, action) { $channel.listen(event, action); }",
776776
"core": true,
777777
"useCoreAPI": true
778778
},
779-
"128b312af1127aa": {
780-
"_id": "128b312af1127aa",
779+
"1180d1edd513769": {
780+
"_id": "1180d1edd513769",
781781
"component": "MonocoChannel",
782782
"state": "send",
783783
"action": "function send(message) { return $channel.send(message); }",
784784
"core": true,
785785
"useCoreAPI": true
786786
},
787-
"1396313e9214352": {
788-
"_id": "1396313e9214352",
787+
"16019167ec1ef37": {
788+
"_id": "16019167ec1ef37",
789789
"component": "MonocoClassInfo",
790790
"state": "event",
791791
"action": "function event(name) { var result = {}; if (this.metamodel()[name] === 'event') { result = this.model()[name]; } return result; }",
792792
"core": true
793793
},
794-
"15184191c9112e3": {
795-
"_id": "15184191c9112e3",
794+
"101d01a2831e924": {
795+
"_id": "101d01a2831e924",
796796
"component": "MonocoClassInfo",
797797
"state": "events",
798798
"action": "function events() { var keys = Object.keys(this.metamodel()), item = '', result = [], i = 0, length = 0; length = keys.length; for (i = 0; i < length; i++) { item = keys[i]; if (this.metamodel()[item] === 'event') { result.push(item); } } return result; }",
799799
"core": true
800800
},
801-
"145a91494d13499": {
802-
"_id": "145a91494d13499",
801+
"17ff31211413841": {
802+
"_id": "17ff31211413841",
803803
"component": "MonocoClassInfo",
804804
"state": "method",
805805
"action": "function method(name) { var result = {}; if (this.metamodel()[name] === 'method') { result = this.model()[name]; } return result; }",
806806
"core": true
807807
},
808-
"171691267319632": {
809-
"_id": "171691267319632",
808+
"160da138491adaa": {
809+
"_id": "160da138491adaa",
810810
"component": "MonocoClassInfo",
811811
"state": "methods",
812812
"action": "function methods() { var keys = Object.keys(this.metamodel()), item = '', result = [], i = 0, length = 0; length = keys.length; for (i = 0; i < length; i++) { item = keys[i]; if (this.metamodel()[item] === 'method') { result.push(item); } } return result; }",
813813
"core": true
814814
},
815-
"1d1aa1c14a1fd7f": {
816-
"_id": "1d1aa1c14a1fd7f",
815+
"1031b1daa712b24": {
816+
"_id": "1031b1daa712b24",
817817
"component": "MonocoClassInfo",
818818
"state": "properties",
819819
"action": "function properties() { var keys = Object.keys(this.metamodel()), item = '', result = [], i = 0, length = 0; length = keys.length; for (i = 0; i < length; i++) { item = keys[i]; if (this.metamodel()[item] === 'property') { result.push(item); } } return result; }",
820820
"core": true
821821
},
822-
"17c03118d1180c5": {
823-
"_id": "17c03118d1180c5",
822+
"1919b134c21f41b": {
823+
"_id": "1919b134c21f41b",
824824
"component": "MonocoClassInfo",
825825
"state": "property",
826826
"action": "function property(name) { var result = {}; if (this.metamodel()[name] === 'property') { result = this.model()[name]; } return result; }",
827827
"core": true
828828
},
829-
"1749013e771cc97": {
830-
"_id": "1749013e771cc97",
829+
"109f01980019ac5": {
830+
"_id": "109f01980019ac5",
831831
"component": "MonocoComponent",
832832
"state": "destroy",
833833
"action": "function destroy() { $component.destroy(this.id()); }",
834834
"core": true,
835835
"useCoreAPI": true
836836
},
837-
"177a11340c12de7": {
838-
"_id": "177a11340c12de7",
837+
"172061096d1ed18": {
838+
"_id": "172061096d1ed18",
839839
"component": "MonocoComponent",
840840
"state": "off",
841841
"action": "function off(state, behaviorId) { var args = [], i = 0, length = 0; length = arguments.length; for (i = 0; i < length - 7; i++) { args.push(arguments[i]); } if ($workflow.checkParams({\"component\": this, \"methodName\": \"off\", \"args\": args})) { if ($metamodel.isValidState(state, this.constructor.name)) {$behavior.remove({\"behaviorId\": behaviorId, \"componentId\": this.id(), \"state\": state}); } else { $helper.getMonoco().warning({ \"message\":\"invoke 'off' method of component '\" + this.id() + \"' with an invalid state '\" + state + \"'\"}); } } }",
842842
"core": true,
843843
"useCoreAPI": true
844844
},
845-
"1840a1da96191a6": {
846-
"_id": "1840a1da96191a6",
845+
"180b810fd31a7d7": {
846+
"_id": "180b810fd31a7d7",
847847
"component": "MonocoComponent",
848848
"state": "require",
849849
"action": "function require(id) { return $component.get(id); }",
850850
"core": true,
851851
"useCoreAPI": true
852852
},
853-
"176d81187419117": {
854-
"_id": "176d81187419117",
853+
"13de01c0ac1c66c": {
854+
"_id": "13de01c0ac1c66c",
855855
"component": "MonocoDatabase",
856856
"state": "subsystem",
857857
"action": "function subsystem(params) { return $db.subsystem(params); }",
858858
"core": true,
859859
"useCoreAPI": true
860860
},
861-
"161881d4fc1b2ad": {
862-
"_id": "161881d4fc1b2ad",
861+
"158a4149771efce": {
862+
"_id": "158a4149771efce",
863863
"component": "MonocoDatabase",
864864
"state": "system",
865865
"action": "function system(system) { return $db.system(system); }",
866866
"core": true,
867867
"useCoreAPI": true
868868
},
869-
"1e9ef11e601639a": {
870-
"_id": "1e9ef11e601639a",
869+
"113891a8c61e278": {
870+
"_id": "113891a8c61e278",
871871
"component": "MonocoMetamodel",
872872
"state": "create",
873873
"action": "function create() { $metamodel.create(); }",
874874
"core": true,
875875
"useCoreAPI": true
876876
},
877-
"17bd2144571287d": {
878-
"_id": "17bd2144571287d",
877+
"14686121eb11ab5": {
878+
"_id": "14686121eb11ab5",
879879
"component": "MonocoMetamodel",
880880
"state": "schema",
881881
"action": "function schema(schema) { $metamodel.schema(schema); }",
882882
"core": true,
883883
"useCoreAPI": true
884884
},
885-
"1156b1d5d511ead": {
886-
"_id": "1156b1d5d511ead",
885+
"15b0a14c3c1a01e": {
886+
"_id": "15b0a14c3c1a01e",
887887
"component": "MonocoMetamodel",
888888
"state": "type",
889889
"action": "function type(type) { $metamodel.type(type); }",
890890
"core": true,
891891
"useCoreAPI": true
892892
},
893-
"1d62c163391a350": {
894-
"_id": "1d62c163391a350",
893+
"1129f153e410a95": {
894+
"_id": "1129f153e410a95",
895895
"component": "MonocoSystem",
896896
"state": "sync",
897897
"action": "function sync() { var dump = $db.dump(); this.schemas(dump.schemas); this.types(dump.types); this.behaviors(dump.behaviors); this.components(dump.components); }",
898898
"core": true,
899899
"useCoreAPI": true
900900
},
901-
"12cfa18e43188ed": {
902-
"_id": "12cfa18e43188ed",
901+
"16cd91702c1d305": {
902+
"_id": "16cd91702c1d305",
903903
"component": "e89c617b6b15d24",
904904
"state": "main",
905905
"action": "function main() { var monoco = $component.get('monoco'); monoco.ready(); }",
@@ -911,7 +911,7 @@
911911
"Monoco": {
912912
"monoco": {
913913
"_id": "monoco",
914-
"version": "0.3.5"
914+
"version": "0.3.6"
915915
}
916916
},
917917
"MonocoChannel": {

0 commit comments

Comments
 (0)