Skip to content

Commit aeb726d

Browse files
author
Erwan Carriou
committed
- update version to 0.5.5
1 parent 4683ef5 commit aeb726d

Some content is hidden

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

43 files changed

+435
-436
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.5.3",
3+
"version": "0.5.5",
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: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/monoco.js

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

build/monoco.json

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "monoco",
3-
"version": "0.5.3",
3+
"version": "0.5.5",
44
"description": "A Model and a NoSQL Database for Components",
55
"_id": "e89c617b6b15d24",
66
"schemas": {
@@ -773,181 +773,181 @@
773773
"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]; if (system.getAttribute('async') === 'true') { this.load(system.href, true); } else { this.load(system.href, false); } } }}",
774774
"core": true
775775
},
776-
"1d75f1f9691dbd5": {
777-
"_id": "1d75f1f9691dbd5",
776+
"16dcb1fce31e59f": {
777+
"_id": "16dcb1fce31e59f",
778778
"component": "Monoco",
779779
"state": "error",
780780
"action": "function error(data) { console.error('monoco: ' + data.message, data.error); }",
781781
"core": true
782782
},
783-
"1a43f1f22a195b5": {
784-
"_id": "1a43f1f22a195b5",
783+
"160c11702716ac1": {
784+
"_id": "160c11702716ac1",
785785
"component": "Monoco",
786786
"state": "find",
787787
"action": "function find(Class, query) { return $component.find(Class, query);}",
788788
"core": true,
789789
"useCoreAPI": true
790790
},
791-
"1301a1999816801": {
792-
"_id": "1301a1999816801",
791+
"119661076a13c3f": {
792+
"_id": "119661076a13c3f",
793793
"component": "Monoco",
794794
"state": "system",
795795
"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; }",
796796
"core": true
797797
},
798-
"1da34136b319baa": {
799-
"_id": "1da34136b319baa",
798+
"14ef0189bc16a3e": {
799+
"_id": "14ef0189bc16a3e",
800800
"component": "Monoco",
801801
"state": "warning",
802802
"action": "function warning(message) { console.warn('monoco: ' + message); }",
803803
"core": true
804804
},
805-
"130aa1c1d1174c2": {
806-
"_id": "130aa1c1d1174c2",
805+
"199e51f0641fccc": {
806+
"_id": "199e51f0641fccc",
807807
"component": "MonocoChannel",
808808
"state": "listen",
809809
"action": "function listen(event, action) { $channel.listen(event, action); }",
810810
"core": true,
811811
"useCoreAPI": true
812812
},
813-
"1418c1ca9a18ca0": {
814-
"_id": "1418c1ca9a18ca0",
813+
"1a0521c38e1a781": {
814+
"_id": "1a0521c38e1a781",
815815
"component": "MonocoChannel",
816816
"state": "send",
817817
"action": "function send(message) { return $channel.send(message); }",
818818
"core": true,
819819
"useCoreAPI": true
820820
},
821-
"1e11d17e321edb6": {
822-
"_id": "1e11d17e321edb6",
821+
"1756713bbb19f97": {
822+
"_id": "1756713bbb19f97",
823823
"component": "MonocoClassInfo",
824824
"state": "collection",
825825
"action": "function collection(name) { var result = {}; if (this.metamodel()[name] === 'collection') { result = this.model()[name]; } return result; }",
826826
"core": true
827827
},
828-
"1af251e24c103a1": {
829-
"_id": "1af251e24c103a1",
828+
"169de1db9d1df01": {
829+
"_id": "169de1db9d1df01",
830830
"component": "MonocoClassInfo",
831831
"state": "collections",
832832
"action": "function collections() { 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] === 'collection') { result.push(item); } } return result; }",
833833
"core": true
834834
},
835-
"1461a1c6dd1b848": {
836-
"_id": "1461a1c6dd1b848",
835+
"1039c1e04a1830b": {
836+
"_id": "1039c1e04a1830b",
837837
"component": "MonocoClassInfo",
838838
"state": "event",
839839
"action": "function event(name) { var result = {}; if (this.metamodel()[name] === 'event') { result = this.model()[name]; } return result; }",
840840
"core": true
841841
},
842-
"102ba1d1dc1891e": {
843-
"_id": "102ba1d1dc1891e",
842+
"1f2b4106bd13c49": {
843+
"_id": "1f2b4106bd13c49",
844844
"component": "MonocoClassInfo",
845845
"state": "events",
846846
"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; }",
847847
"core": true
848848
},
849-
"180e11627c1d8eb": {
850-
"_id": "180e11627c1d8eb",
849+
"1188a1a3191c250": {
850+
"_id": "1188a1a3191c250",
851851
"component": "MonocoClassInfo",
852852
"state": "method",
853853
"action": "function method(name) { var result = {}; if (this.metamodel()[name] === 'method') { result = this.model()[name]; } return result; }",
854854
"core": true
855855
},
856-
"179801c5fb1c2fb": {
857-
"_id": "179801c5fb1c2fb",
856+
"1fdc911e5619f59": {
857+
"_id": "1fdc911e5619f59",
858858
"component": "MonocoClassInfo",
859859
"state": "methods",
860860
"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; }",
861861
"core": true
862862
},
863-
"1b54e18aeb10298": {
864-
"_id": "1b54e18aeb10298",
863+
"1182e117dc1151a": {
864+
"_id": "1182e117dc1151a",
865865
"component": "MonocoClassInfo",
866866
"state": "properties",
867867
"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; }",
868868
"core": true
869869
},
870-
"14a541768d11b26": {
871-
"_id": "14a541768d11b26",
870+
"13b81158c31c77a": {
871+
"_id": "13b81158c31c77a",
872872
"component": "MonocoClassInfo",
873873
"state": "property",
874874
"action": "function property(name) { var result = {}; if (this.metamodel()[name] === 'property') { result = this.model()[name]; } return result; }",
875875
"core": true
876876
},
877-
"1f4741d38514c8d": {
878-
"_id": "1f4741d38514c8d",
877+
"183f9147f71ea63": {
878+
"_id": "183f9147f71ea63",
879879
"component": "MonocoComponent",
880880
"state": "destroy",
881881
"action": "function destroy() { $component.destroy(this.id()); }",
882882
"core": true,
883883
"useCoreAPI": true
884884
},
885-
"157671c45f1d95d": {
886-
"_id": "157671c45f1d95d",
885+
"158931960d18e9f": {
886+
"_id": "158931960d18e9f",
887887
"component": "MonocoComponent",
888888
"state": "off",
889889
"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 + \"'\"}); } } }",
890890
"core": true,
891891
"useCoreAPI": true
892892
},
893-
"15dfd10478113ad": {
894-
"_id": "15dfd10478113ad",
893+
"14d1512fb917997": {
894+
"_id": "14d1512fb917997",
895895
"component": "MonocoComponent",
896896
"state": "require",
897897
"action": "function require(id) { return $component.get(id); }",
898898
"core": true,
899899
"useCoreAPI": true
900900
},
901-
"170cc156c81793b": {
902-
"_id": "170cc156c81793b",
901+
"100851374c107f1": {
902+
"_id": "100851374c107f1",
903903
"component": "MonocoDatabase",
904904
"state": "subsystem",
905905
"action": "function subsystem(params) { return $db.subsystem(params); }",
906906
"core": true,
907907
"useCoreAPI": true
908908
},
909-
"1648d1563a1de03": {
910-
"_id": "1648d1563a1de03",
909+
"1e8bc1557213f16": {
910+
"_id": "1e8bc1557213f16",
911911
"component": "MonocoDatabase",
912912
"state": "system",
913913
"action": "function system(system) { return $db.system(system); }",
914914
"core": true,
915915
"useCoreAPI": true
916916
},
917-
"10c2d155f4140d9": {
918-
"_id": "10c2d155f4140d9",
917+
"119291f92014c23": {
918+
"_id": "119291f92014c23",
919919
"component": "MonocoMetamodel",
920920
"state": "create",
921921
"action": "function create() { $metamodel.create(); }",
922922
"core": true,
923923
"useCoreAPI": true
924924
},
925-
"1d9301ad441bf52": {
926-
"_id": "1d9301ad441bf52",
925+
"1d3b919d531dc7b": {
926+
"_id": "1d3b919d531dc7b",
927927
"component": "MonocoMetamodel",
928928
"state": "schema",
929929
"action": "function schema(schema) { $metamodel.schema(schema); }",
930930
"core": true,
931931
"useCoreAPI": true
932932
},
933-
"16c6112d19123b1": {
934-
"_id": "16c6112d19123b1",
933+
"1d3781a5f11f247": {
934+
"_id": "1d3781a5f11f247",
935935
"component": "MonocoMetamodel",
936936
"state": "type",
937937
"action": "function type(type) { $metamodel.type(type); }",
938938
"core": true,
939939
"useCoreAPI": true
940940
},
941-
"1a9a41cd1714603": {
942-
"_id": "1a9a41cd1714603",
941+
"1ac2b16cd8155d9": {
942+
"_id": "1ac2b16cd8155d9",
943943
"component": "MonocoSystem",
944944
"state": "sync",
945945
"action": "function sync() { var dump = $db.dump(); this.schemas(dump.schemas); this.types(dump.types); this.behaviors(dump.behaviors); this.components(dump.components); }",
946946
"core": true,
947947
"useCoreAPI": true
948948
},
949-
"1955216597188d9": {
950-
"_id": "1955216597188d9",
949+
"1d492121411dbe6": {
950+
"_id": "1d492121411dbe6",
951951
"component": "e89c617b6b15d24",
952952
"state": "main",
953953
"action": "function main() { var monoco = $component.get('monoco'); monoco.ready(); }",
@@ -959,7 +959,7 @@
959959
"Monoco": {
960960
"monoco": {
961961
"_id": "monoco",
962-
"version": "0.5.3"
962+
"version": "0.5.5"
963963
}
964964
},
965965
"MonocoChannel": {

0 commit comments

Comments
 (0)