src/Cornford/Bootstrapper/Bootstrap.php
public function js($type = 'cdn', array $attributes = array())
	{
		switch($type)
		{
			case 'cdn':
				$return = $this->add('script', self::JS_JQUERY_CDN, $attributes) .
					$this->add('script', self::JS_BOOTSTRAP_CDN, $attributes) .
					$this->add('script', self::JS_MOMENT_CDN, $attributes) .
					$this->add('script', self::JS_DATETIME_CDN, $attributes);
				break;
			case 'local':
			default:
				$return = $this->add('script', asset(self::JS_JQUERY_LOCAL), $attributes) .
					$this->add('script', asset(self::JS_BOOTSTRAP_LOCAL), $attributes) .
					$this->add('script', asset(self::JS_MOMENT_LOCAL), $attributes) .
					$this->add('script', asset(self::JS_DATETIME_LOCAL), $attributes);
		}

		return $return;
	}
public function js($type = 'cdn', array $attributes = array())
	{
		switch($type)
		{
			case 'cdn':
				$return = $this->add('script', self::JS_JQUERY_CDN, $attributes) .
					$this->add('script', self::JS_BOOTSTRAP_CDN, $attributes) .
					$this->add('script', self::JS_MOMENT_CDN, $attributes) .
					$this->add('script', self::JS_DATETIME_CDN, $attributes);
				break;
			case 'local':
			default:
				$return = $this->add('script', asset(self::JS_JQUERY_LOCAL), $attributes) .
					$this->add('script', asset(self::JS_BOOTSTRAP_LOCAL), $attributes) .
					$this->add('script', asset(self::JS_MOMENT_LOCAL), $attributes) .
					$this->add('script', asset(self::JS_DATETIME_LOCAL), $attributes);
		}

		return $return;
	}
Include the Bootstrap CDN JS file. Include jQuery CDN / Local JS file.

@param string $type
@param array $attributes

@return string