11import Component from "../node_modules/@xylem-js/xylem-js/dom/Component.js" ;
22import createArrayStore from "../node_modules/@xylem-js/xylem-js/array/createArrayStore.js" ;
33import createStore from "../node_modules/@xylem-js/xylem-js/core/createStore.js" ;
4- import combineSuppliers from "../node_modules/@xylem-js/xylem-js/core/combineSuppliers .js" ;
5- import combineNamedSuppliers from "../node_modules/@xylem-js/xylem-js/core/combineNamedSuppliers .js" ;
4+ import combine from "../node_modules/@xylem-js/xylem-js/core/combine .js" ;
5+ import combineNamed from "../node_modules/@xylem-js/xylem-js/core/combineNamed .js" ;
66import flow from "../node_modules/lodash-es/flow.js" ;
77import forEach from "../node_modules/@xylem-js/xylem-js/dom/forEach.js" ;
88import if_ from "../node_modules/@xylem-js/xylem-js/dom/if_.js" ;
@@ -222,7 +222,7 @@ class ResumeForm extends Component
222222 build ( attrs )
223223 {
224224 const { resume$, onSave } = attrs ;
225- this . beforeDetachFromDom . subscribe (
225+ this . beforeDetach . subscribe (
226226 resume$ . subscribe ( ( v ) => {
227227 fullName$ . _ ( v . fullName ) ;
228228 fullNameInputElement$ . _ ( ) . value = v . fullName ;
@@ -246,15 +246,15 @@ class ResumeForm extends Component
246246 const address$ = createStore ( resume . address ) ;
247247 const projects$ = createArrayStore ( resume . projects . map ( getProjectViewModel ) ) ;
248248
249- const normalizedProjects$ = normalizeArrayStore ( projects$ , ( project ) => combineNamedSuppliers ( this , {
249+ const normalizedProjects$ = normalizeArrayStore ( projects$ , ( project ) => combineNamed ( this , {
250250 title : project . title$ ,
251251 description : project . description$ ,
252252 completionDate : project . completionDate$ ,
253253 skills : normalizeArrayStore ( project . skills$ , v => v ) ,
254254 url : project . url$ ,
255255 } ) ) ;
256256
257- const normalizedResume$ = combineNamedSuppliers ( this , {
257+ const normalizedResume$ = combineNamed ( this , {
258258 fullName : fullName$ ,
259259 email : email$ ,
260260 address : address$ ,
@@ -427,7 +427,7 @@ class ResumeForm extends Component
427427 class : 'input-group-text' ,
428428 for : map (
429429 this ,
430- combineSuppliers ( this , [ index$ , index$2 ] ) ,
430+ combine ( this , [ index$ , index$2 ] ) ,
431431 ( [ i , i2 ] ) => `project-${ i } -skill-${ i2 } ` ,
432432 ) ,
433433 } ,
@@ -437,7 +437,7 @@ class ResumeForm extends Component
437437 class : 'form-control' ,
438438 id : map (
439439 this ,
440- combineSuppliers ( this , [ index$ , index$2 ] ) ,
440+ combine ( this , [ index$ , index$2 ] ) ,
441441 ( [ i , i2 ] ) => `project-${ i } -skill-${ i2 } ` ,
442442 ) ,
443443 value : skill$ . _ ( ) ,
0 commit comments