Giter Club home page Giter Club logo

ember-cli-bootstrap's Introduction

ember-cli-bootstrap

###This project is depricated because the bootstrap_for_ember project is no longer being supported.

###ember-cli-bootstrap requires ember-cli version '0.0.41' or later

This is an ember-cli addon that includes styles from Twitter Bootstrap into your ember-cli project.

This addon utilizes the bootstrap_for_ember library, which provides a collection of Ember components based on Twitter Bootstrap V3. You can find documentation for usage here.

#Usage

In the root of your ember-cli project directory, run:

npm install --save-dev ember-cli-bootstrap

Then, from the root of you ember-cli project, run:

ember generate ember-cli-bootstrap

To prevent JSHint errors, you can import Bootstrap as a module with:

import Bootstrap from 'bootstrap';

You should now have access to bootstrap styles and the components provided by bootstrap_for_ember. Enjoy!

##Importing specific bootstrap_for_ember components By default, all of the bootstrap_for_ember components will be imported into the project. You can optionally specify exactly which components should be imported into the project via the component option, which accepts an array of component names:

//your-bootstrap-app/Brocfile.js

/* global require, module */

var EmberApp = require('ember-cli/lib/broccoli/ember-app');

var app = new EmberApp({
  'ember-cli-bootstrap': {
    'components': ['bs-alert', 'bs-notifications', 'bs-nav']
  }
});

module.exports = app.toTree();

Importing javascript from Twitter Bootstrap

The goal of this addon is to utilize the bootstrap_for_ember library to be able to implement Twitter Bootstrap's styles and components in a more 'Embery' way. As such, the addon does not include the javascript from Twitter Bootstrap by default.

In situations where you need functionality that is not provided by bootstrap_for_ember, you can optionally import the Twitter Bootstrap javascript into your ember-cli project by setting the importBootstrapJS option to true in your Brocfile.js:

//your-bootstrap-app/Brocfile.js

/* global require, module */

var EmberApp = require('ember-cli/lib/broccoli/ember-app');

var app = new EmberApp({
  'ember-cli-bootstrap': {
    'importBootstrapJS': true
  }
});

module.exports = app.toTree();

Importing Twitter Bootstrap Theme

Bootstrap comes with an optional theme CSS with various visual enhancements. To include this file you can import it by setting importBootstrapTheme to true in your Brocfile.js:

//your-bootstrap-app/Brocfile.js

/* global require, module */

var EmberApp = require('ember-cli/lib/broccoli/ember-app');

var app = new EmberApp({
  'ember-cli-bootstrap': {
    'importBootstrapTheme': true
  }
});

module.exports = app.toTree();

Opting out of Bootstrap CSS

In situations where you prefer to use another strategy for importing Bootstrap CSS, you can opt out of CSS import by setting the importBootstrapCSS option to false in your Brocfile.js:

//your-bootstrap-app/Brocfile.js

/* global require, module */

var EmberApp = require('ember-cli/lib/broccoli/ember-app');

var app = new EmberApp({
  'ember-cli-bootstrap': {
    'importBootstrapCSS': false
  }
});

module.exports = app.toTree();

Opting out of Bootstrap Font

In situations where you prefer to use another strategy for importing the Bootstrap font, you can opt out of the font import by setting the importBootstrapFont option to false in your Brocfile.js:

//your-bootstrap-app/Brocfile.js

/* global require, module */

var EmberApp = require('ember-cli/lib/broccoli/ember-app');

var app = new EmberApp({
  'ember-cli-bootstrap': {
    'importBootstrapFont': false
  }
});

module.exports = app.toTree();

ember-cli-bootstrap's People

Contributors

bcardarella avatar drewcovi avatar duereg avatar jkatsnelson avatar jolson88 avatar linstula avatar vincexue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ember-cli-bootstrap's Issues

Please add a link-li component

Solution to creating an active bootstrap navbar link:

http://stackoverflow.com/questions/14328295/how-do-i-bind-to-the-active-class-of-a-link-using-the-new-ember-router

app/components/link-li.js

export default Em.Component.extend({
    tagName: 'li',
    classNameBindings: ['active'],
    active: function() {
        return this.get('childViews').anyBy('active');
    }.property('[email protected]')
});

Usage

        {{#link-li}}
            {{#link-to "squares.index"}}Squares{{/link-to}}
        {{/link-li}}
        {{#link-li}}
            {{#link-to "games.index"}}Games{{/link-to}}
        {{/link-li}}
        {{#link-li}}
            {{#link-to "about"}}About{{/link-to}}
        {{/link-li}}

Thanks :)

addon breaks other addons

Hey, I just came to this really weird situation where I wasn't able to import things from a namespaced addon when running on production environment.

The root of the issue is ember-cli-bootstrap, If I remove it then everything works as expected.

I created the following repo where the issue can be reproduced https://github.com/abuiles/______ember-with-csrf

Run ember server --environment production and then go to localhost:4200, you will see the errors:

2014-10-14 08:31:00.240Uncaught TypeError: undefined is not a function vendor-a1334da90d004ed95bee447978c6258d.js:15
2014-10-14 08:31:00.243Uncaught Error: Could not find module rails-csrf/config vendor-a1334da90d004ed95bee447978c6258d.js:1

If I remove ember-cli-bootstrap the issue disappears.

Adding a template key to popovers causes a component lookup error

Handlebars:

<a {{bs-bind-popover clickPop}}> Click </a>

Controller:

  clickPop: Ember.Object.create({
    title: "Clickable!",
    template: "
        <h1>hi</h1>
    "
    placement: "right"
  })

Uncaught Error: Assertion Failed: Unable to find partial with name 'components/bs-popover/_partial-content-1'.

Error during install on windows

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Users\jonas.wiesel\Programs\Node\node.exe',
1 verbose cli 'C:\Users\jonas.wiesel\Programs\Node\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '--save-dev',
1 verbose cli 'ember-cli-bootstrap' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink C:\Users\jonas.wiesel\Programs\Node\node.exe
5 verbose readDependencies using package.json deps
6 verbose cache add [ 'ember-cli-bootstrap', null ]
7 verbose cache add name=undefined spec="ember-cli-bootstrap" args=["ember-cli-bootstrap",null]
8 verbose parsed url { protocol: null,
8 verbose parsed url slashes: null,
8 verbose parsed url auth: null,
8 verbose parsed url host: null,
8 verbose parsed url port: null,
8 verbose parsed url hostname: null,
8 verbose parsed url hash: null,
8 verbose parsed url search: null,
8 verbose parsed url query: null,
8 verbose parsed url pathname: 'ember-cli-bootstrap',
8 verbose parsed url path: 'ember-cli-bootstrap',
8 verbose parsed url href: 'ember-cli-bootstrap' }
9 silly lockFile 46fcedd2-ember-cli-bootstrap ember-cli-bootstrap
10 verbose lock ember-cli-bootstrap C:\Users\jonas.wiesel\AppData\Roaming\npm-cache\46fcedd2-ember-cli-bootstrap.lock
11 silly lockFile 46fcedd2-ember-cli-bootstrap ember-cli-bootstrap
12 silly lockFile 46fcedd2-ember-cli-bootstrap ember-cli-bootstrap
13 verbose addNamed [ 'ember-cli-bootstrap', '' ]
14 verbose addNamed [ null, '' ]
15 silly lockFile 50431749-ember-cli-bootstrap ember-cli-bootstrap@
16 verbose lock ember-cli-bootstrap@ C:\Users\jonas.wiesel\AppData\Roaming\npm-cache\50431749-ember-cli-bootstrap.lock
17 silly addNameRange { name: 'ember-cli-bootstrap', range: '
', hasData: false }
18 verbose url raw ember-cli-bootstrap
19 verbose url resolving [ 'https://registry.npmjs.org/', './ember-cli-bootstrap' ]
20 verbose url resolved https://registry.npmjs.org/ember-cli-bootstrap
21 info trying registry request attempt 1 at 19:38:29
22 verbose etag "4X1UZLP2BKQTMAT6GN2KWOHZK"
23 http GET https://registry.npmjs.org/ember-cli-bootstrap
24 http 304 https://registry.npmjs.org/ember-cli-bootstrap
25 silly registry.get cb [ 304,
25 silly registry.get { date: 'Tue, 12 Aug 2014 14:07:53 GMT',
25 silly registry.get server: 'Apache',
25 silly registry.get via: '1.1 varnish',
25 silly registry.get 'last-modified': 'Tue, 12 Aug 2014 14:07:53 GMT',
25 silly registry.get 'cache-control': 'max-age=60',
25 silly registry.get etag: '"4X1UZLP2BKQTMAT6GN2KWOHZK"',
25 silly registry.get 'x-served-by': 'cache-lax1427-LAX',
25 silly registry.get 'x-cache': 'MISS',
25 silly registry.get 'x-cache-hits': '0',
25 silly registry.get 'x-timer': 'S1407852473.132911,VS0,VE85',
25 silly registry.get vary: 'Accept',
25 silly registry.get 'content-length': '0',
25 silly registry.get 'keep-alive': 'timeout=10, max=50',
25 silly registry.get connection: 'Keep-Alive' } ]
26 verbose etag ember-cli-bootstrap from cache
27 silly addNameRange number 2 { name: 'ember-cli-bootstrap', range: '*', hasData: true }
28 silly addNameRange versions [ 'ember-cli-bootstrap', [ '0.0.1', '0.0.2', '0.0.3' ] ]
29 verbose addNamed [ 'ember-cli-bootstrap', '0.0.3' ]
30 verbose addNamed [ '0.0.3', '0.0.3' ]
31 silly lockFile 84b266cf-ember-cli-bootstrap-0-0-3 [email protected]
32 verbose lock [email protected] C:\Users\jonas.wiesel\AppData\Roaming\npm-cache\84b266cf-ember-cli-bootstrap-0-0-3.lock
33 silly lockFile 84b266cf-ember-cli-bootstrap-0-0-3 [email protected]
34 silly lockFile 84b266cf-ember-cli-bootstrap-0-0-3 [email protected]
35 silly lockFile 50431749-ember-cli-bootstrap ember-cli-bootstrap@
36 silly lockFile 50431749-ember-cli-bootstrap ember-cli-bootstrap@
37 silly resolved [ { name: 'ember-cli-bootstrap',
37 silly resolved description: 'Include bootstrap into an ember-cli app',
37 silly resolved version: '0.0.3',
37 silly resolved author: { name: 'Lin Reid' },
37 silly resolved main: 'index.js',
37 silly resolved scripts:
37 silly resolved { test: 'echo "Error: no test specified" && exit 1',
37 silly resolved postinstall: 'sh .setup.sh' },
37 silly resolved keywords: [ 'ember-addon', 'bootstrap', 'ember', 'ember-cli' ],
37 silly resolved repository:
37 silly resolved { type: 'git',
37 silly resolved url: 'git://github.com/dockyard/ember-cli-bootstrap.git' },
37 silly resolved license: 'MIT',
37 silly resolved readme: 'ember-cli-bootstrap\n===================\n\n###Warning - this is still a WIP\n\nThis is an ember-cli addon that includes twitter bootstrap into your ember-cli project.\n\nThis addon utilizes the bootstrap_for_ember library, which provides a collection of Ember componenets based on Twitter Bootstrap V3.\nYou can find documentation for usage here.\n\n#Usage\n\nIn the root of your ember-cli project directory, run:\nbash\nnpm install --save-dev ember-cli-bootstrap\n\n\nYou should now have access to bootstrap styles and the components\nprovided by bootstrap_for_ember. Enjoy!\n',
37 silly resolved readmeFilename: 'README.md',
37 silly resolved bugs: { url: 'https://github.com/dockyard/ember-cli-bootstrap/issues' },
37 silly resolved homepage: 'https://github.com/dockyard/ember-cli-bootstrap',
37 silly resolved _id: '[email protected]',
37 silly resolved _shasum: '4a6e69a402a541444a50288decef06243c35ce22',
37 silly resolved _from: 'ember-cli-bootstrap@',
37 silly resolved _resolved: 'https://registry.npmjs.org/ember-cli-bootstrap/-/ember-cli-bootstrap-0.0.3.tgz' } ]
38 info install [email protected] into C:\Users\jonas.wiesel\Applications\CertificationEmber
39 info installOne [email protected]
40 info C:\Users\jonas.wiesel\Applications\CertificationEmber\node_modules\ember-cli-bootstrap unbuild
41 verbose tar unpack C:\Users\jonas.wiesel\AppData\Roaming\npm-cache\ember-cli-bootstrap\0.0.3\package.tgz
42 silly lockFile 55447f35-node-modules-ember-cli-bootstrap tar://C:\Users\jonas.wiesel\Applications\CertificationEmber\node_modules\ember-cli-bootstrap
43 verbose lock tar://C:\Users\jonas.wiesel\Applications\CertificationEmber\node_modules\ember-cli-bootstrap C:\Users\jonas.wiesel\AppData\Roaming\npm-cache\55447f35-node-modules-ember-cli-bootstrap.lock
44 silly lockFile 6d930c23--cli-bootstrap-0-0-3-package-tgz tar://C:\Users\jonas.wiesel\AppData\Roaming\npm-cache\ember-cli-bootstrap\0.0.3\package.tgz
45 verbose lock tar://C:\Users\jonas.wiesel\AppData\Roaming\npm-cache\ember-cli-bootstrap\0.0.3\package.tgz C:\Users\jonas.wiesel\AppData\Roaming\npm-cache\6d930c23--cli-bootstrap-0-0-3-package-tgz.lock
46 silly gunzTarPerm modes [ '755', '644' ]
47 silly gunzTarPerm extractEntry package.json
48 silly gunzTarPerm extractEntry .npmignore
49 silly gunzTarPerm extractEntry README.md
50 silly gunzTarPerm extractEntry index.js
51 silly gunzTarPerm extractEntry .bowerrc
52 silly gunzTarPerm extractEntry .setup.sh
53 silly gunzTarPerm extractEntry bower.json
54 silly lockFile 55447f35-node-modules-ember-cli-bootstrap tar://C:\Users\jonas.wiesel\Applications\CertificationEmber\node_modules\ember-cli-bootstrap
55 silly lockFile 55447f35-node-modules-ember-cli-bootstrap tar://C:\Users\jonas.wiesel\Applications\CertificationEmber\node_modules\ember-cli-bootstrap
56 silly lockFile 6d930c23--cli-bootstrap-0-0-3-package-tgz tar://C:\Users\jonas.wiesel\AppData\Roaming\npm-cache\ember-cli-bootstrap\0.0.3\package.tgz
57 silly lockFile 6d930c23--cli-bootstrap-0-0-3-package-tgz tar://C:\Users\jonas.wiesel\AppData\Roaming\npm-cache\ember-cli-bootstrap\0.0.3\package.tgz
58 info preinstall [email protected]
59 verbose readDependencies using package.json deps
60 verbose readDependencies using package.json deps
61 silly resolved []
62 verbose about to build C:\Users\jonas.wiesel\Applications\CertificationEmber\node_modules\ember-cli-bootstrap
63 info build C:\Users\jonas.wiesel\Applications\CertificationEmber\node_modules\ember-cli-bootstrap
64 verbose linkStuff [ false,
64 verbose linkStuff false,
64 verbose linkStuff false,
64 verbose linkStuff 'C:\Users\jonas.wiesel\Applications\CertificationEmber\node_modules' ]
65 info linkStuff [email protected]
66 verbose linkBins [email protected]
67 verbose linkMans [email protected]
68 verbose rebuildBundles [email protected]
69 info install [email protected]
70 info postinstall [email protected]
71 verbose unsafe-perm in lifecycle true
72 info [email protected] Failed to exec postinstall script
73 info C:\Users\jonas.wiesel\Applications\CertificationEmber\node_modules\ember-cli-bootstrap unbuild
74 info preuninstall [email protected]
75 info uninstall [email protected]
76 verbose true,C:\Users\jonas.wiesel\Applications\CertificationEmber\node_modules,C:\Users\jonas.wiesel\Applications\CertificationEmber\node_modules unbuild [email protected]
77 info postuninstall [email protected]
78 error [email protected] postinstall: sh .setup.sh
78 error Exit status 1
79 error Failed at the [email protected] postinstall script.
79 error This is most likely a problem with the ember-cli-bootstrap package,
79 error not with npm itself.
79 error Tell the author that this fails on your system:
79 error sh .setup.sh
79 error You can get their info via:
79 error npm owner ls ember-cli-bootstrap
79 error There is likely additional logging output above.
80 error System Windows_NT 6.1.7601
81 error command "C:\Users\jonas.wiesel\Programs\Node\node.exe" "C:\Users\jonas.wiesel\Programs\Node\node_modules\npm\bin\npm-cli.js" "install" "--save-dev" "ember-cli-bootstrap"
82 error cwd C:\Users\jonas.wiesel\Applications\CertificationEmber
83 error node -v v0.10.30
84 error npm -v 1.4.9
85 error code ELIFECYCLE
86 verbose exit [ 1, true ]

Collapsible panels

Collapsible panels are part of bootstrap-for-ember but I don't believe they work with ember-cli-bootstrap because it requires the bootstrap JS. What do you think? Should that piece of bootstrap js be included by default? Or, should we add a section of the readme listing out which pieces of bootstrap-for-ember need the Bootstrap JS?

Release 0.0.13

I'm working on a Bootswatch addon that depends on the new importBootstrapFont option (so both addons play nice). However that and several other improvements are not released yet. It would be great if there was a release soon.. ;)

Attempting to register an unknown factory: `component:bs-modal`

Hey Dockyard, I'm trying to implement ember-cli-bootstrap into an existing ember-cli bower bootstrap project but am getting this error in the browser console:

TypeError: Attempting to register an unknown factory: `component:bs-modal`

This error stops the rest of the page from rendering. I've removed the bower version of bootstrap. A work around I found is to not specify bs-modal in EmberApp ember-cli-bootstrap components:, but I'm just wondering if I missed something?

I found this file which looks like it may have to do with it: https://github.com/ember-addons/bootstrap-for-ember/blob/master/app/scripts/components/BsModalComponent.coffee

I searched for any competing components in our app and didn't see any. Thanks for any guidance.

๐Ÿ˜ƒ

After install, ember build fails with "Cannot read property 'components' of undefined"

Now that ember-cli 0.0.42 was released, I'm trying to use ember-cli-bootstrap. But after npm install --save-dev ember-cli-bootstrap in the root of my project, the 'ember build' command now fails with the following error:

Cannot read property 'components' of undefined
TypeError: Cannot read property 'components' of undefined
at EmberCLIBootstrap.included (/home/jolson88/dev/project-lovelace/node_modules/ember-cli-bootstrap/index.js:35:32)
at EmberApp. (/home/jolson88/dev/project-lovelace/node_modules/ember-cli/lib/broccoli/ember-app.js:177:13)
at Array.forEach (native)
at EmberApp._notifyAddonIncluded (/home/jolson88/dev/project-lovelace/node_modules/ember-cli/lib/broccoli/ember-app.js:175:23)
at new EmberApp (/home/jolson88/dev/project-lovelace/node_modules/ember-cli/lib/broccoli/ember-app.js:157:8)
at Object. (/home/jolson88/dev/project-lovelace/Brocfile.js:5:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)

Could this be related to the change away from a "vendor/" directory in 0.0.41?

Adding to new CLI project creates compile errors

Added to a new CLI project

version: 0.2.0-beta.1
node: 0.12.0
npm: 2.1.8

and received this error in the console on startup:
Uncaught Error: Cannot call compilewithout the template compiler loaded. Please loadember-template-compiler.jsprior to callingcompile``

Tried this solution with no avail.

Had to remove it altogether to remove the errors.

Thanks for all the hard work you do!

bootstrap_for_ember is deprecated

Would be great to get rid of the dependency. Ideally this lib lets you import @bootstrap so you could customize variables first, too.

What do you think? If you agree on general direction I'd be happy to start helping.

How to import Bootstrap as module

I get errors like this

pods/foo/controller.js: line 88, col 7, 'Bootstrap' is not defined.

Not sure how to import the Bootstrap as a module in ember cli

import Bootstrap from '/vendor/bootstrap/dist/js/bootstrap';

Any pointers?

JavaScripts and Fonts

Awesome addon!
Am I right in seeing that this only imports the CSS from bootstrap and not the JavaScripts and Fonts?
Could the addon be easily modified to include those?

Error: watch ENOSPC

Appears after instalation on ember-CLI 0.1.3

version: 0.1.3
Could not find watchman, falling back to NodeWatcher for file system events
Livereload server on port 35729
Serving on http://0.0.0.0:4200/
watch ENOSPC
Error: watch ENOSPC
    at exports._errnoException (util.js:742:11)
    at FSWatcher.start (fs.js:1074:11)
    at Object.fs.watch (fs.js:1100:11)
    at NodeWatcher.watchdir (/home/akha/runtime/node_modules/ember-cli/node_modules/broccoli-sane-watcher/node_modules/sane/src/node_watcher.js:144:20)
    at new NodeWatcher (/home/akha/runtime/node_modules/ember-cli/node_modules/broccoli-sane-watcher/node_modules/sane/src/node_watcher.js:45:8)
    at new sane (/home/akha/runtime/node_modules/ember-cli/node_modules/broccoli-sane-watcher/node_modules/sane/index.js:13:12)
    at EventEmitter.Watcher_addWatchDir [as addWatchDir] (/home/akha/runtime/node_modules/ember-cli/node_modules/broccoli-sane-watcher/index.js:93:17)
    at /home/akha/runtime/node_modules/ember-cli/node_modules/broccoli/lib/builder.js:67:35
    at $$$internal$$tryCatch (/home/akha/runtime/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:470:16)
    at $$$internal$$invokeCallback (/home/akha/runtime/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:482:17)
fs.js:1074
    throw errnoException(err, 'watch');
          ^
Error: watch ENOSPC
    at exports._errnoException (util.js:742:11)
    at FSWatcher.start (fs.js:1074:11)
    at Object.fs.watch (fs.js:1100:11)
    at NodeWatcher.watchdir (/home/akha/runtime/node_modules/ember-cli/node_modules/broccoli-sane-watcher/node_modules/sane/src/node_watcher.js:144:20)
    at Walker.<anonymous> (/home/akha/runtime/node_modules/ember-cli/node_modules/broccoli-sane-watcher/node_modules/sane/src/node_watcher.js:351:12)
    at Walker.emit (events.js:110:17)
    at /home/akha/runtime/node_modules/ember-cli/node_modules/broccoli-sane-watcher/node_modules/sane/node_modules/walker/lib/walker.js:69:16
    at Object.oncomplete (fs.js:93:15)

"vendor/ember-cli-bootstrap/shim.js" did not match any files

On a fresh ember-cli app, installing ember-cli-bootstrap via npm install --save-dev ember-cli-bootstrap and setting 'importBootstrapJS': true in the Brocfile, ember s --live-reloard=false outputs the following:

(precise)mikeumus@localhost:~/Downloads/Mikeumus/projects/Kissagram/Development/miss-master$ ember s --live-reload=false
version: 0.1.3
Could not find watchman, falling back to NodeWatcher for file system events
Serving on http://0.0.0.0:4200/
Path or pattern "vendor/ember-cli-bootstrap/shim.js" did not match any files
Error: Path or pattern "vendor/ember-cli-bootstrap/shim.js" did not match any files
    at Object.multiGlob (/home/mikeumus/Downloads/Mikeumus/projects/Kissagram/Development/miss-master/node_modules/ember-cli/node_modules/broccoli-kitchen-sink-helpers/index.js:202:13)
    at /home/mikeumus/Downloads/Mikeumus/projects/Kissagram/Development/miss-master/node_modules/ember-cli/node_modules/broccoli-concat/index.js:62:32
    at $$$internal$$tryCatch (/home/mikeumus/Downloads/Mikeumus/projects/Kissagram/Development/miss-master/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:470:16)
    at $$$internal$$invokeCallback (/home/mikeumus/Downloads/Mikeumus/projects/Kissagram/Development/miss-master/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:482:17)
    at $$$internal$$publish (/home/mikeumus/Downloads/Mikeumus/projects/Kissagram/Development/miss-master/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:453:11)
    at $$rsvp$asap$$flush (/home/mikeumus/Downloads/Mikeumus/projects/Kissagram/Development/miss-master/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1531:9)
    at process._tickCallback (node.js:442:13)

This time the code is open. You may view it here: https://github.com/mikeumus/selfie

๐Ÿ˜ƒ

Update Bootstrap Dep Version

So this addon has Bootstrap version 3.1.1 as its dependency for Bower. Is there a reason it hasn't been updated to 3.2.0? Just wondering, before I submit a PR. I'll be playing with 3.2.0 in my app and will keep an eye out for issues.

Breaks when doing a production build

Maybe I'm doing something wrong like having ember-cli-bootstrap as a devDependency in package.json but if I do a ember serve --environment production the app complains that it cannot find a property on my controller called bs-modal. Obviously what's going on is that it's not bringing in the library that registers bs-modal as a component.

My Brocfile looks like...

var app = new EmberApp({
  'ember-cli-bootstrap': {
    'importBootstrapCSS': false
  }
});

Any thoughts?

Debugger statements in developer runtime

I'm pretty new to this, so I'm not sure where this exists. I can't find the source in this repo or in bootstrap_for_ember. When I installed the latest version (0.0.15) with ember-cli 0.1.6, my code goes to debugger when loading up my page for the first time. Looking through the installed source, there are "debugger" method calls inside of two JS files (app/helpers/test-breadcrumbs.js and app/initializers/test-breadcrumbs.js).

How are those being grabbed or generated? I am using a breadcrumb component in my app

<ol class="breadcrumb">
  <li>...</li>
</ol>

Warnings in windows in 0.0.12

I get this warnings in windows after updating from 0.0.5 to 0.0.12

C:\dev\meetup5>ember serve
version: 0.1.4
Could not find watchman, falling back to NodeWatcher for file system events
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\bootstrap\dist\css\bootstrap.css` into a s
ubdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\bootstrap\dist\css\bootstrap.css.map` into
 a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\css\bs-grow
l-notifications.min.css` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-core.
max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-alert
.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-alert
.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-badge
.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-badge
.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-basic
.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-basic
.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-bread
crumbs.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-bread
crumbs.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-butto
n.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-butto
n.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-core.
max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-core.
max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-growl
-notifications.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-growl
-notifications.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-items
-action-bar.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-items
-action-bar.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-label
.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-label
.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-list-
group.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-list-
group.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-modal
.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-modal
.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-nav.m
ax.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-nav.m
ax.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-notif
ications.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-notif
ications.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-popov
er.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-popov
er.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-progr
essbar.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-progr
essbar.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-wizar
d.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\ember-addons.bs_for_ember\dist\js\bs-wizar
d.max.js` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\bootstrap\dist\fonts\glyphicons-halflings-
regular.eot` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\bootstrap\dist\fonts\glyphicons-halflings-
regular.svg` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\bootstrap\dist\fonts\glyphicons-halflings-
regular.ttf` into a subdirectory.
Using `app.import` with a file in the root of `vendor/` causes a significant per
formance penalty. Please move `vendor\bootstrap\dist\fonts\glyphicons-halflings-
regular.woff` into a subdirectory.
Livereload server on port 35729
Serving on http://0.0.0.0:4200/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.