Skip to content

Commit

Permalink
refactor(mentio): move code, refactored, demo styled and minor functi…
Browse files Browse the repository at this point in the history
…onality changes

Move source to a src directory
Move examples to ment.io directory
Move spec to a tests directory
Create menitoUtil service
Update mentioUtil service functions to not use singleton pattern and only return methods that are publically useds
Update dist folder to be one level deep
Add support for minified version of file
Add search highlighting for term in mentio menu
Apply jshint changes to all files
Update example code to use bootstrap styles
Update example product replacement to use a sku
Update search function to be allowed to return a promise, this is needed when used from within a template and there is no access to controller scope of mentio-rule to update items
  • Loading branch information
adamayres committed Jun 24, 2014
1 parent 20f20bb commit 43ceeb4
Show file tree
Hide file tree
Showing 19 changed files with 1,871 additions and 999 deletions.
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true


[*]

# Change these settings to your own preference
indent_style = space
indent_size = 4

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
3 changes: 2 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
],
"devDependencies": {
"angular": "~1.2.18",
"angular-mocks": "~1.2.18"
"angular-mocks": "~1.2.18",
"textarea-caret-position": "~2.1.0"
}
}
177 changes: 0 additions & 177 deletions demo.css

This file was deleted.

88 changes: 0 additions & 88 deletions demo.js

This file was deleted.

Loading

0 comments on commit 43ceeb4

Please sign in to comment.