Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Weststrate (0.12 sec)

  1. test/v5/base/tojs.js

                lastName: "weststrate",
                tags: ["user", "mobx-member"],
                get fullName() {
                    return this.firstName + this.lastName
                }
            })
        }
    
        const p1 = new Person()
        // check before lazy initialization
        expect(mobx.toJS(p1)).toEqual({
            firstName: "michel",
            lastName: "weststrate",
            tags: ["user", "mobx-member"]
    JavaScript
    - Registered: 2020-06-18 21:12
    - Last Modified: 2020-01-23 14:24
    - 11.4K bytes
    - Viewed (0)
  2. test/v5/base/trace.ts

            const lines: any[] = []
            console.log = function() {
                lines.push(arguments)
            }
    
            const x = mobx.observable({
                firstname: "Michel",
                lastname: "Weststrate",
                get fullname() {
                    /* test multi line comment 
                        (run this unit test from VS code, and pass 'true'  as third argument to trace below to verify) 
                    */
    Plain Text
    - Registered: 2020-06-18 21:12
    - Last Modified: 2020-03-29 09:57
    - 2K bytes
    - Viewed (0)
  3. test/v4/base/tojs.js

                lastName: "weststrate",
                tags: ["user", "mobx-member"],
                get fullName() {
                    return this.firstName + this.lastName
                }
            })
        }
    
        const p1 = new Person()
        // check before lazy initialization
        expect(mobx.toJS(p1)).toEqual({
            firstName: "michel",
            lastName: "weststrate",
            tags: ["user", "mobx-member"]
    JavaScript
    - Registered: 2020-06-18 21:12
    - Last Modified: 2020-01-23 14:24
    - 11.3K bytes
    - Viewed (0)
  4. test/v4/base/trace.ts

            const lines: any[] = []
            console.log = function() {
                lines.push(arguments)
            }
    
            const x = mobx.observable({
                firstname: "Michel",
                lastname: "Weststrate",
                get fullname() {
                    /* test multi line comment 
                        (run this unit test from VS code, and pass 'true'  as third argument to trace below to verify) 
                    */
    Plain Text
    - Registered: 2020-06-18 21:12
    - Last Modified: 2020-03-29 09:57
    - 2K bytes
    - Viewed (0)
  5. test/v5/base/babel-tests.js

        const c = new Contact()
    
        c.firstName = "Pavan"
        c.lastName = "Podila"
    
        expect(c.fullName).toBe("Pavan Podila")
    
        c.fullName = "Michel Weststrate"
        expect(c.firstName).toBe("Michel")
        expect(c.lastName).toBe("Weststrate")
    })
    
    test("computed setter problem - 2", () => {
        class Contact {
            @observable firstName = ""
            @observable lastName = ""
    
    JavaScript
    - Registered: 2020-06-18 21:12
    - Last Modified: 2020-01-23 14:24
    - 28.2K bytes
    - Viewed (0)
  6. LICENSE

    The MIT License (MIT)
    
    Copyright (c) 2015 Michel Weststrate
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    Plain Text
    - Registered: 2020-06-18 21:12
    - Last Modified: 2015-05-20 14:41
    - 1.1K bytes
    - Viewed (0)
  7. src/locale/af/index.js

    import match from './_lib/match/index.js'
    
    /**
     * @type {Locale}
     * @category Locales
     * @summary Afrikaans locale.
     * @language Afrikaans
     * @iso-639-2 afr
     * @author Marnus Weststrate [@marnusw]{@link https://github.com/marnusw}
     */
    var locale = {
      code: 'af',
      formatDistance: formatDistance,
      formatLong: formatLong,
      formatRelative: formatRelative,
      localize: localize,
      match: match,
    JavaScript
    - Registered: 2020-06-22 08:53
    - Last Modified: 2019-10-22 12:08
    - 721 bytes
    - Viewed (0)
  8. src/v5/mobx.ts

    /**
     * (c) Michel Weststrate 2015 - 2018
     * MIT Licensed
     *
     * Welcome to the mobx sources! To get an global overview of how MobX internally works,
     * this is a good place to start:
     * https://medium.com/@mweststrate/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254#.xvbh6qd74
     *
     * Source folders:
     * ===============
     *
     * - api/     Most of the public static methods exposed by the module can be found here.
    Plain Text
    - Registered: 2020-06-18 21:12
    - Last Modified: 2020-01-27 12:53
    - 4.6K bytes
    - Viewed (0)
  9. test/v4/base/babel-tests.js

        const c = new Contact()
    
        c.firstName = "Pavan"
        c.lastName = "Podila"
    
        expect(c.fullName).toBe("Pavan Podila")
    
        c.fullName = "Michel Weststrate"
        expect(c.firstName).toBe("Michel")
        expect(c.lastName).toBe("Weststrate")
    })
    
    test("computed setter problem - 2", () => {
        class Contact {
            @observable firstName = ""
            @observable lastName = ""
    
    JavaScript
    - Registered: 2020-06-18 21:12
    - Last Modified: 2020-01-23 14:24
    - 28.2K bytes
    - Viewed (0)
  10. src/v4/mobx.ts

    /**
     * (c) Michel Weststrate 2015 - 2019
     * MIT Licensed
     *
     * Welcome to the mobx sources! To get an global overview of how MobX internally works,
     * this is a good place to start:
     * https://medium.com/@mweststrate/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254#.xvbh6qd74
     *
     * Source folders:
     * ===============
     *
     * - api/     Most of the public static methods exposed by the module can be found here.
    Plain Text
    - Registered: 2020-06-18 21:12
    - Last Modified: 2020-01-27 12:53
    - 5.8K bytes
    - Viewed (0)
Back to top