minor syntax things
move logstash fields to its own fixture, use it in tubbed_logstash_index_pattern
create stubbed docSource response fixture
change test title in field_chooser.js
mock dependencies and create first passing test
allow custom index to be passed to stubbedDocSourceResponse
check the count of the appended fields
add scrtiped fields to mock fields, add API and getFields tests, mock some other tests
ensure fields are an IndexedArray, add tests for refreshFields
consolidate the creation of the indexPattern instance
move DocSource.onUpdate to the prototype, so it can be mocked
add tests for add/remove scripted fields, minor refactor to indexPattern to access field re-indexer
make sure an error is thrown when duplicating a scripted field name
minor refactor: allow popularization count to be greater than 1 on initial set, add tests for popularizeField
Closes #2102. Fixes zero filling in line charts for multiple charts where the x axis dates were connected out of order.
Merge branch 'master' into fix/#2102
removing code that attempted to obtain the height of a chart to calculate the maximum truncate length for x axis labels.
removing unused vars
make sure the value object we're checking is defined
properly check if value is defined (fixes number sorting)