ende 0.5.5 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/component.json +3 -3
- data/components/indefinido/indemma/master/component.json +1 -1
- data/components/indefinido/indemma/master/lib/record/restfulable.js +6 -2
- data/lib/assets/javascripts/aura/extensions/routes.js.coffee +3 -3
- data/lib/assets/javascripts/widgets/authenticator/main.js.coffee +1 -1
- data/lib/assets/javascripts/widgets/dialog/main.js.coffee +2 -2
- data/lib/assets/javascripts/widgets/viewer/main.js.coffee +4 -1
- data/lib/ende/version.rb +1 -1
- data/vendor/assets/components/ende_build.js +3953 -4291
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 22ac81ae582ad76d2217cf6aad889332b27f3852
|
|
4
|
+
data.tar.gz: 23c99d58bbfe562bfa9189e67b4f2b6973c53593
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b86ba37d1026ecc32e102881c0b2c323349bf8ea6cdd6ce82af72ba121260a194cd784b79bdcc6220d304eff080ea6093615b6b4deb2354a46858cb5928df610
|
|
7
|
+
data.tar.gz: c2dfae35484697265b39f44c4c5776bf51ca314961c6de49869311e939198357c3bfae819749566c987a9b506ae50d7a981e4443607a95ef1b6b0cbf7efe44f5
|
data/component.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ende",
|
|
3
3
|
"repo": "indefinido/ende",
|
|
4
4
|
"description": "Core web application functionacility",
|
|
5
|
-
"version": "0.5.
|
|
5
|
+
"version": "0.5.6",
|
|
6
6
|
"keywords": [],
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"mikeric/rivets": "v0.5.12",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"component/type": "*",
|
|
13
13
|
"component/bind": "*",
|
|
14
14
|
"component/jquery": "*",
|
|
15
|
-
"component/querystring": "
|
|
15
|
+
"component/querystring": "1.3.0",
|
|
16
16
|
"components/modernizr": "*",
|
|
17
17
|
"indefinido/advisable": "*",
|
|
18
18
|
"indefinido/observable": "es6-modules",
|
|
19
19
|
"indefinido/indemma": "master",
|
|
20
|
-
"component/dialog": "
|
|
20
|
+
"component/dialog": "0.2.0"
|
|
21
21
|
},
|
|
22
22
|
"scripts": [
|
|
23
23
|
"vendor/assets/javascripts/accounting/**/*.js",
|
|
@@ -189,7 +189,9 @@ restful = {
|
|
|
189
189
|
delete attributes[association_name];
|
|
190
190
|
delete attributes[association_name + "_attributes"];
|
|
191
191
|
if (association_attributes) {
|
|
192
|
-
associated = this[association_name] || this["build_" + association_name](
|
|
192
|
+
associated = this[association_name] || this["build_" + association_name]({
|
|
193
|
+
_id: association_attributes._id
|
|
194
|
+
});
|
|
193
195
|
associated.assign_attributes(association_attributes);
|
|
194
196
|
this[association_name] = associated;
|
|
195
197
|
}
|
|
@@ -201,7 +203,9 @@ restful = {
|
|
|
201
203
|
delete attributes[association_name];
|
|
202
204
|
delete attributes[association_name + "_attributes"];
|
|
203
205
|
if (association_attributes) {
|
|
204
|
-
associated = this[association_name] || this["build_" + association_name](
|
|
206
|
+
associated = this[association_name] || this["build_" + association_name]({
|
|
207
|
+
_id: association_attributes._id
|
|
208
|
+
});
|
|
205
209
|
associated.assign_attributes(association_attributes);
|
|
206
210
|
this[association_name] = associated;
|
|
207
211
|
}
|
|
@@ -10,9 +10,9 @@ define 'aura/extensions/routes', (routes) ->
|
|
|
10
10
|
with_component = 'jquery'
|
|
11
11
|
window.jQuery = window.$ = require with_component
|
|
12
12
|
# TODO Remove .call null
|
|
13
|
-
loader.require.call null, '
|
|
13
|
+
loader.require.call null, 'ende/vendor/assets/javascripts/lennon/lennon.js'
|
|
14
14
|
|
|
15
|
-
query = loader.require.call null, 'querystring'
|
|
15
|
+
query = loader.require.call null, 'component~querystring@1.3.0'
|
|
16
16
|
router = null
|
|
17
17
|
|
|
18
18
|
# TODO rename to router stationg
|
|
@@ -136,7 +136,7 @@ define 'aura/extensions/routes', (routes) ->
|
|
|
136
136
|
|
|
137
137
|
toString: -> window.location
|
|
138
138
|
|
|
139
|
-
version: '0.2.
|
|
139
|
+
version: '0.2.2'
|
|
140
140
|
|
|
141
141
|
initialize: (application) ->
|
|
142
142
|
{logger} = application
|
|
@@ -67,7 +67,7 @@ define ['./states/index', './presenter'], (templates, presenter) ->
|
|
|
67
67
|
sandbox.on 'user.password_recovered' , recoverer.recovered
|
|
68
68
|
|
|
69
69
|
# Will also initialize sandbox!
|
|
70
|
-
@$el.attr 'data-class', 'base.classes <
|
|
70
|
+
@$el.attr 'data-class', 'base.classes < .status'
|
|
71
71
|
@presentation = presenter authenticator, recoverer, base
|
|
72
72
|
authentication = @presentation.authenticator
|
|
73
73
|
recovery = @presentation.recoverer
|
|
@@ -92,10 +92,10 @@ define ->
|
|
|
92
92
|
@sandbox.logger.log "initialized!"
|
|
93
93
|
|
|
94
94
|
# TODO integrate component and requirejs in a more consize way
|
|
95
|
-
with_component = 'dialog'
|
|
95
|
+
with_component = 'component~dialog@0.2.0'
|
|
96
96
|
dialog = require(with_component).Dialog
|
|
97
97
|
|
|
98
|
-
with_component = 'component
|
|
98
|
+
with_component = 'component~overlay@0.1.1'
|
|
99
99
|
overlay = require with_component
|
|
100
100
|
|
|
101
101
|
@sandbox.util.extend dialog.prototype, dialog_extensions
|
|
@@ -320,8 +320,10 @@ define [
|
|
|
320
320
|
else
|
|
321
321
|
@$el.addClass 'empty'
|
|
322
322
|
|
|
323
|
-
# TODO
|
|
323
|
+
# TODO externalize parent presentation inheritation to a
|
|
324
|
+
# elementless widget
|
|
324
325
|
@inherit_parent_presentation()
|
|
326
|
+
# TODO move binders to application
|
|
325
327
|
# TODO on bind execute presentation_options method and extend and inherit from presenter what needed
|
|
326
328
|
@bind @presentation, @sandbox.util.extend(true, @presenter.presentation, @options.presentation)
|
|
327
329
|
|
|
@@ -352,6 +354,7 @@ define [
|
|
|
352
354
|
deferreds.push scrollable widget: @ if options.scroll
|
|
353
355
|
deferreds.push scopable @ if options.scope or options.scopable
|
|
354
356
|
|
|
357
|
+
|
|
355
358
|
@sandbox.data.when deferreds...
|
|
356
359
|
|
|
357
360
|
# TODO move this method to an extension
|
data/lib/ende/version.rb
CHANGED