Skip to content

Commit f907b97

Browse files
author
Erwan Carriou
committed
- update to version 0.5.0
1 parent bb932bb commit f907b97

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

+241
-241
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.4.2",
3+
"version": "0.5.0",
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.4.2",
3+
"version": "0.5.0",
44
"description": "A Model and a NoSQL Database for Components",
55
"_id": "e89c617b6b15d24",
66
"schemas": {
@@ -770,181 +770,181 @@
770770
"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); } } }}",
771771
"core": true
772772
},
773-
"1dde71507512d34": {
774-
"_id": "1dde71507512d34",
773+
"10e1a1af4d1cb1b": {
774+
"_id": "10e1a1af4d1cb1b",
775775
"component": "Monoco",
776776
"state": "error",
777777
"action": "function error(data) { console.error('monoco: ' + data.message, data.error); }",
778778
"core": true
779779
},
780-
"1a323191dd1bd39": {
781-
"_id": "1a323191dd1bd39",
780+
"1a31b182dc1c6d6": {
781+
"_id": "1a31b182dc1c6d6",
782782
"component": "Monoco",
783783
"state": "find",
784784
"action": "function find(Class, query) { return $component.find(Class, query);}",
785785
"core": true,
786786
"useCoreAPI": true
787787
},
788-
"1aa44194861a03f": {
789-
"_id": "1aa44194861a03f",
788+
"1d5921a1c21540e": {
789+
"_id": "1d5921a1c21540e",
790790
"component": "Monoco",
791791
"state": "system",
792792
"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; }",
793793
"core": true
794794
},
795-
"15a48159f616962": {
796-
"_id": "15a48159f616962",
795+
"1e8681fed717143": {
796+
"_id": "1e8681fed717143",
797797
"component": "Monoco",
798798
"state": "warning",
799799
"action": "function warning(message) { console.warn('monoco: ' + message); }",
800800
"core": true
801801
},
802-
"135371883917b6f": {
803-
"_id": "135371883917b6f",
802+
"1c6711a7651a799": {
803+
"_id": "1c6711a7651a799",
804804
"component": "MonocoChannel",
805805
"state": "listen",
806806
"action": "function listen(event, action) { $channel.listen(event, action); }",
807807
"core": true,
808808
"useCoreAPI": true
809809
},
810-
"1b40a120341d1e7": {
811-
"_id": "1b40a120341d1e7",
810+
"11ea518e401aecb": {
811+
"_id": "11ea518e401aecb",
812812
"component": "MonocoChannel",
813813
"state": "send",
814814
"action": "function send(message) { return $channel.send(message); }",
815815
"core": true,
816816
"useCoreAPI": true
817817
},
818-
"1a281194671f956": {
819-
"_id": "1a281194671f956",
818+
"1af941c3d0112c4": {
819+
"_id": "1af941c3d0112c4",
820820
"component": "MonocoClassInfo",
821821
"state": "collection",
822822
"action": "function collection(name) { var result = {}; if (this.metamodel()[name] === 'collection') { result = this.model()[name]; } return result; }",
823823
"core": true
824824
},
825-
"17cf61d8bb11eb2": {
826-
"_id": "17cf61d8bb11eb2",
825+
"1aedd191f8147b9": {
826+
"_id": "1aedd191f8147b9",
827827
"component": "MonocoClassInfo",
828828
"state": "collections",
829829
"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; }",
830830
"core": true
831831
},
832-
"13be01d86f1dbc0": {
833-
"_id": "13be01d86f1dbc0",
832+
"1a4cc1194b1905e": {
833+
"_id": "1a4cc1194b1905e",
834834
"component": "MonocoClassInfo",
835835
"state": "event",
836836
"action": "function event(name) { var result = {}; if (this.metamodel()[name] === 'event') { result = this.model()[name]; } return result; }",
837837
"core": true
838838
},
839-
"1c0181ae5d111cc": {
840-
"_id": "1c0181ae5d111cc",
839+
"1ccab1220b12c3c": {
840+
"_id": "1ccab1220b12c3c",
841841
"component": "MonocoClassInfo",
842842
"state": "events",
843843
"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; }",
844844
"core": true
845845
},
846-
"182ea185a012620": {
847-
"_id": "182ea185a012620",
846+
"1703a1a84f1ce39": {
847+
"_id": "1703a1a84f1ce39",
848848
"component": "MonocoClassInfo",
849849
"state": "method",
850850
"action": "function method(name) { var result = {}; if (this.metamodel()[name] === 'method') { result = this.model()[name]; } return result; }",
851851
"core": true
852852
},
853-
"17762174c31742c": {
854-
"_id": "17762174c31742c",
853+
"1218611746144df": {
854+
"_id": "1218611746144df",
855855
"component": "MonocoClassInfo",
856856
"state": "methods",
857857
"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; }",
858858
"core": true
859859
},
860-
"1593a1055e1337f": {
861-
"_id": "1593a1055e1337f",
860+
"1f7fc1edaf1dd73": {
861+
"_id": "1f7fc1edaf1dd73",
862862
"component": "MonocoClassInfo",
863863
"state": "properties",
864864
"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; }",
865865
"core": true
866866
},
867-
"1bd9e1b93913277": {
868-
"_id": "1bd9e1b93913277",
867+
"10fd812697184a2": {
868+
"_id": "10fd812697184a2",
869869
"component": "MonocoClassInfo",
870870
"state": "property",
871871
"action": "function property(name) { var result = {}; if (this.metamodel()[name] === 'property') { result = this.model()[name]; } return result; }",
872872
"core": true
873873
},
874-
"153bc1ec4e142e6": {
875-
"_id": "153bc1ec4e142e6",
874+
"13a241289f18d75": {
875+
"_id": "13a241289f18d75",
876876
"component": "MonocoComponent",
877877
"state": "destroy",
878878
"action": "function destroy() { $component.destroy(this.id()); }",
879879
"core": true,
880880
"useCoreAPI": true
881881
},
882-
"165091da1012c3b": {
883-
"_id": "165091da1012c3b",
882+
"117a81b6191f511": {
883+
"_id": "117a81b6191f511",
884884
"component": "MonocoComponent",
885885
"state": "off",
886886
"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 + \"'\"}); } } }",
887887
"core": true,
888888
"useCoreAPI": true
889889
},
890-
"15c2810f7d1a30f": {
891-
"_id": "15c2810f7d1a30f",
890+
"1c5361f7ca12086": {
891+
"_id": "1c5361f7ca12086",
892892
"component": "MonocoComponent",
893893
"state": "require",
894894
"action": "function require(id) { return $component.get(id); }",
895895
"core": true,
896896
"useCoreAPI": true
897897
},
898-
"1f600163761ae4d": {
899-
"_id": "1f600163761ae4d",
898+
"1c1dd1c8ce16e1b": {
899+
"_id": "1c1dd1c8ce16e1b",
900900
"component": "MonocoDatabase",
901901
"state": "subsystem",
902902
"action": "function subsystem(params) { return $db.subsystem(params); }",
903903
"core": true,
904904
"useCoreAPI": true
905905
},
906-
"181e81c18113d19": {
907-
"_id": "181e81c18113d19",
906+
"16d38108eb1ac7f": {
907+
"_id": "16d38108eb1ac7f",
908908
"component": "MonocoDatabase",
909909
"state": "system",
910910
"action": "function system(system) { return $db.system(system); }",
911911
"core": true,
912912
"useCoreAPI": true
913913
},
914-
"14b6d1e0561ef9d": {
915-
"_id": "14b6d1e0561ef9d",
914+
"1979b19ed31dd38": {
915+
"_id": "1979b19ed31dd38",
916916
"component": "MonocoMetamodel",
917917
"state": "create",
918918
"action": "function create() { $metamodel.create(); }",
919919
"core": true,
920920
"useCoreAPI": true
921921
},
922-
"194091d9381ff7e": {
923-
"_id": "194091d9381ff7e",
922+
"186801b42e12cee": {
923+
"_id": "186801b42e12cee",
924924
"component": "MonocoMetamodel",
925925
"state": "schema",
926926
"action": "function schema(schema) { $metamodel.schema(schema); }",
927927
"core": true,
928928
"useCoreAPI": true
929929
},
930-
"1fd4e1e3ca19c2a": {
931-
"_id": "1fd4e1e3ca19c2a",
930+
"13a6b1dc121711b": {
931+
"_id": "13a6b1dc121711b",
932932
"component": "MonocoMetamodel",
933933
"state": "type",
934934
"action": "function type(type) { $metamodel.type(type); }",
935935
"core": true,
936936
"useCoreAPI": true
937937
},
938-
"1116d100d813eb4": {
939-
"_id": "1116d100d813eb4",
938+
"195971aec01a075": {
939+
"_id": "195971aec01a075",
940940
"component": "MonocoSystem",
941941
"state": "sync",
942942
"action": "function sync() { var dump = $db.dump(); this.schemas(dump.schemas); this.types(dump.types); this.behaviors(dump.behaviors); this.components(dump.components); }",
943943
"core": true,
944944
"useCoreAPI": true
945945
},
946-
"1ae70139eb14fae": {
947-
"_id": "1ae70139eb14fae",
946+
"1700e1840b13469": {
947+
"_id": "1700e1840b13469",
948948
"component": "e89c617b6b15d24",
949949
"state": "main",
950950
"action": "function main() { var monoco = $component.get('monoco'); monoco.ready(); }",
@@ -956,7 +956,7 @@
956956
"Monoco": {
957957
"monoco": {
958958
"_id": "monoco",
959-
"version": "0.4.2"
959+
"version": "0.5.0"
960960
}
961961
},
962962
"MonocoChannel": {

0 commit comments

Comments
 (0)