Closed pichfl closed 7 years ago
Neat!
@rwjblue 🎉 Thanks!
I updated to code so rogue symbol definitions no longer show in the output. If someone points me in the right direction, I'm happy to make a pull request so this can be included. Otherwise running it by hand does the job as well.
While the code is obviously not made for this, it was a fun exercise to extract a markdown compatible listing of all the shims from this addon. I'm pretty sure this is a rather brutal way, but it works.
I haven't figured on the best way to do it, but this could easily be part of the publishing process of this addon to have a proper reference.
Results via
node generate.js > results.md
All shims provided by this addon
ember
default
Emberember-application
default
Ember.Applicationember-array
default
Ember.Arrayember-array/mutable
default
Ember.MutableArrayember-array/utils
A
Ember.AisEmberArray
Ember.isArraywrap
Ember.makeArrayember-component
default
Ember.Componentember-components/checkbox
default
Ember.Checkboxember-components/text-area
default
Ember.TextAreaember-components/text-field
default
Ember.TextFieldember-controller
default
Ember.Controllerember-controller/inject
default
Ember.inject.controllerember-controller/proxy
default
Ember.ArrayProxyember-controllers/sortable
default
Ember.SortableMixinember-debug
log
Ember.debuginspect
Ember.inspectrun
Ember.runInDebugwarn
Ember.warnember-debug/container-debug-adapter
default
Ember.ContainerDebugAdapterember-debug/data-adapter
default
Ember.DataAdapterember-deprecations
deprecate
Ember.deprecatedeprecateFunc
Ember.deprecateFuncember-enumerable
default
Ember.Enumerableember-evented
default
Ember.Eventedember-evented/on
default
Ember.onember-globals-resolver
default
Ember.DefaultResolverember-helper
default
Ember.Helperhelper
ember-instrumentation
instrument
Ember.Instrumentation.instrumentreset
Ember.Instrumentation.resetsubscribe
Ember.Instrumentation.subscribeunsubscribe
Ember.Instrumentation.unsubscribeember-locations/hash
default
Ember.HashLocationember-locations/history
default
Ember.HistoryLocationember-locations/none
default
Ember.NoneLocationember-map
default
Ember.MapwithDefault
Ember.MapWithDefaultember-metal/destroy
default
Ember.destroyember-metal/events
addListener
Ember.addListenerremoveListener
Ember.removeListenersend
Ember.sendEventember-metal/get
default
Ember.getgetProperties
Ember.getPropertiesember-metal/mixin
default
Ember.Mixinember-metal/observer
default
Ember.observeraddObserver
Ember.addObserverremoveObserver
Ember.removeObserverember-metal/on-load
default
Ember.onLoadrun
Ember.runLoadHooksember-metal/set
default
Ember.setsetProperties
Ember.setPropertiestrySet
Ember.trySetember-metal/utils
aliasMethod
Ember.aliasMethodassert
Ember.assertcacheFor
Ember.cacheForcopy
Ember.copyguidFor
Ember.guidForember-object
default
Ember.Objectember-owner/get
default
Ember.getOwnerember-owner/set
default
Ember.setOwnerember-platform
assign
Ember.assigncreate
Ember.createdefineProperty
Ember.platform.definePropertyhasAccessors
Ember.platform.hasPropertyAccessorskeys
Ember.keysember-route
default
Ember.Routeember-router
default
Ember.Routerember-runloop
default
Ember.runbegin
Ember.run.beginbind
Ember.run.bindcancel
Ember.run.canceldebounce
Ember.run.debounceend
Ember.run.endjoin
Ember.run.joinlater
Ember.run.laternext
Ember.run.nextonce
Ember.run.onceschedule
Ember.run.schedulescheduleOnce
Ember.run.scheduleOncethrottle
Ember.run.throttleember-service
default
Ember.Serviceember-service/inject
default
Ember.inject.serviceember-set/ordered
default
Ember.OrderedSetember-string
camelize
Ember.String.camelizecapitalize
Ember.String.capitalizeclassify
Ember.String.classifydasherize
Ember.String.dasherizedecamelize
Ember.String.decamelizefmt
Ember.String.fmthtmlSafe
Ember.String.htmlSafeloc
Ember.String.locunderscore
Ember.String.underscorew
Ember.String.wember-utils
isBlank
Ember.isBlankisEmpty
Ember.isEmptyisNone
Ember.isNoneisPresent
Ember.isPresenttryInvoke
Ember.tryInvoketypeOf
Ember.typeOfember-computed
default
Ember.computedempty
Ember.computed.emptynotEmpty
Ember.computed.notEmptynone
Ember.computed.nonenot
Ember.computed.notbool
Ember.computed.boolmatch
Ember.computed.matchequal
Ember.computed.equalgt
Ember.computed.gtgte
Ember.computed.gtelt
Ember.computed.ltlte
Ember.computed.ltealias
Ember.computed.aliasoneWay
Ember.computed.oneWayreads
Ember.computed.readsreadOnly
Ember.computed.readOnlydeprecatingAlias
Ember.computed.deprecatingAliasand
Ember.computed.andor
Ember.computed.orcollect
Ember.computed.collectsum
Ember.computed.summin
Ember.computed.minmax
Ember.computed.maxmap
Ember.computed.mapsort
Ember.computed.sortsetDiff
Ember.computed.setDiffmapBy
Ember.computed.mapBymapProperty
Ember.computed.mapPropertyfilter
Ember.computed.filterfilterBy
Ember.computed.filterByfilterProperty
Ember.computed.filterPropertyuniq
Ember.computed.uniqunion
Ember.computed.unionintersect
Ember.computed.intersectember-test
default
Ember.Testember-test/adapter
default
Ember.Test.Adapterember-test/qunit-adapter
default
Ember.Test.QUnitAdapterjquery
default
self.jQueryrsvp
default
Ember.RSVP